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.20.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 945ffc1e8f43e35e5b70af2b10011269ea8ff0345c8cedc05a35e5cfbaf40d0b |
|
MD5 | a41a67a7ee1cd5b9f332d39705eb1a14 |
|
BLAKE2b-256 | b8bab244e6bf52234cfd3049444f0f5613c468dfa20ded9830418d1e7d4c3536 |
Close
Hashes for network_scanner_kbk-0.0.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1218402344e80993e911cca69a754fcd13fbfee09503559a55923319d2a29662 |
|
MD5 | a6613a9c54e48a4c20ea76e8d233e81d |
|
BLAKE2b-256 | 74048b778cb0100c5cadfedbc12fcde52ad2bd5652d178c6f9ed2e6d0ab1f589 |