diff --git a/theHarvester.py b/theHarvester.py index f2205a5d..951e347a 100755 --- a/theHarvester.py +++ b/theHarvester.py @@ -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: