Skip to content

Instantly share code, notes, and snippets.

@dsaiztc
Last active November 5, 2018 09:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dsaiztc/42abfb30949e10b56e5303f3d5a57e69 to your computer and use it in GitHub Desktop.
Save dsaiztc/42abfb30949e10b56e5303f3d5a57e69 to your computer and use it in GitHub Desktop.
import ipaddress
for host in ipaddress.ip_network('204.93.240.0/24').hosts():
print(host)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment