Skip to content

Commit

Permalink
Merge pull request #56 from fmcato/master
Browse files Browse the repository at this point in the history
Adapt to changes in the certstream message format
  • Loading branch information
x0rz committed Dec 8, 2020
2 parents 267a597 + 823cc8b commit 089208e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catch_phishing.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def callback(message, context):
score = score_domain(domain.lower())

# If issued from a free CA = more suspicious
if "Let's Encrypt" in message['data']['chain'][0]['subject']['aggregated']:
if "Let's Encrypt" == message['data']['leaf_cert']['issuer']['O']:
score += 10

if score >= 100:
Expand Down

0 comments on commit 089208e

Please sign in to comment.