# Given a string queryIP, return "IPv4" if IP is a valid IPv4 address, "IPv6" if IP is a valid IPv6 address or # "Neither" if IP is not a correct IP of any type. # A valid IPv4 address is an IP in the ...
A small Flask-based web app to look up geolocation and other basic information for an IP address. This repository provides a simple UI, an API-backed lookup utility in utils/ip_lookup.py, and tests to ...
The Python standard library ipaddress also suffers from the critical IP address validation vulnerability identical to the flaw that was reported in the "netmask" library earlier this year. The ...