++=============++ || MD5 cracker || ++=============++ Disclaimer ========== How you decide to use this application is up to you and I will take no reponsibility for your actions. Description: ============ This tool can be used for cracking raw-MD5 hashes via dictionary or brute-force attack. You ask wtf is raw-MD5? Raw-MD5 is MD5 hash with no salt. Motivation: =========== Why just another MD5 cracker? Reason is simple. I use MD5 cracker rarely, but when I decide to use some utility I demand its maximum speed. The fastest (not only) MD5 cracker I know is john (the ripper). This utility is ultra fast but I wanted utility that is yet more effective. So I deciced to code my own utility to be faster than mighy john. Oh, how naive I was... Comparsion with john: ===================== Testing hash file contained two hashes, testing wordlist had about 60 000 words but only one - the last one - was real password for root user. My tool was compiled with these flags: -O3 -march=core2 -mtune=core2 There is output of comparsion: $ time john --format=raw-MD5 --wordlist=words3.txt hash.txt Loaded 2 password hashes with no different salts (Raw MD5 [raw-md5]) admin (root) guesses: 1 time: 0:00:00:00 100% c/s: 564536 trying: real 0m0.114s user 0m0.077s sys 0m0.007s $ time ./md5crack -f hash.txt -w words3.txt root:admin real 0m0.956s user 0m0.750s sys 0m0.017s As you can see john is almost 9x faster than my lousy tool. Respect to skilled john programmers... Compilation =========== Just use attached Makefile. Program was tested on Arch Linux (kernel 2.6.28) with GCC 4.3.3. Usage: ====== Program has several arguments: md5crack -f hashFile [-w wordlist] [-d] [-h] -f This option specifies file with hashes. File have to be in this format: username:raw-md5hash username2:raw-md5hash2 ... -w This option specifies wordlist. If omitted stdin is used for reading words. -d If this optin is used, program will print debug information to stdout. -h This option prints help. Example of usage: ================= $ time ./md5crack -f hash.txt -w words3.txt root:admin pepa:wtf License: ======== This heap of bytes is released under GNU GPL license Author: ======= Stoyan, 2009