B0lg0r0v / Elyzer

Elyzer is an email header analyzer, written in python, capable of detecting potential spoofing attempts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suggestions: Fix .py header and update Spoofing exception to catch all the possible dnspython errors.

0CM opened this issue · comments

commented

#!python3

-- coding: utf-8 --

line 429:
except (dns.resolver.LifetimeTimeout, dns.resolver.NoAnswer,dns.resolver.NXDOMAIN,dns.resolver.YXDOMAIN,dns.resolver.NoNameservers):
print(f'{Fore.LIGHTRED_EX}Could not resolve the MX Record.{Fore.RESET}')

Nice tool!

Hi, thank you for pointing that out ! I just extended the exception.

Glad you liked the tool !