2022-06-19 16:16:00
OSIPs
This script scans every file from a given folder recursively, extracts every IPv4 and IPv6 address, filters out the public IP addresses and then queries these IPs against TOR relays, WhoIs service and Location service.
It outputs 4 files: a CSV file and a JSON file with all details of the IP addresses, a CSV file containing an index of every found IP address and a KML file with all the locations gathered.
Features:
Parses any number of files in a single run
Can also be run for a single input file
Extracts all unique valid IPv4 and IPv6 addresses (correctly comparing two addresses, even if they are written differently)
Collects publicly available Who Is information for all public IP addresses
Queries all public IP addresses against TOR relays
Collects geographical location information for all public IP addresses
Can be run with command line parameters in non-interactive mode for easy integration in other scripts
Can be run without parameters and the input values can be provided interactively
Allows user to select what steps to perform or exclude
Verbosely outputs information to console at every step that it performs
Exports all IP addresses details in both a CSV file and a JSON file
Exports a KML file that can be easily loaded on top of a map
Keeps an index of all found IP addresses in a separate CSV file for easy traceback
https://github.com/ciprianster/OSIPs
229 views13:16