Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/l4rm4nd/reconizer

Python3 script to resolve hostnames to IP addresses and query Shodan's free InternetDB for ports and CVEs as well as ipinfo.com for IP details
https://github.com/l4rm4nd/reconizer

Last synced: 5 days ago
JSON representation

Python3 script to resolve hostnames to IP addresses and query Shodan's free InternetDB for ports and CVEs as well as ipinfo.com for IP details

Awesome Lists containing this project

README

        

# Reconizer
Python3 script to resolve hostnames to IP addresses and query Shodan's free InternetDB for ports and CVEs. Furthermore, ipinfo.com is queried for detailed IP information such as ASN, organization (hoster), city, region and country.

## Installation
````
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
````

## How to run

````
usage: reconizer.py [-h] --hostfile --ipinfo-token

optional arguments:
-h, --help show this help message and exit
--hostfile A txt file with hosts per newline
--ipinfo-token API token for ipinfo.com
````

## Example run
````
python3 reconizer.py --hostfile /home/Desktop/hosts.txt --ipinfo-token
````

## Example results
````
[~] DNS resolving hostnames to IP
.
[~] Analyzing ports, CVEs and IP information
.
ID;DOMAIN;IP;PORTS;CVE;ASN;ORG;CITY;REGION;COUNTRY
HOST-0;google.com;142.250.185.78;80,443;N/A;AS15169;Google LLC;Frankfurt am Main;Hessen;DE
````