From 008749100b5ffe1f41189f7baec2749ae189185d Mon Sep 17 00:00:00 2001 From: Francesco Pavanello Date: Fri, 13 Jan 2023 17:11:07 +0100 Subject: [PATCH] Update __main__.py --- theHarvester/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theHarvester/__main__.py b/theHarvester/__main__.py index efbd0ac9..0c5bd25e 100644 --- a/theHarvester/__main__.py +++ b/theHarvester/__main__.py @@ -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