mirror of
https://github.com/autistic-symposium/sec-pentesting-toolkit.git
synced 2025-05-02 06:46:07 -04:00
ip/icmp scanner
This commit is contained in:
parent
b65ef8b730
commit
4d4b0dcdff
9 changed files with 318 additions and 1 deletions
9
Network_and_802.11/scanner/test_netaddr.py
Executable file
9
Network_and_802.11/scanner/test_netaddr.py
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/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!')
|
Loading…
Add table
Add a link
Reference in a new issue