����
One Hat Cyber Team
One Hat Cyber Team
Your IP :
18.117.232.238
Server IP :
104.21.64.1
Server :
Linux in-mum-web1337.main-hosting.eu 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
Server Software :
LiteSpeed
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
luarocks
/
rocks-5.3
/
lua-geoip
/
0.2-1
/
doc
/
View File Name :
README.md
lua-geoip — bindings for MaxMind GeoIP library ============================================== See the copyright information in the file named `COPYRIGHT`. ## API * `require 'geoip'` ### Enums #### DB types * `geoip.COUNTRY` * `geoip.COUNTRY_V6` * `geoip.REGION_REV0` * `geoip.REGION_REV1` * `geoip.REGION` = `geoip.REGION_REV1` * `geoip.CITY_REV0` * `geoip.CITY_REV1` * `geoip.CITY` = `geoip.CITY_REV1` * `geoip.ORG` * `geoip.ISP` * `geoip.PROXY` * `geoip.ASNUM` * `geoip.NETSPEED` * `geoip.DOMAIN` #### Open flags * `geoip.STANDARD` * `geoip.MEMORY_CACHE` * `geoip.CHECK_CACHE` * `geoip.INDEX_CACHE` * `geoip.MMAP_CACHE` #### Charsets * `geoip.ISO_8859_1` * `geoip.UTF8` TODO: Document further. Meanwhile, see tests. ## Where to get stuff? ### On Debian / Ubuntu Using PPA: MaxMind provides a PPA for recent version of Ubuntu. To add the PPA to your APT sources, run: $ sudo add-apt-repository ppa:maxmind/ppa $ sudo apt-get update Then install the packages by running: $ sudo apt-get install geoip-database # GeoLite Country only $ sudo apt-get install libgeoip-dev ### Raw $ wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz $ wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz ### C library http://www.maxmind.com/app/c