Skip to content

hackerattack99/ip-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” IP Information Gathering Tool


πŸš€ Overview

IP Information Gathering Tool is a powerful and efficient script that helps you retrieve detailed information about an IP address using multiple sources. It gathers:

πŸ”Ή Geolocation Data – City, Region, Country
πŸ”Ή Hostname Lookup – Resolves the hostname of the IP
πŸ”Ή WHOIS Information – Fetches domain/IP registration details
πŸ”Ή DNS Records – Retrieves associated DNS records
πŸ”Ή Traceroute Analysis – Maps the route taken by packets to the IP


🎯 Usage

Run the script interactively:

./ip_info_tool.sh

Or provide an IP address directly:

./ip_info_tool.sh 8.8.8.8

Example Output:

πŸ” Gathering information for IP: 8.8.8.8
πŸ“‘ Hostname: dns.google

🌍 Geolocation:
    {
      "ip": "8.8.8.8",
      "city": "Mountain View",
      "region": "California",
      "country": "US"
    }
...

✨ Features

βœ… Fetches IP details from multiple reliable sources
βœ… Validates IP address input to prevent errors
βœ… Automatically checks for required dependencies
βœ… Supports both interactive and command-line modes
βœ… Provides a well-structured, easy-to-read output


πŸ“¦ Installation

1️⃣ Install Required Dependencies

Ensure your system has the necessary tools installed:

  • πŸ–§ host
  • 🌍 curl
  • πŸ“œ whois
  • πŸ”— dig
  • πŸ›€ traceroute

On Debian-based systems, install missing dependencies:

sudo apt update && sudo apt install dnsutils whois curl traceroute -y

For macOS (Homebrew):

brew install dnsutils whois curl traceroute

2️⃣ Make the Script Executable

chmod +x ip_info_tool.sh

⚠️ Legal Disclaimer

πŸ›‘ This tool is for educational and ethical research purposes only. Unauthorized use may violate legal regulations. Use responsibly!


πŸ“’ Contributions & Issues

Got an idea for improvement? Found a bug? Feel free to open an issue or submit a pull request! Let’s build something awesome together! πŸš€


πŸ“œ License

This project is open-source under the MIT License.


πŸ‘¨β€πŸ’» Author

Developed with ❀️ by Yash

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages