项目作者: nyxgeek

项目描述 :
tools for analyzing strings from password lists
高级语言: Shell
项目地址: git://github.com/nyxgeek/dumpsniffer.git
创建时间: 2017-09-23T21:17:17Z
项目社区:https://github.com/nyxgeek/dumpsniffer

开源协议:

下载


dumpsniffer

tools for analyzing strings from password lists

image of dog sniffing

quickstart / setup

  1. git clone https://github.com/nyxgeek/dumpsniffer.git
  2. cd dumpsniffer;chmod +x *.sh
  3. ./getcleanwordlist.sh

this will download cracked passwords from Troy Hunt’s public dump, via hashes.org (The wordlist source file can be changed in ./dumpsniff.conf)

once a wordlist is in place:

  1. ./popcon.sh baseball basketball football

or

  1. ./viewresults.sh hacktheplanet

overview

  • this project is meant to look at one password dump (or any text file) at a time.
  • If you want to start again, just rename the ./db folder to something else.
  • There is a dumpsniff.conf file that contains the path to the password dump to be searched.

The search results are stored in their raw form under the following directory structures:

  1. ./db/
  2. ./db/a/
  3. ./db/a/aardvark.out.txt
  4. ./db/a/awesome.out.txt
  5. ./db/b/bitcoin.out.txt
  6. ./db/c/computer.out.txt
  7. ...

Using the filesystem to hold data was chosen over a traditional db because this allows the easy viewing and editing of the results. This allows you to manually parse and remove false-positive results using tools like ‘grep’.


derbycon 7.0 talk info

The DerbyCon 7.0 (2017) slide deck can be found here:
https://github.com/nyxgeek/dumpsniffer/raw/master/DerbyCon_Files/DerbyCon7.0_100MillionSecrets.pdf

The video can be found here:
http://www.irongeek.com/i.php?page=videos/derbycon7/s31-statistics-on-100-million-secrets-a-look-at-recent-password-dumps-nyxgeek

(youtube here: https://www.youtube.com/watch?v=DHpbEl27sdQ )

Resources listed in slide deck can be found here:
https://github.com/nyxgeek/dumpsniffer/blob/master/DerbyCon_Files/resources.md


where to find passwords in plaintext:

https://hashes.org/public.php

Check out the ‘found’ column.

You can automagically download and clean the Troy Hunt dump using the included script ‘getcleanwordlist.sh’

  1. ./getcleanwordlist.sh

Please consider donating to hashes.org

I’m not affiliated with them in any way, don’t know them, but they’re an awesome resource. You can find the donation link at the bottom of this page:

https://hashes.org/index.php


file list & usage

popcon.sh

Popularity Contest: compare popularity of keywords or phrases

note: if a word is already in the db, it won’t be searched again

  1. usage:
  2. ./popcon.sh hacking hacker hacked
  3. Search complete:
  4. 19993, hacker
  5. 2805, hacked
  6. 1799, hacking

viewresults.sh

show top 50 most-popular variations on a keyword

note: if word has not been searched for yet, will prompt to search

  1. usage:
  2. ./viewresults.sh hacking
  3. 1066 hacking
  4. 61 hackingme
  5. 16 hackings
  6. 12 hackingyou
  7. 12 hackingisfun
  8. 10 hackingmaster
  9. 10 hackingm
  10. 8 hackinghaters
  11. 8 hackingaccount
  12. 7 hackingis
  13. ...

createregex.sh

  1. usage:
  2. ./createregex.sh file.txt > file.regex
  3. Read line "testing":
  4. [tT+7][eE3][sS$5][tT+7][iI1!|][nN][gG69]

give this script a file with one word/phrase per line and it will convert output it as leetspeak regex

This can then be used with grep in the following manner:

  1. grep -E -f file.regex file_to_search.txt

getcleanwordlist.sh

  1. usage:
  2. ./getcleanwordlist.sh

That’s it. It downloads and cleans the wordlist a little (trims lines longer than 24 char and removes non-ASCII).

DerbyCon_Files folder

DerbyCon_7.0_100_Million_Secrets.pdf

PDF of slide deck

cleverbrute_create.sh

script to turn a wordlist into two wordlists to be used in CLEVERBRUTE attack method

  1. usage:
  2. ./cleverbrute_create.sh wordlist.txt
  3. Making HEAD file... file written to /current/path/HEAD.out - Total lines: 21
  4. Making TAIL file... file written to /current/path/TAIL.out - Total lines: 24
  5. Example (first 5 lines):
  6. HEAD.out TAIL.out
  7. -------- --------
  8. 1234 !!!!
  9. 12345 !!!!n
  10. 123456 !!!!ni
  11. Spri !710
  12. Sprin !7102
resources.md

This is a list of the URLs/resources listed in the slide deck


thanks!

thanks for all the feedback! also special thanks to whoever it was at DerbyCon that recommended the dog icon after my talk.

@nyxgeek