mirror of
https://github.com/laramies/theHarvester.git
synced 2025-02-24 22:42:56 +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:
|
else:
|
||||||
print('\n[*] IPs found: ' + str(len(all_ip)))
|
print('\n[*] IPs found: ' + str(len(all_ip)))
|
||||||
print('-------------------')
|
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)))
|
print('\n'.join(map(str, ips)))
|
||||||
|
|
||||||
if len(all_emails) == 0:
|
if len(all_emails) == 0:
|
||||||
|
|
Loading…
Reference in a new issue