1N3 / Sn1per

Attack Surface Management Platform
https://sn1persecurity.com
Other
7.9k stars 1.82k forks source link

Scanning using CIDR notation #310

Closed dmittakarin8 closed 3 years ago

dmittakarin8 commented 3 years ago

Describe the bug Scanning using CIDR notation

To Reproduce Steps to reproduce the behavior:

  1. Peform a multi target scan with targets using CIDR notation
  2. Example is 10.0.0.0/32 or 10.0.0.0/24
  3. No results in workspace
  4. Change target to be IP only 10.0.0.1-255
  5. Results found in workspace

Expected behavior Can sniper handle cidr notation in a multi target scan or a single target scan? For large assessments the scope may include cidr notation. Currently it seems that cidr notation has to be converted to ip ranges for sniper to be able to scan the target range

Desktop (please complete the following information):

1N3 commented 3 years ago

CIDR/Subnet scans are handled via 'discover' mode (ie. sniper -t 10.0.0.0/24 -m discover -w 10.0.0.0).