mirror of
https://github.com/laramies/theHarvester.git
synced 2024-09-20 23:37:00 +08:00
Update __main__.py
This commit is contained in:
parent
b5cf80d73d
commit
008749100b
|
@ -568,7 +568,7 @@ async def handler(lst):
|
|||
# use netaddr as the list may contain ipv4 and ipv6 addresses
|
||||
ip_list = []
|
||||
for ip in set(all_ip):
|
||||
try:
|
||||
try:
|
||||
ip_list.append(netaddr.IPAddress(ip.strip()))
|
||||
except Exception:
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue