Unification of dnstwist + SQLite + Email reporting. Set it as a cron job that runs every hour, give it a list of domains and email addresses for reporting, then watch it go find stuff.
Aside from a little refactoring, the feature included is an optional command-line arg to core.py. I was using a throwaway gmail account for SMTP and finding that my alert emails were rejected by the gmail server because they included references to known-bad domains. The workaround is simply to replace the period in domains and ip addresses with “[.]” in the alert email.
Testing: Wiped out the list of found domains and ran core.py. Received email as expected. Confirmed that the email looks fine. Test environment: MacOS VM.
This PR builds on the env-vars-config PR (https://github.com/0xd34db33f/gfyp/pull/4).
Aside from a little refactoring, the feature included is an optional command-line arg to core.py. I was using a throwaway gmail account for SMTP and finding that my alert emails were rejected by the gmail server because they included references to known-bad domains. The workaround is simply to replace the period in domains and ip addresses with “[.]” in the alert email.
Testing: Wiped out the list of found domains and ran core.py. Received email as expected. Confirmed that the email looks fine. Test environment: MacOS VM.