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

app azure_email_checker

使用Rust编写的工具,用于列出Azure/Office 365租户的有效电子邮件地址

1 个不稳定版本

0.1.1 2024年2月20日

#104 in 电子邮件

GPL-3.0-only

27KB
151 代码行

AzureEmailChecker

使用Rust编写的工具,用于列出Azure/Office 365租户的有效电子邮件地址。

它是多线程的,不进行连接尝试

它支持验证单个电子邮件地址或文件中的电子邮件列表,并且可以选择将有效结果保存到输出文件。

用法

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

先决条件

安装

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

编译

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

致谢

  • 技术最初由grimhacker发现,并在以下博客中描述
  • o365creeper 是推动这个Rust改进的Python2.7工具

依赖关系

~10–24MB
~369K SLoC