Update ipGeo.py

main
z-alami 2022-07-27 17:16:54 +00:00 committed by GitHub
parent f7d76c8ca1
commit 9c7606bb65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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')