IPinfoga
IPinfoga is an OSINT tool that dumps available IP address information such as location with country, city, and latitude with longitude.
Features
- Dumps geolocation data like country, city, and coordinates.
- Optimized to dump information for multiple IP addresses at one time.
- Simple CLI and API usage.
Installation
pip3 install git+https://github.com/EntySec/IPinfoga
Basic usage
To use IPinfoga just type ipinfoga
in your terminal.
usage: ipinfoga [-h] [-t] [-o OUTPUT] [-i INPUT] [-a ADDRESS]
IPinfoga is an OSINT tool that dumps all available IP address information such
as location with country, city, and latitude with longitude.
optional arguments:
-h, --help show this help message and exit
-t, --threads Use threads for fastest work.
-o OUTPUT, --output OUTPUT
Output result to file.
-i INPUT, --input INPUT
Input file of addresses.
-a ADDRESS, --address ADDRESS
Single address.
Examples
Scanning single address
Let's scan google DNS address just for fun.
ipinfoga -a 8.8.8.8
Scanning addresses from input file
Let's try to use opened database of addresses with -t
for fast scanning.
ipinfoga -t -i addresses.txt -o results.txt
NOTE: It will scan all addresses in addresses.txt
list and save all obtained results to results.txt
.
API usage
IPinfoga also has their own Python API that can be invoked by importing IPinfoga to your code.
from ipinfoga import IPinfoga
Basic functions
There are all IPinfoga basic functions that can be used to scan specified address.
scan(address)
- Scan single IP address.
Examples
Scanning single address
from ipinfoga import IPinfoga
ipinfoga = IPinfoga()
data = ipinfoga.scan('8.8.8.8')
for field in data:
print(field, data[field])