Skip to content

Commit c1ea6f6

Browse files
authored
Merge pull request #33 from SUNET/master
Upgraded to new version of certstream
2 parents 226ede9 + d6b0296 commit c1ea6f6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

catch_phishing.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121

2222
from confusables import unconfuse
2323

24+
certstream_url = 'wss://certstream.calidog.io'
25+
2426
log_suspicious = 'suspicious_domains.log'
2527

2628
pbar = tqdm.tqdm(desc='certificate_update', unit='cert')
@@ -129,4 +131,4 @@ def callback(message, context):
129131

130132

131133
if __name__ == '__main__':
132-
certstream.listen_for_events(callback)
134+
certstream.listen_for_events(callback, url=certstream_url)

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
termcolor==1.1.0
2-
certstream==1.8
2+
certstream==1.10
33
entropy==0.10
44
tqdm==4.19.4
55
tld==0.7.9

0 commit comments

Comments
 (0)