Skip to content

emenmousavi/reverseiplookup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Reverse IP Lookup Tool

Overview

This Python script performs a reverse IP lookup, providing valuable information such as hostname, ISP (Internet Service Provider), Reverse DNS details, and Country information. It leverages both the socket module for basic reverse lookup and the "ipinfo.io" API for additional data.

Features

  • Reverse IP Lookup: Get the associated hostname for a given IP address.
  • Additional Information: Retrieve ISP, Reverse DNS, and Country details.
  • Error Handling: Gracefully handles errors for a smooth user experience.

Prerequisites

  • Python 3.x
  • Required Python libraries: requests

Installation

  1. Clone the repository:

    git clone https://github.com/emenmousavi/reverseiplookup
  2. Install dependencies:

    pip install -r requirements.txt

Usage

  1. Navigate to the project directory:

    cd reverse-ip-lookup
  2. Run the script:

    python reverse_ip_lookup.py
  3. Enter the IP address when prompted.

Example

Enter an IP address: 8.8.8.8