mirror of
https://github.com/autistic-symposium/sec-pentesting-toolkit.git
synced 2025-06-28 08:37:13 -04:00
Update test_netaddr.py
This commit is contained in:
parent
63fd9fe798
commit
5ca68fb2a4
1 changed files with 2 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
__author__ = "bt3"
|
__author__ = "Mia Stein"
|
||||||
|
|
||||||
import netaddr
|
import netaddr
|
||||||
|
|
||||||
ip = '192.168.1.114'
|
ip = '192.168.1.114'
|
||||||
if ip in netaddr.IPNetwork('192.168.1.0/24'):
|
if ip in netaddr.IPNetwork('192.168.1.0/24'):
|
||||||
print('OK!')
|
print('OK!')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue