This script provides detailed information about an IP address by retrieving data from two sources:
- Check-host.net for general IP information.
- Proxycheck.io to determine if the IP address is residential and provide detailed data about the provider, ASN, and more.
- Fetches detailed information about an IP address, including ASN, provider, continent, country, region, city, and more.
- Provides residential check of the IP address, determining if it's a proxy or VPN.
- Easy-to-use command-line interface with two options:
- IP Info: Get general IP information.
- IP Residential Check: Check if the IP address is residential and gather additional details.
Before running the script, ensure you have the following installed:
- Python 3.9+
- Required Python packages:
requests
(for sending HTTP requests)beautifulsoup4
(for parsing HTML responses)
You can install the necessary Python packages by running:
pip install requests beautifulsoup4
-
Clone the repository:
git clone https://github.com/noarche/IP cd IP
-
Install the necessary dependencies: Run the following command to install the required Python packages:
pip install -r requirements.txt
Or install manually as mentioned in the Requirements section.
-
Run the script: Start the script by running:
python3 ip.py 127.0.0.1
The script will display detailed information about the IP address, including its location, ASN, provider, and whether it is a proxy or VPN.
- python ip.py -1 127.0.0.1: Fetches general IP data from Check-host.net, including location, ASN, and ISP.
- python ip.py 127.0.0.1: Uses Proxycheck.io to determine if the IP is residential, including the provider, ASN, and other details like city, region, and timezone.
- Requests - A simple HTTP library for Python.
- BeautifulSoup4 - A Python library for parsing HTML and XML documents.
To install the required packages, run:
pip install requests beautifulsoup4
This project is licensed under the MIT License - see the LICENSE file for details.
Bitcoin address bc1qnpjpacyl9sff6r4kfmn7c227ty9g50suhr0y9j
Ethereum address 0x94FcBab18E4c0b2FAf5050c0c11E056893134266
Litecoin address ltc1qu7ze2hlnkh440k37nrm4nhpv2dre7fl8xu0egx
This script has been updated and customized to my personal preferance, a fork of the original by devURANIUM