mirror of
https://github.com/autistic-symposium/sec-pentesting-toolkit.git
synced 2025-05-02 06:46:07 -04:00
9 lines
149 B
Python
Executable file
9 lines
149 B
Python
Executable file
#!/usr/bin/env python
|
|
|
|
__author__ = "Mia Stein"
|
|
|
|
import netaddr
|
|
|
|
ip = '192.168.1.114'
|
|
if ip in netaddr.IPNetwork('192.168.1.0/24'):
|
|
print('OK!')
|