mirror of https://github.com/CIRCL/AIL-framework
fix: [Mails] remove print + test
parent
0a525f369e
commit
4d318643ce
12
bin/Mail.py
12
bin/Mail.py
|
@ -137,8 +137,7 @@ if __name__ == "__main__":
|
|||
email_regex = "[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}"
|
||||
|
||||
while True:
|
||||
#message = p.get_from_set()
|
||||
message = 'archive/pastebin.com_pro/2020/02/07/Fnz1wUim.gz 3'
|
||||
message = p.get_from_set()
|
||||
|
||||
if message is not None:
|
||||
item_id, score = message.split()
|
||||
|
@ -174,11 +173,7 @@ if __name__ == "__main__":
|
|||
|
||||
## TODO: add MAIL trackers
|
||||
|
||||
print(all_emails)
|
||||
print()
|
||||
|
||||
valid_mx = check_mx_record(set_mxdomains, dns_server)
|
||||
print(valid_mx)
|
||||
|
||||
num_valid_email = 0
|
||||
for domain_mx in valid_mx:
|
||||
|
@ -210,10 +205,5 @@ if __name__ == "__main__":
|
|||
else:
|
||||
publisher.info(msg)
|
||||
|
||||
time.sleep(30)
|
||||
|
||||
|
||||
|
||||
|
||||
else:
|
||||
time.sleep(10)
|
||||
|
|
Loading…
Reference in New Issue