mirror of
https://github.com/autistic-symposium/sec-pentesting-toolkit.git
synced 2025-04-26 10:39:08 -04:00
Update test_netaddr.py
This commit is contained in:
parent
63fd9fe798
commit
5ca68fb2a4
@ -1,9 +1,9 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
__author__ = "bt3"
|
||||
__author__ = "Mia Stein"
|
||||
|
||||
import netaddr
|
||||
|
||||
ip = '192.168.1.114'
|
||||
if ip in netaddr.IPNetwork('192.168.1.0/24'):
|
||||
print('OK!')
|
||||
print('OK!')
|
||||
|
Loading…
x
Reference in New Issue
Block a user