mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-23 06:37:15 +00:00
chg: [hosts] filter onion
This commit is contained in:
parent
bdaa4c51c9
commit
d6d67f6a4c
1 changed files with 2 additions and 1 deletions
|
@ -60,6 +60,7 @@ 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)
|
||||||
|
if not host.endswith('.onion'):
|
||||||
self.add_message_to_queue(message=str(host), queue='Host')
|
self.add_message_to_queue(message=str(host), queue='Host')
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue