![]() |
|
[Help] Piping Crunch with Hashcat - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45) +--- Forum: Blackhat • Red Team • Offensive Security (https://hackforums.net/forumdisplay.php?fid=447) +---- Forum: Cryptography, Encryption, and Decryption (https://hackforums.net/forumdisplay.php?fid=126) +---- Thread: [Help] Piping Crunch with Hashcat (/showthread.php?tid=4930349) |
[Help] Piping Crunch with Hashcat - LulSecurity - Jul 31, 2015 Hey guys I've been trying to Pipe Crunch to Hashcat for a while now, and nothing has worked I've used "crunch 1 3 ABC | Hashcat -m 0 -a 0 [file name]" I have also tried doing it in reverse, I've searched Google and haven't found anything useful. Any help would be appreciated :) * - Hydra. - Aug 1, 2015 Hashcat got an implement function called mask attack. Take a look at it here: http://hashcat.net/wiki/doku.php?id=mask_attack I think it will help you. * - LulSecurity - Aug 1, 2015 So if I was to insert: Code hashcat -m 500 -a 3 -1 a? /root/hashes/hash.txt --increment ?a?a?a?a?a?a? -o /root/Desktop/happy.txtWould this basically go through every combination (alpha-numeric) * - Hydra. - Aug 1, 2015 Code hashcat -m 500 -a 3 /root/hashes/hash.txt -i ?a?a?a?a?a?a -o /root/Desktop/happy.txtMix-Alpha-Numeric-Symbol from 1 to 6 digits. You can specify the charset: ?l = abcdefghijklmnopqrstuvwxyz ?u = ABCDEFGHIJKLMNOPQRSTUVWXYZ ?d = 0123456789 ?s = !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~ ?a = ?l?u?d?s * - LulSecurity - Aug 1, 2015 Alright, But would using Code -1 ?aCode --custom-charset1=?l?u?d?s* - Hydra. - Aug 1, 2015 (Aug 1, 2015 09:39 AM)LulSecurity Wrote: Alright, But would using yes. You can use custom charsets if you want to bruteforce upper, lower and numbers (?u?l?d) without the symbols. Then you use the custom charset "-1 ?u?l?d" and use the mask ?1?1?1?1?1?1 You can read everything about maskattack and charsets here: http://hashcat.net/wiki/doku.php?id=mask_attack * - LulSecurity - Aug 1, 2015 Thank you for all the help you've offered 😁👍 I have one last question. What would be the fast way to crack a hash? Since I don't want to wait 12 hours to crack a hash :P but if there isn't any other way I have no problem waiting. * - LSDoom - Aug 1, 2015 (Aug 1, 2015 10:33 AM)LulSecurity Wrote: Thank you for all the help you've offered 😁👍 Fastest way is a straight dictionary attack, unless you know the exact layout. If you know the password layout you can use a mask to get it. After that dictionary attacks with rules, then just use more advanced rules as the simple ones fail. Then mask attacks with common masks and finally a straight brute-force attack. A straight brute-force attack will most likely take a very long time depending on your rig and password length, but you will be able to crack any password that ever existed (In theory). It might take 1 billion years, but it is going to crack at some point. |