expandCIDR will use an nmap compliant scope list file and expand it, generating a file with the IP list. Optionally it can also select an arbitrary number of random IPs from the expanded IP list, instead.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
expandCIDR/README.md

517 B

expandCIDR will use an nmap compliant scope list file and expand it, generating a file with the IP list.

Optionally it can also select an arbitrary number of random IPs from the expanded IP list, instead. Typically useful in large vulnerability assessments where testing a sample of a baselined subnet (such as SIP) is more efficient than testing the entire subnet.

usage: expandcidr [scope file] [output file] {# of rnd ips}

examples:

expandcidr scope_subnets.txt scope.txt

expandcidr scope.txt sample.txt 500