Advertisement
Guest User

Wordlist

a guest
Jan 19th, 2017
2,720
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.00 KB | None | 0 0
  1. pyClean: Python way to clean up large dictionaries.
  2. pyClean: Python way to clean up large password dictionaries.
  3.  
  4. I created pyClean.py to help me manage the 800+ Gigabytes of password dictionaries I have collected and obtain by cracking password hashes. Lot of the passwords were password!@# password123, 1@3password4@%, etc. Same base word just with numbers and special characters at the beginning and end of each word. Not only does this take a lot of disk space its also very inefficient. Hashcat using rules can add numbers and special characters a lot more efficient and with better results. Now adding them in the middle and randomly through out the word can be harder. Rules do exist for this but I am leaving that part alone.
  5.  
  6. So how do you use pyClean.py?
  7.  
  8. You need to have at least python 2.7.x I think I programmed it right to support python 3 but haven’t tested it.
  9.  
  10. user@host$: git clone https://github.com/initiate6/pyClean.git
  11.  
  12. user@host$: cd pyClean/
  13.  
  14. user@host$: python pyClean.py -h
  15.  
  16. pyClean.py by INIT_6
  17. Cleans large dictionaries removing configured chars via regex.
  18. For more information check out my blog: https://blog.init6.me/?p=63
  19.  
  20. –help Prints this help
  21. –file File containing words you want to clean up. 1 word per line
  22. –threads Number of processors
  23. –output Output filename. Default: input file name plus .out
  24. –lines Lines per chuck to read Default [10000]
  25. –startRegex Regex to remove at start of line. Default [^[\d|\W]+]
  26. –endRegex Regex to remove at end of line. Default [[\d|\W]+$]
  27.  
  28. Pretty self explanatory. Only required item is file. Threads default is the number of CPU cores. output default just adds .out to the end of the input file name. Lines default is 10,000 lines per chunk. However, this is just an approximate number, actual lines will differ greatly depending on the input file. It will always go to end of line and fill the buffer. startRegex and endRegex is so you can customize what is stripped out of the words. Default is numbers and special chars at beginning and end of each word.
  29.  
  30. List dictionaries I can remember.
  31.  
  32. Pretty much everything from here: https://wiki.skullsecurity.org/Passwords
  33. crackStation
  34. recent 10-million username/password release
  35. 95% of linkedin passwords I cracked with a team I was on.
  36. All passwords I have cracked from crackmeifyoucan contest over the years.
  37. Many others update when I remember.
  38. Additional notes:
  39.  
  40. My built in de-duper isn’t very good it only removes dups per chuck I process. It also removes any words less than 3char. Its better then nothing but if you really want to get the job done use the following sort foo.
  41.  
  42. user@host$ LC_ALL=C sort –parallel=8 -f -u -S 30G -T /passwords/tmp/ -o SortedAllPasswords.wl allPasswords.wl
  43.  
  44. LC_ALL=C is to make sure the sorting order is based on the byte values. More info here: http://unix.stackexchange.com/a/87763
  45.  
  46. –parallel to add parallel support typically just the amount of CPU cores you have.
  47.  
  48. -f to ignore-case. Again hashcat is better at toggling the case.
  49.  
  50. -u unique. To remove duplicates
  51.  
  52. -S buffer-size. SIZE may be followed by the following multiplicative suffixes: % 1% of memory, b 1, K 1024 (default), and so on for M, G, T
  53.  
  54. -T Temporary-directory. My default temp directory is small so I have to relocate it.
  55.  
  56. -o output file name
  57.  
  58. Last item is the input file name
  59.  
  60. Went from 1TB to 500GB. Compressed 103GB.
  61.  
  62. After everything was cleaned up, I organized the passwords by charter length. This helps in the cracking process as 8 - 12 char passwords are the most common. So using the 6 to 12 char password files with hashcat rules to expand and contract the base words you have pretty good coverage.
  63.  
  64. Note, these list are mostly good for wide net, first pass on a password dumps. After you get more information about the dump its good to use a targeted word list.
  65.  
  66. Torrent: https://box.init6.me/data/public/2042a9
  67.  
  68. I’ll be collecting more and more passwords and sort through them. If you have any list you would like to share please let me know at init6@init6.me
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement