Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

[Help] Piping Crunch with Hashcat

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 :)
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.
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.txt

Would this basically go through every combination (alpha-numeric)
Code
hashcat -m 500 -a 3 /root/hashes/hash.txt -i ?a?a?a?a?a?a -o /root/Desktop/happy.txt

Mix-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
Alright, But would using
Code
-1 ?a
be the same as using
Code
--custom-charset1=?l?u?d?s
(Aug 1, 2015 09:39 AM)LulSecurity Wrote:  Alright, But would using
Code
-1 ?a
be the same as using
Code
--custom-charset1=?l?u?d?s

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
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.
(Aug 1, 2015 10:33 AM)LulSecurity Wrote:  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.

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.

[Image: x8KB36H.gif]



Possibly Related Threads...
Thread / Author Replies Views Last Post
by shinzoMar 10, 2025 08:18 AM 1 153 Mar 10, 2025 08:18 AM
Last Post: Bastille
by OpSecSurvivalApr 29, 2024 09:24 AM 7 211 Apr 29, 2024 09:24 AM
Last Post: InspectorGadget
by SIM-5186353Mar 12, 2024 08:36 AM 4 172 Mar 12, 2024 08:36 AM
Last Post: nigaman