Skip to content

Instantly share code, notes, and snippets.

@nullenc0de
Created August 15, 2022 18:58
Show Gist options
  • Save nullenc0de/d1c2c91540311f5dc8efc3047733e952 to your computer and use it in GitHub Desktop.
Save nullenc0de/d1c2c91540311f5dc8efc3047733e952 to your computer and use it in GitHub Desktop.
sanitized a list of emails.
wget https://raw.githubusercontent.com/papyrussolution/OpenPapyrus/master/Src/PPTEST/DATA/email-list.txt
wget https://gist.githubusercontent.com/ammarshah/f5c2624d767f91a7cbdc4e54db8dd0bf/raw/660fd949eba09c0b86574d9d3aa0f2137161fc7c/all_email_provider_domains.txt
wget https://gist.githubusercontent.com/nullenc0de/ff70efbb787ff534b661c809ed3c7f4e/raw/3fa93551c016e8cf8b0b9f51ff21c1c4af5a82e1/validate.py
wget https://github.com/reacherhq/check-if-email-exists/releases/download/v0.9.0/check_if_email_exists-x86_64-unknown-linux-gnu.tar.gz
tar -xf check_if_email_exists-x86_64-unknown-linux-gnu.tar.gz
cat email-list.txt |grep -vif all_email_provider_domains.txt | while read email; do ./check_if_email_exists $email | python3 /tmp/valid.py ;done |tee live_campaign.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment