Skip to content

Commit

Permalink
readibility of 'is spoofable' text
Browse files Browse the repository at this point in the history
  • Loading branch information
TISSERAND Pacome committed Sep 5, 2023
1 parent fe46729 commit 362f6e4
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions libs/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@ def printer(domain, subdomain, dns_server, spf_record, spf_all, spf_includes, dm
if spoofable == 8:
output_bad("Spoofing not possible for " + domain)
else:
output_good("Spoofing possible for " + domain if spoofable == 0 else "Subdomain spoofing possible for " + domain if spoofable == 1 else "Organizational domain spoofing possible for " + domain if spoofable == 2 else "Spoofing might be possible for " + domain if spoofable == 3 else "Spoofing might be possible (Mailbox dependant) for " +
domain if spoofable == 4 else "Organizational domain spoofing may be possible for " + domain if spoofable == 5 else "Subdomain spoofing might be possible (Mailbox dependant) for " + domain if spoofable == 6 else "Subdomain spoofing might be possible (Mailbox dependant) for " + domain if spoofable == 7 else "")
output_good("Spoofing possible for " + domain
if spoofable == 0 else "Subdomain spoofing possible for " + domain
if spoofable == 1 else "Organizational domain spoofing possible for " + domain
if spoofable == 2 else "Spoofing might be possible for " + domain
if spoofable == 3 else "Spoofing might be possible (Mailbox dependant) for " + domain
if spoofable == 4 else "Organizational domain spoofing may be possible for " + domain
if spoofable == 5 else "Subdomain spoofing might be possible (Mailbox dependant) for " + domain
if spoofable == 6 else "Subdomain spoofing might be possible (Mailbox dependant) for " + domain
if spoofable == 7 else "")
print() # padding

0 comments on commit 362f6e4

Please sign in to comment.