HMAC-SHA1 with an MD5 key
#5
I created my custom kernel (only with -a 3, single hash mode) and added it to hashcat (interface.c, interface.h, ...). So now I can call it with -m 151. 
I started with kernel 150 as a base and wanted to add the MD5 STEP the same way kernel 4700  (sha1(md5($pass))) did it. 
Compilation is OK but I can't crack a simple hash with 'test' as key. It seems after hard time debugging that the MD5 is not generated correctly. He re is the code: https://pastebin.com/M8Kbiz61 (all my debugging code is commented)

I took a look at kernel 0 code but it's using a different algorithm to generate MD5 (MD5_STEP_REV ?).

Can you help me with the MD5 generation on my kernel please ?

Thank you for your time


Messages In This Thread
HMAC-SHA1 with an MD5 key - by johnbrizard51 - 10-01-2017, 04:22 AM
RE: HMAC-SHA1 with an MD5 key - by atom - 10-01-2017, 11:55 AM
RE: HMAC-SHA1 with an MD5 key - by johnbrizard51 - 10-01-2017, 04:30 PM
RE: HMAC-SHA1 with an MD5 key - by atom - 10-01-2017, 07:03 PM
RE: HMAC-SHA1 with an MD5 key - by johnbrizard51 - 10-03-2017, 07:14 PM