MD5 substring - Printable Version +- hashcat Forum (https://hashcat.net/forum) +-- Forum: Misc (https://hashcat.net/forum/forum-15.html) +--- Forum: General Talk (https://hashcat.net/forum/forum-33.html) +--- Thread: MD5 substring (/thread-6191.html) |
MD5 substring - Diapa - 01-08-2017 I got a list of ~1300 hashes along with unique salts. The passwords are hashed using Code: substr(md5(salt + pass), 0, 13) My questions are 1. That thread I linked is a couple years old. Is this possible in hashcat now in 2017? 2. Can I add some kind extension to hashcat to make it possible? 3. Can someone help me write a program for this? Or tell me how to optimize it. 4. Will it ever be added? Any ETA? RE: MD5 substring - epixoip - 01-08-2017 You can use http://strcpy.io/md5substr.c (and adapt for your needs) but 13 is a lot. RE: MD5 substring - Diapa - 01-08-2017 Ehmm... How am I supposed to run it? I tried to copy it into a blank C file in Visual Studio but it didn't compile. cannot open source file "pthread.h" Line 39 cannot open source file "unistd.h" Line 36 expected a ';' Line 226, 227, 228, 232, 233, 448 and 492 expected an expression Line 492 expression must have integral type Line 198 all the way to 213 And some more. Am I supposed to do this from command-line or somthing? It's C, right? RE: MD5 substring - Diapa - 01-08-2017 (01-08-2017, 11:11 PM)Diapa Wrote: Ehmm... How am I supposed to run it? I tried to copy it into a blank C file in Visual Studio but it didn't compile. Or maybe it's C++? Looks like it's C from the extension http://strcpy.io/md5substr.c RE: MD5 substring - Diapa - 01-08-2017 I'm getting about the same errors in C++ too. RE: MD5 substring - royce - 01-08-2017 It's C. Try compiling it on a Linux system. RE: MD5 substring - royce - 01-09-2017 Note also the compilation instructions that are in the source code itself: cc -o md5substr md5substr.c -march=native -O3 -funroll-loops -fomit-frame-pointer -pthread RE: MD5 substring - Diapa - 01-09-2017 (01-09-2017, 12:14 AM)royce Wrote: Note also the compilation instructions that are in the source code itself: OK that works! Thank you I compiled it in linux successfully, but is it possible to get it running in Windows? My main machine is only Windows. RE: MD5 substring - royce - 01-09-2017 Probably possible, but I have no experience in that area. Someone else may be able to chime in. RE: MD5 substring - epixoip - 01-09-2017 I have no experience compiling in Visual Studio, but you could always install Cygwin. Or maybe edit the headers as appropriate and compile with mingw. |