chg: [hosts] filter onion

dev
terrtia 2024-01-09 14:31:55 +01:00
parent bdaa4c51c9
commit d6d67f6a4c
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 2 additions and 1 deletions

View File

@ -60,6 +60,7 @@ class Hosts(AbstractModule):
print(f'{len(hosts)} host {item.get_id()}')
for host in hosts:
# print(host)
if not host.endswith('.onion'):
self.add_message_to_queue(message=str(host), queue='Host')