mirror of
https://github.com/autistic-symposium/sec-pentesting-toolkit.git
synced 2025-04-28 03:26:08 -04:00
10 lines
145 B
Python
Executable File
10 lines
145 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
__author__ = "bt3gl"
|
|
|
|
import netaddr
|
|
|
|
ip = '192.168.1.114'
|
|
if ip in netaddr.IPNetwork('192.168.1.0/24'):
|
|
print('OK!')
|