Skip to content

Latest commit

 

History

History
20 lines (19 loc) · 1.01 KB

README.md

File metadata and controls

20 lines (19 loc) · 1.01 KB

IPData

  • Simple Python script to get details about a hostname or IP address
  • This project is inspired by This article on null-byte
  • You can use:
    • IPv4 Addresses
    • IPv6 Addresses
    • Hostnames

Dependencies

  1. pygeoip
  2. Virtualenv

Install instructions

  1. Clone the repo: git clone https://github.com/fkinaro/IPData.git
  2. Run python3 -m virtualenv IPData
  3. Change to the project directory: cd IPData
  4. Download the database wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
  5. Decompress the archive: gzip -d GeoLiteCity.dat.gz
  6. Run source bin/activate to activate your virtual environment.
  7. Set the script as executable: chmod +x app.py
  8. Execute the script: ./app.py