• Your shopping cart is empty!
FREE

IP2Location Nmap Script

The IP2Location Nmap Script provides a fast lookup of country, region, city, latitude, longitude, ZIP code, time zone, ISP, domain name, connection type, IDD code, area code, weather station code, station name, mcc, mnc, mobile brand, elevation, and usage type from IP address by using IP2Location database with IP2Location Lua Package.

Note: This script is only supporting the IPV4 IP address at the moment. The IPV6 IP address will be supported in future.

Pre-requisites

Installation
  1. Follow the steps in the README.MD in the GitHub repository.
  2. Get the geolocation information as simple as using the following command: nmap --script ip-geolocation-ip2location <target> --script-args ip-geolocation-ip2location.ip2location_db=<database_path> Replace the <target> with the IP address and the <database_path> with the file path of the database.

    Note: Windows user need to replace the single backslash(\) with the double backslashes (\\) in the file path to make sure that the file path is interpreted correctly by Nmap.
  3. Screenshot of the output: