Project to scan and gather connectivity information on small networks
Project description
network_scanner_kbk
Project to impliment a network scanner for comparing subnets
Example Usage
Example of using the network_scanner utility to scan 2 given subnets and look for devices that can only be accessed through exactly one of the subnets.
# Import the NetworkScanner class
from network_scanner_kbk import NetworkScanner
# Create an instance of the NetworkScanner class
ns = NetworkScanner()
# Provide 2 subnet addresses in CIDR /24 notation
subnet1 = "192.168.0.0/24"
subnet2 = "192.168.1.0/24"
# Call find_singularly_reachable_devices() to obtain the list of devices (ips)
devices = ns.find_singularly_reachable_devices(subnet1, subnet2)
print("List of devices accessible on exactly one subnet:")
for d in devices:
print(d)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for network_scanner_kbk-0.0.22.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80c8bb294fe78d04bcfb7e6275bdf74b35eab7d25e82b4fdc6eb15662a03687d |
|
MD5 | 21f31122dca3a831bdd0372ce7e88b29 |
|
BLAKE2b-256 | 4222a3dd17436a4bea9470a49c406fc5ce70b40621c96726f74637ddf8514702 |
Close
Hashes for network_scanner_kbk-0.0.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2894f903f590fcec6405013fa76799b8776f36277e68c1df6aef2c1487dae4b |
|
MD5 | c9ad3e663a03aa57c6279800cb839dfd |
|
BLAKE2b-256 | 1fc948bcd9f1407ce3ece52ae2aa83f59e0a5fccb0f781792c1b3eb2602fe0b9 |