Posts: 2,936
Threads: 12
Joined: May 2012
12-06-2015, 10:42 PM
(This post was last modified: 12-06-2015, 10:44 PM by epixoip.)
Normally I'd be all like "THREAD NECRO" and ban you for posting on a thread that's almost 3 years old, but since it's kind of my fault that you did so, I can't really get mad.
I'm not entirely sure if this is the "final" version of this program or not, but it should probably mostly work.
http://strcpy.io/md5substr.c
Edit: Just read that you're actually looking for substr(md5($pass),12,20) so this program won't work as-is, but I trust you can modify it to suit your needs.
Posts: 47
Threads: 15
Joined: Dec 2013
Sorry hadn't noticed the age of the original thread and didn't want to double post about something that has been covered (long time ago right enough) already.
Thanks for posting your programme.
(12-06-2015, 10:42 PM)epixoip Wrote: Normally I'd be all like "THREAD NECRO" and ban you for posting on a thread that's almost 3 years old, but since it's kind of my fault that you did so, I can't really get mad.
I'm not entirely sure if this is the "final" version of this program or not, but it should probably mostly work.
http://strcpy.io/md5substr.c
Edit: Just read that you're actually looking for substr(md5($pass),12,20) so this program won't work as-is, but I trust you can modify it to suit your needs.
Posts: 2,936
Threads: 12
Joined: May 2012
Ok, I updated the code at the link above to search for strings of any length at any position in an md5 hash. Although I don't really think a 20-char collision will be found with this program, it's really more suited to substrs 1-9 chars in length. To go beyond that you'd really need to add wordlist support or something.
This functionality is requested fairly often so I may just go ahead and add it to hashcat-cli.