/netscan

asn and cidr scanning tool

Primary LanguageShellGNU General Public License v3.0GPL-3.0

NetScan

Automated ASN and CIDR scanning tool

NetScan is a shell script which automates the scanning the CIDRs in the ASN, Port scanning the CIDR blocks for alive hosts and cves.

Features:

  • Scan CIDR associated with an ASN number
  • Port scan top 100 ports via Masscan
  • Finding out possible CVEs associated with any IPs via Shodan
  • Screenshoting alive hosts via gowitness

Installation

NetScan requires masscan for port scanning, gowitness for screenshoting.

Install the dependencies if not already installed:

sudo apt-get install masscan
go install github.com/sensepost/gowitness@latest

Clone the repository and run netscan:

git clone https://github.com/zyrgo/netscan.git
cd netscan
sh netscan {-a|-c} <asn-number|cidr-number>