Matin7697 / asnx

A useful script to gather ASNs and prefixes of your target, while you are doing a wide recon process.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

asnx

A useful script to gather ASNs and prefixes of your target, while you are doing a wide recon process. This tool gathers IPs or subdomains as input and will provide prefixes and ASNs of them as output.

asnx

Table of Usage

Options Descriptions
-h Show this lovely help menu
-u Single url or IP
-l List of urls or IPs
-asn Only show ASNs
-prefix Only show prefixes

Example

 asnx -u alish3ikhi.com

Result:

[+] 104.111.216.130:
{
  "prefix": "104.111.216.0/22",
  "ASN": 16625
}
{
  "prefix": "104.64.0.0/10",
  "ASN": 20940
}

Other Example

asnx -u 8.8.4.4
asnx -l list.txt

Example of --asn

asnx -l list.txt --asn

asnx2

Example of --prefix

asnx -l list.txt --prefix

asnx3

Happy hunting :)

About

A useful script to gather ASNs and prefixes of your target, while you are doing a wide recon process.


Languages

Language:Python 100.0%