ip/icmp scanner

This commit is contained in:
Mari Wahl 2014-12-22 16:00:45 -05:00
parent b65ef8b730
commit 4d4b0dcdff
9 changed files with 318 additions and 1 deletions

View file

@ -0,0 +1,9 @@
#!/usr/bin/env python
__author__ = "bt3"
import netaddr
ip = '192.168.1.114'
if ip in netaddr.IPNetwork('192.168.1.0/24'):
print('OK!')