注册
登录
ELK
>>
geolitelegacy-lookup
>>
返回
项目作者:
scullxbones
项目描述 :
GeoIP import / query tool using legacy maxmind country databases
高级语言:
Python
项目主页:
项目地址:
git://github.com/scullxbones/geolitelegacy-lookup.git
创建时间:
2018-02-26T21:50:25Z
项目社区:
https://github.com/scullxbones/geolitelegacy-lookup
开源协议:
Apache License 2.0
下载
GeoIP import / query tool using sqlite & python 2.x
https://dev.maxmind.com/geoip/legacy/csv/
for more details on format
Expects database matching format of: MaxMind GeoIPLite (Legacy) Country CSV database
Requires:
pip install -r requirements.txt (virtualenv or not)
wget
http://geolite.maxmind.com/download/geoip/database/GeoIPCountryCSV.zip
unzip downloaded file
run import.py with argument of downloaded filename, generates or refreshes (drop/recreate) database
run query.py with argument of IP address and matching row is splatted out