mirror of
https://github.com/autistic-symposium/sec-pentesting-toolkit.git
synced 2025-04-27 11:09:09 -04:00
9 lines
142 B
Python
Executable File
9 lines
142 B
Python
Executable File
#!/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!') |