diff --git a/recon/core/module.py b/recon/core/module.py index 7222b9bf..73d19220 100644 --- a/recon/core/module.py +++ b/recon/core/module.py @@ -111,7 +111,7 @@ def html_escape(self, s): def cidr_to_list(self, string): import ipaddress - return [str(ip) for ip in ipaddress.ip_network(string)] + return [str(ip).strip() for ip in ipaddress.ip_network(string)] def hosts_to_domains(self, hosts, exclusions=[]): domains = []