Breach Sabre, fast local email breach search.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
nsaspy 40256defcf uses full path for files 4 months ago
bin fixed json lines not adding newline 4 months ago
.gitignore added gitignore 4 months ago
LICENSE.txt added LICENSE 4 months ago
README.md Update 'README.md' 4 months ago
banner.txt added banner 4 months ago
breach_saber.py Added Different search modes 4 months ago
parser.sh uses full path for files 4 months ago
uploader.sh inital poc, moved from unseen-code 4 months ago

README.md

Breach Sabre

Fast local breach search. Indexes and builds db based on email:pass lists.

USAGE

index_sqlite

takes leak and indexes to sqlite3

example: index_sqlite3.py -i leak.txt -d leak.db -s 1500

-f Input file -d database to output to -s number of lines to write before comit to db. -i index the database

usage: index_sqlite.py [-h] [-d DATABASE] [-f INPUT_FILE] [-s SIZE] [-v]

breach_sabre

Searches Database/Elastic search

usage: breach_saber.py [-h] [-s SQL] [-n NUMBER] [-e EMAIL] [-p PASSWORD] [-f FUZZY] [-d DOMAIN]

optional arguments:

-h, --help show this help message and exit

-s SQL, --sql SQL db to connect to

-n NUMBER, --number NUMBER (number of results to fetch)

-e EMAIL, --email EMAIL (email to search)

-p PASSWORD, --password PASSWORD (password to search)

-f FUZZY, --fuzzy FUZZY (fuzzy search)

-d DOMAIN, --domain DOMAIN (domain to search)

indeax_leak

takes leaks index to ElasticSearch.

usage: index_leak.py [-h] -e ES_HOST -i INDEX -s INDEX_SETTINGS -f FILE_IN [-j] [-r] [-c]

optional arguments: -h, --help show this help message and exit

-e ES_HOST, --es_host ES_HOST (ElasticSearch host

-i INDEX, --index INDEX (Index to store data in)

-s INDEX_SETTINGS, --index_settings INDEX_SETTINGS (file conating settings)

-f FILE_IN, --file_in FILE_IN (File to index)

-j, --ndjson read Ndjson format

-r, --raw Read raw email:pass and index it

-c, --csv Read csv file and index it

masker

Takes a raw email:pass and puts it into difrent formats

usage: masker.py [-h] [-i IN_FILE] [-o OUT] [-b BAD_OUT] [-j] [-c] [-m]

optional arguments: -h, --help show this help message and exit

-i IN_FILE, --in_file IN_FILE (File to import)

-o OUT, --out OUT File output

-b BAD_OUT, --bad_out BAD_OUT (File to place bad lines in)

-j, --json Parse file to json

-c, --csv Parse file to csv

-m, --masker Genrate Password masks