Logo

dev-resources.site

for different kinds of informations.

🌍 GeoIP Lookup Tool: Easily Get Geolocation Information of Any IP Address.

Published at
12/4/2024
Categories
python
programming
infosec
opensource
Author
trixsec
Author
7 person written this
trixsec
open
🌍 GeoIP Lookup Tool: Easily Get Geolocation Information of Any IP Address.

Author: Trix Cyrus

Waymap Pentesting tool: Click Here
TrixSec Github: Click Here
TrixSec Telegram: Click Here
GeoIP Tool Click Here


πŸš€ Key Features

  • Instant Geolocation Info: Get details such as country, city, continent, timezone, and more for any IP address.
  • Beautiful Output: Clean, colorful, and bold terminal output that makes the data easy to read.
  • No API Key Required: Fetch data without worrying about API rate limits or requiring a key.
  • Random X-Forwarded Header: The tool sends a randomized X-Forwarded header, making it more dynamic.
  • Cross-Platform: Works seamlessly on any machine with Python installed.

⚑ Installation

1. Install Dependencies

You’ll need to install Python 3 and the requests and termcolor libraries. You can install them using pip:

pip install requests termcolor
Enter fullscreen mode Exit fullscreen mode

2. Download the Script

Clone or download the script from my GitHub repository:

git clone https://github.com/TrixSec/GeoIP.git
cd GeoIP
Enter fullscreen mode Exit fullscreen mode

3. Run the Script

To fetch the geolocation information for an IP address, use the following command:

python geoip.py --ip <IP_ADDRESS>
Enter fullscreen mode Exit fullscreen mode

Replace <IP_ADDRESS> with the IP address you want to look up.


Test Run

Image description


πŸ’¬ Let me know in the comments what other features you'd like to see or if you have any questions.


Happy Coding!

~Trixsec

infosec Article's
30 articles in total
Favicon
Amass API - REST API Solution for Domain Reconnaissance
Favicon
How to Integrate and Configure Zabbix for Monitoring IT Infrastructure
Favicon
What Does an Incredible Web Application Firewall Look Like?
Favicon
Why a Web Hosting Provider Needs SafeLine WAF
Favicon
Mastering Information Gathering -A foundation
Favicon
TECNO SRC Security Vulnerability Submission Function Survey
Favicon
Some handy notes for GCP pentesting
Favicon
Don't Risk It: Implement Zero Trust Security Today for Ultimate Protection
Favicon
What Does a Cyber Security Analyst Do?
Favicon
🌍 GeoIP Lookup Tool: Easily Get Geolocation Information of Any IP Address.
Favicon
How to Configure and Get Source IP in SafeLine WAF
Favicon
What is CDR?
Favicon
Phishing And Malware - A Practical Dive
Favicon
Cybersecurity Basics: A Beginner's Guide
Favicon
Easy CTF - Uma breve jornada de exploração com base no modelo OSI
Favicon
Sennovate is Now Among the Top 180 MSSPs in the World!
Favicon
Whats Information Security?
Favicon
# Exploring the Risks of RFID WiFi Tags: Copying and Emulating with a Flipper zero
Favicon
What are ITDR in cyber security?
Favicon
Unified Kill Chain
Favicon
API Security: Threats, Tools, and Best Practices
Favicon
Supply Chain Risk Management Strategy with Sennovate
Favicon
Secure Data Stack: Navigating Adoption Challenges of Data Encryption
Favicon
How Does WAF Prevent OS Command Injection Attacks
Favicon
How Does WAF Prevent XSS Attacks
Favicon
Top 5 Website Data Leakage Events 2024
Favicon
Why You Need to Protect Your Website and How
Favicon
Data Security Strategy Beyond Access Control: Data Encryption
Favicon
American Water Spaniel: Breed Facts and Training Tips
Favicon
Why the Crowdstrike Incident is NOT Solely Crowdstrike’s Fault

Featured ones: