mdelatorre

Wordlists: Get & Config

Jul 26th, 2017
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.29 KB | None | 0 0
  1. Wordlist: Get & Config
  2. ----------------------------------------------------------------------
  3. # Requirements
  4. + Kali Linux
  5. + hashcat
  6. + hashcat-utils - /usr/share/hashcat-utils
  7. + John the Ripper [JtR]
  8. + moreutils package (sponge, len,pee, parallel, combine, etc.)
  9.  
  10. # Get Rockyou wordlist
  11. $ wget http://<URL>/rockyouwithcount.txt.bz2
  12. $ bunzip2 -k rockyouwithcount.txt.bz2
  13. $ dos2unix -f rockyouwithcount.txt
  14.  
  15. # Sort out 8 bit chars (TABS, high ASCII)
  16. $ ./req-exclude.bin 16 < rockyouwithcount.txt | sponge rockyouwithcount.txt
  17.  
  18. # Remove duplicates.
  19. $ sort -s 8 rockyouwithcount.txt | uniq -u | sponge rockyouwithcount.txt
  20.  
  21. # Randomly sort it, because original list is sorted alphabetically
  22. $ sort -R rockyouwithcount.txt | sponge rockyouwithcount.txt
  23.  
  24. # Remove the counter
  25. $ cut -b9- < rockyouwithcount.txt | sponge rockyouwithcount.txt
  26.  
  27. # Remove words that are "too small || long". ( >=3, <=10 )
  28. $ ./len.bin 3 10 < rockyouwithcount.txt | sponge rockyouwithcount.txt
  29.  
  30. # Remove user "mutations". No SYMBOLs (8) and no DIGITs (4)
  31. $ ./req-exclude.bin 8 < rockyouwithcount.txt | sponge rockyouwithcount.txt
  32. $ ./req-exclude.bin 4 < rockyouwithcount.txt | sponge rockyouwithcount.txt
  33.  
  34. # Convert UPPERCASE mutations
  35. tr '[:upper:]' '[:lower:]' < rockyouwithcount.txt | sponge rockyouwithcount.txt
Add Comment
Please, Sign In to add comment