Skip to main content

Geo locator OFFICAL version

Project description

Nash-NetGeoScanner

Nash-NetGeoScanner is a Python-based tool that combines network scanning using nmap with IP geolocation retrieval. It allows you to scan networks and obtain geographical information about IP addresses.

Features

  • Network Scanning: Perform network scans using nmap. The tool scans a given website link for open ports and other network-related information.
  • IP Geolocation: Retrieve the geographical location of an IP address using an external API. The tool returns information such as city, region, country, latitude, and longitude.

Functions

  • sanitize_input: Cleans and formats the input string to ensure it is in a suitable format for further processing.
  • Nmap: Scans a website link after sanitizing it, using nmap to gather network information.
  • get_location: Queries an external API to retrieve geographical data for a given IP address.

Usage

  1. Clone the repository:
    git clone https://github.com/yourusername/Nash-NetGeoScanner.git
    python nash_netgeoscanner.py
    

Enter the website link and IP address when prompted to perform the scan and retrieve location data.

Important Notes

Security: Running nmap with elevated permissions (sudo) based on user input can be potentially dangerous. Ensure proper input sanitization and only scan networks/IP addresses you have permission to scan. API Key Management: Keep your API key secure. Avoid hard-coding it in the script; use environment variables or a secure vault instead.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nash_geo_scanner-1.1.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Nash_Geo_Scanner-1.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file nash_geo_scanner-1.1.0.tar.gz.

File metadata

  • Download URL: nash_geo_scanner-1.1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.9

File hashes

Hashes for nash_geo_scanner-1.1.0.tar.gz
Algorithm Hash digest
SHA256 fc3c2095c4d8636b8c88c8fde0ddfca70de4a0109412b9862d9405becda01b21
MD5 ec2e166ef2550e42d4def20361ffac0c
BLAKE2b-256 911c39991e883395d07b2e1a2a647b538add7c83796641cb13e6d5be5e876437

See more details on using hashes here.

File details

Details for the file Nash_Geo_Scanner-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for Nash_Geo_Scanner-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 902277849c4b73233e0fd03689a6aba03dda7af38d609e0d00d480825ccf918e
MD5 d7ba3d1ae1944eb32a7dfcdbcc2b4743
BLAKE2b-256 f241f1d1830c1ee8ec5c855a5811267c573cbaea7b79c34bae7aac739ec37407

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page