This repository has been archived on 2023-06-22. You can view files and clone it, but cannot push or open issues or pull requests.
expandCIDR/README.md

12 lines
517 B
Markdown
Raw Permalink Normal View History

2022-09-19 20:51:45 -04:00
expandCIDR will use an nmap compliant scope list file and expand it, generating a file with the IP list.
2022-09-19 20:50:56 -04:00
2022-09-19 22:01:16 -04:00
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.
2022-09-19 20:51:45 -04:00
usage: expandcidr [scope file] [output file] {# of rnd ips}
2022-09-19 20:52:19 -04:00
examples:
2022-09-19 20:51:45 -04:00
2022-09-19 20:52:19 -04:00
expandcidr scope_subnets.txt scope.txt
expandcidr scope.txt sample.txt 500