You're reading from Password Cracking with Kali Linux
Combining Two Wordlists
-a1 Combination Attacks - You can easily combine two wordlists using the -a1 command. This command will take every word from one list and combine it with every word from the second list. This is useful when users string together multiple words or strings in their passwords.
➢ hashcat -m 0 [Uncracked.txt] -o [Cracked.txt] -a1 wordlist1 wordlist2 -O
Creates words like:
catdog
dogcat
Hashcat also gives you the capability to add a single character at the end or middle of a combined wordlist. You can do this with the “-j” or “-k” switches. This allows you to do things like combine wordlists while putting a space (or any single character) in between each word. You can do this using the “-j” switch:
➢ hashcat -m 0 [Uncracked.txt] -o [Cracked.txt] -j$" " -a1 wordlist1 wordlist2 -O
This creates words like:
cat dog
dog cat
Combine wordlists with a “...
The rest of the page is locked
You have been reading a chapter from
Password Cracking with Kali LinuxPublished in: Feb 2024Publisher: PacktISBN-13: 9781835888544
© 2024 Packt Publishing Limited All Rights Reserved