From 9c7606bb65d0b1a53e058ed306689dfe464988bf Mon Sep 17 00:00:00 2001 From: z-alami <89426041+z-alami@users.noreply.github.com> Date: Wed, 27 Jul 2022 17:16:54 +0000 Subject: [PATCH] Update ipGeo.py --- ipGeo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipGeo.py b/ipGeo.py index 0dbc1d6..b16a39f 100644 --- a/ipGeo.py +++ b/ipGeo.py @@ -27,7 +27,7 @@ def ips_list(ips): for ip in ips : if ip not in ips_lists and ipaddress.ip_address(ip).is_global: ips_lists.append(ip) - elif ip not in aborted_ips and '192.168.' in ip: + elif ip not in aborted_ips and ipaddress.ip_address(ip).is_private: aborted_ips.append(ip) for ip in aborted_ips: print(Fore.YELLOW + "[!] Remove " + Fore.RED + ip + Fore.YELLOW + ' From Scanning')