Skip to content

fbogner/dirtyiplocate

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

dirtyiplocate

A small script for quick and dirty bulk IP geolocation Built on top of GeoLite2 (https://pypi.org/project/geoip2/)

  • Input: List of IPs
  • Output: CSV file with geolocation data for each input IP

Usage

dirtyiplocate.py [-h] --ips ips.txt --output location.csv [--append]

optional arguments:
-h, --help show this help message and exit. --ips ips.txt A text file containing one IP per line to geolocate.
--output location.csv The output csv file containing the IP location data. Existing data will be overwritten.
--append Append to the output file instead of overwriting.

About

A small script for quick and dirty bulk IP geolocation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages