Skip to content

Commit

Permalink
chg: [hosts] filter onion
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Jan 9, 2024
1 parent bdaa4c5 commit d6d67f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/modules/Hosts.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ def compute(self, message):
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__':
Expand Down

0 comments on commit d6d67f6

Please sign in to comment.