#valid #tenant #validation #file #attempt #azure-office

app azure_email_checker

Tool written in Rust to enumerate the valid email addresses of an Azure/Office 365 Tenant

1 unstable release

0.1.1 Feb 20, 2024

#194 in Email

GPL-3.0-only

27KB
151 lines

AzureEmailChecker

Tool written in Rust to enumerate the valid email addresses of an Azure/Office 365 Tenant.

It is mutil threaded and makes no connection attempts.

It supports validation of a single email address or a list of emails from a file, with the option of saving valid results in an output file.

usage

Usage: azure_email_checker [OPTIONS]

Options:
  -e, --email <EMAIL>    Email address to be validated
  -f, --file <FILE>      File containing email addresses to be validated, one per line
  -o, --output <OUTPUT>  Output file for valid addresses
  -v, --verbose          Enables 'VALID' and 'INVALID' results to be displayed in the terminal
  -c, --csv <CSV>        Output CSV file for valid addresses with incremental ID
  -h, --help             Print help
  -V, --version          Print version

Examples:
  ./azure_email_checker -e emailalonetocheck@domain.com -v
  ./azure_email_checker -f emails.txt -o validemails.txt
  ./azure_email_checker -f emails.txt -c validemails.csv

prerequisites

installation

cargo install --git https://github.com/boringthegod/AzureEmailChecker.git --branch master azure_email_checker

compile

Linux:

cargo build --release

Windows:

sudo apt update && sudo apt install mingw-w64
rustup target add x86_64-pc-windows-gnu
rustup toolchain install stable-x86_64-pc-windows-gnu
cargo build --release --target x86_64-pc-windows-gnu

credits

  • Technique originally discovered by grimhacker and described on this blog
  • o365creeper the python2.7 tool that motivated this Rust renovation

Dependencies

~11–24MB
~340K SLoC