05-12-2017, 09:26 AM
(05-12-2017, 09:17 AM)philsmd Wrote: If you are sure that the algorithm is:
md5_hex(md5($salt) . md5_hex($pass))
... where md5 (x) is the binary/raw output and md5_hex (y) is the hexadecimal output...
then it should work.
just try it either with hashcat or try to use the same credentials (username: "PWn3R", password: "hashcat") with your code to see if you end up with the same final MD5
Sorry I should've been more clear it's definitely binary value of md5 of user and a separate binary value of md5 of pass concatenated and then md5 and written as a hex string. If I md5 any of them in hex I get a completely different string. I will double check tomorrow but my working code was hex output of the md5 result of separate md5s of username and password concatenated as byte arrays.
String in file is hex of md5(binarymd5value(user)binarymd5value(pass)) I can upload code tomorrow if that is helpful but will also test what you suggested.
Thanks again!