{"action":"closed","issue":{"url":"https://api.github.com/repos/roxas75/rxTools/issues/277","labels_url":"https://api.github.com/repos/roxas75/rxTools/issues/277/labels{/name}","comments_url":"https://api.github.com/repos/roxas75/rxTools/issues/277/comments","events_url":"https://api.github.com/repos/roxas75/rxTools/issues/277/events","html_url":"https://github.com/roxas75/rxTools/issues/277","id":114141341,"number":277,"title":"Console messed up?","user":{"login":"Syphurith","id":8421531,"avatar_url":"https://avatars.githubusercontent.com/u/8421531?v=3","gravatar_id":"","url":"https://api.github.com/users/Syphurith","html_url":"https://github.com/Syphurith","followers_url":"https://api.github.com/users/Syphurith/followers","following_url":"https://api.github.com/users/Syphurith/following{/other_user}","gists_url":"https://api.github.com/users/Syphurith/gists{/gist_id}","starred_url":"https://api.github.com/users/Syphurith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Syphurith/subscriptions","organizations_url":"https://api.github.com/users/Syphurith/orgs","repos_url":"https://api.github.com/users/Syphurith/repos","events_url":"https://api.github.com/users/Syphurith/events{/privacy}","received_events_url":"https://api.github.com/users/Syphurith/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/roxas75/rxTools/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-29T20:41:55Z","updated_at":"2015-11-04T05:51:53Z","closed_at":"2015-11-04T05:51:53Z","body":"I tested some special fbi_inject and encountered wrong hashes. However what i can see from rxTools at that time is just a \"Wrong Hash!\" and many lines of hash bytes.\r\n```C\r\nwchar_t sprint_sha256_char(char val) {\r\n\tif (val < 10) return val + L'0';\r\n\telse return val - 10 + L'A';\r\n}\r\nvoid sprint_sha256(wchar_t *str, unsigned char hash[32]) {\r\n\tuint32_t i=0;\r\n\tfor (i=0;i<32;i++) {\r\n\t\tif ((i)&&((i%8)==0)) {*str = L'\\n'; str ++;}\r\n\t\t*str = sprint_sha256_char(hash[i]>> 4); str ++;\r\n\t\t*str = sprint_sha256_char(hash[i]&0xF); str ++;\r\n\t}\r\n}\r\n```\r\nUsed the above content to check against the original function, simply built a native test for my laptop, above shows well however original broke. *Still can not craft a special fbi_inject.app..*\r\n\r\n\r\n"}}