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.21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09a6e668f8c69de06c469f1986a0c3f70d4e72451e91627ce1eab7d0f9007a0f |
|
MD5 | de48c53e9642d7bed6ea610c3e7edcfa |
|
BLAKE2b-256 | b8d072f87748fe8fc4208ed12d67fbad33ef2dfd34e4848c53f6ac82e35e98aa |
Close
Hashes for network_scanner_kbk-0.0.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17adf8796b3c4f09ba52657064139300973fbd7944f5ee311f747b29ac1370fb |
|
MD5 | 1562bb05a61a02a09008d15bbeec1e97 |
|
BLAKE2b-256 | b692e77acf45b5dc5829ca486bcfe452dc6ca0c6c3eaaf6f9139ff87fa3c6582 |