Skip to content

Targeting Basics

ktx edited this page Jan 1, 2020 · 8 revisions

h8mail was initially developed to target emails, as the name suggests.
Many features have since been added, making h8mail's targeting scope very large.

h8mail can now also look for usernames, IPs, hashs, re-used passwords and even domain names.
Furthermore, h8mail can parse local files and remote URLs to find emails.

Targeting basics

h8mail is very flexible with finding emails. Since h8mail uses regular expressions to catch emails, you can target documents or html pages. h8mail will efficiently look for email patterns to target.

CLI

  • The simplest way to target an email is with -t:
> h8mail -t [email protected]
  • You can add multiple targets in a single run:

Files and folders

  • You can tell h8mail to look for emails in files:
> h8mail -t my_targets.txt more_targets.html
  • And even folders. This includes globing (*):
> h8mail -t crawled_website/ 
> h8mail -t data_dump/*.sql data_dump/*.html

URLs

h8mail can search for email patterns in web pages, and automatically target them. h8mail can target URLs from the command line directly, or from files and folders, with one URL per line.
Such as:

> h8mail -u evilcorp.com/contacts
> h8mail -u my_extracted_urls.txt
Clone this wiki locally