mirror of https://github.com/CIRCL/AIL-framework
chg: [hosts] filter onion
parent
bdaa4c51c9
commit
d6d67f6a4c
|
@ -60,7 +60,8 @@ class Hosts(AbstractModule):
|
||||||
print(f'{len(hosts)} host {item.get_id()}')
|
print(f'{len(hosts)} host {item.get_id()}')
|
||||||
for host in hosts:
|
for host in hosts:
|
||||||
# print(host)
|
# print(host)
|
||||||
self.add_message_to_queue(message=str(host), queue='Host')
|
if not host.endswith('.onion'):
|
||||||
|
self.add_message_to_queue(message=str(host), queue='Host')
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in New Issue