Code Monkey home page Code Monkey logo

h8mail's Introduction

๐Ÿ“ญ h8mail

travis

Email OSINT and password finder.
Use h8mail to find passwords through different breach and reconnaissance services, or the infamous "Breach Compilation" torrent.
Early release, feedback and pull requests are welcomed โค๏ธ

๐ŸŠ Features

  • ๐Ÿ”Ž Email pattern matching (reg exp), useful for all those raw HTML files
  • ๐Ÿณ Small and fast Alpine Dockerfile available
  • โœ… CLI or Bulk file-reading for targeting
  • ๐Ÿ“ Output to CSV file
  • โžฟ Reverse DNS + Open Ports
  • ๐Ÿ‘ฎ CloudFlare rate throttling avoidance
    • Execution flow remains synchronous and throttled according to API usage guidelines written by service providers
  • ๐Ÿ”ฅ Query and group results from different breach service providers
  • ๐Ÿ”ฅ Query a local copy of the "Breach Compilation"
  • ๐Ÿ”ฅ Get related emails
  • ๐ŸŒˆ Delicious colors

Demos

๐Ÿ”“ Out of the box

1

๐Ÿš€ With API services

2

๐Ÿ’ฝ With the BreachedCompilation torrent

3

APIs

Service Functions Status
HaveIBeenPwned Number of email breachs โœ…
Shodan Reverse DNS, Open ports โœ…
Hunter.io - Public Number of related emails โœ…
Hunter.io - Service (free tier) Cleartext related emails โœ…
WeLeakInfo - Public Number of search-able breach results ๐Ÿ›ƒ
WeLeakInfo - Service Cleartext passwords, hashs and salts ๐Ÿ”œ
Snusbase - Service Cleartext passwords, hashs and salts - Fast โšก โœ…

๐ŸŠ Install

If you're using Docker, make sure to add your targets.txt and your API keys in the configuration file before building

Locally

NodeJS is required to ensure CloudFlare bypassing. You can find out how to install it for your distribution here

These instructions assume you are running Python3 as default. If unsure, please check the troubleshooting section

apt-get install nodejs
git clone https://github.com/khast3x/h8mail.git
cd h8mail
pip install -r requirements.txt
python h8mail.py -h

Docker

git clone https://github.com/khast3x/h8mail.git
cd h8mail
docker build -t h8mail .
docker run -ti h8mail -h

๐ŸŠ Usage

> python h8mail.py --help
usage: h8mail.py [-h] -t TARGET_EMAILS [-c CONFIG_FILE] [-o OUTPUT_FILE]
                 [-bc BC_PATH] [-v] [-l] [-k CLI_APIKEYS]

Email information and password finding tool

optional arguments:
  -h, --help            show this help message and exit
  -t TARGET_EMAILS, --targets TARGET_EMAILS
                        Either single email, or file (one email per line).
                        REGEXP
  -c CONFIG_FILE, --config CONFIG_FILE
                        Configuration file for API keys
  -o OUTPUT_FILE, --output OUTPUT_FILE
                        File to write output
  -bc BC_PATH, --breachcomp BC_PATH
                        Path to the breachcompilation Torrent.
                        https://ghostbin.com/paste/2cbdn
  -v, --verbose         Show debug information
  -l, --local           Run local actions only
  -k CLI_APIKEYS, --apikey CLI_APIKEYS
                        Pass config options. Format is "K:V,K:V"

๐ŸŠ Usage examples

Query for a single target
python h8mail.py -t [email protected]
Query for list of targets, indicate config file for API keys, output to pwned_targets.csv
python h8mail.py -t targets.txt -c config.ini -o pwned_targets.csv
Query a list of targets against local copy of the Breach Compilation, pass API keys for Snusbase from the command line
python h8mail.py -t targets.txt -bc ../Downloads/BreachCompilation/ -k "snusbase_url:$snusbase_url,snusbase_token:$snusbase_token"
Query without making API calls against local copy of the Breach Compilation
python h8mail.py -t targets.txt -bc ../Downloads/BreachCompilation/ --local

๐ŸŠ Troubleshooting

Python version & Kali

The above instructions assume you are running python3 as default. If unsure, type:

python --version

in your terminal. It should be either Python 3.* or Python 2.*.

If you are running python2 as default :
Make sure you have python3 installed, then replace python commands with explicit python3 calls:

apt-get install nodejs
git clone https://github.com/khast3x/h8mail.git
cd h8mail
pip3 install -r requirements.txt
python3 h8mail.py -h

๐ŸŠ Notes & Links

  • Service providers that wish being integrated can send me an email at k at khast3x dot club (Protonmail encryption friendly)
  • Special thanks to Snusbase for being developer friendly
  • Special thanks to kodykinzie for making a nice introduction and walktrough article and video on installing and using h8mail

h8mail's People

Contributors

khast3x avatar

Stargazers

 avatar Dwiki Kusuma avatar

Watchers

Open Sec avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.