mirror of
https://github.com/laramies/theHarvester.git
synced 2024-11-10 17:13:07 +08:00
Update theHarvester.py
Made it so ips arnen't duplicated.
This commit is contained in:
parent
1bf02717be
commit
7f5eef72e4
1 changed files with 1 additions and 1 deletions
|
@ -660,7 +660,7 @@ def start():
|
|||
else:
|
||||
print('\n[*] IPs found: ' + str(len(all_ip)))
|
||||
print('-------------------')
|
||||
ips = sorted(ipaddress.ip_address(line.strip()) for line in all_ip)
|
||||
ips = sorted(ipaddress.ip_address(line.strip()) for line in set(all_ip))
|
||||
print('\n'.join(map(str, ips)))
|
||||
|
||||
if len(all_emails) == 0:
|
||||
|
|
Loading…
Reference in a new issue