Wrapper around the ping utility included by the OS.
$ python ping_sweep.py -h
ping_sweep.py
Usage:
ping_sweep.py <cidr> [--test]
ping_sweep.py -f <file> [--test]
Options:
-h, --help Display usage.
--test Prints out list of addresses to sweep. Does
not send any pings.
--version Display version.
Arguments:
cidr Any CIDR notataion, like 10.10.10.10/31. Other
values, like 10, or 192.168 may be interpretted as
valid CIDR. Use --test to see the list of addresses
produced.
file File containing one IP address or CIDR block per
line. Invalid values are skipped.