Python Ping scan

A simple ping scan can be performed with any number of tools, from nmap to a cmd.exe, however, doing it through Python allows us to easily run additional code if a host is up. The netaddr and ping modules are required. Syntax is script.py -nw [subnet in CIDR format]