mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +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,7 +60,8 @@ class Hosts(AbstractModule):
|
|||
print(f'{len(hosts)} host {item.get_id()}')
|
||||
for host in hosts:
|
||||
# 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__':
|
||||
|
|
Loading…
Reference in a new issue