mdelatorre icon

Wordlists: Get & Config

mdelatorre | PRO | 07/26/17 07:53:29 PM UTC | 0 ⭐ | 596 👁️ | Never ⏰ | []
Bash |

1.29 KB

|

None

|

0 👍

/

0 👎

Wordlist: Get & Config
----------------------------------------------------------------------
# Requirements
+ Kali Linux
+ hashcat
+ hashcat-utils - /usr/share/hashcat-utils
+ John the Ripper [JtR]
+ moreutils package (sponge, len,pee, parallel, combine, etc.)
 
# Get Rockyou wordlist
$ wget http://<URL>/rockyouwithcount.txt.bz2
$ bunzip2 -k rockyouwithcount.txt.bz2
$ dos2unix -f rockyouwithcount.txt
 
# Sort out 8 bit chars (TABS, high ASCII)
$ ./req-exclude.bin 16 < rockyouwithcount.txt | sponge rockyouwithcount.txt
 
# Remove duplicates.
$ sort -s 8 rockyouwithcount.txt | uniq -u | sponge rockyouwithcount.txt
 
# Randomly sort it, because original list is sorted alphabetically
$ sort -R rockyouwithcount.txt | sponge rockyouwithcount.txt
 
# Remove the counter
$ cut -b9- < rockyouwithcount.txt | sponge rockyouwithcount.txt
 
# Remove words that are "too small || long". ( >=3, <=10 ) 
$ ./len.bin 3 10 < rockyouwithcount.txt | sponge rockyouwithcount.txt
 
# Remove user "mutations". No SYMBOLs (8) and no DIGITs (4)
$ ./req-exclude.bin 8 < rockyouwithcount.txt | sponge rockyouwithcount.txt
$ ./req-exclude.bin 4 < rockyouwithcount.txt | sponge rockyouwithcount.txt
 
# Convert UPPERCASE mutations
tr '[:upper:]' '[:lower:]' < rockyouwithcount.txt | sponge rockyouwithcount.txt

Comments