To make callingĮasier, create the file /usr/local/bin/lanscan with: #!/bin/bash Will automatically be installed within your virtualen. I don't think, that it will work on Windows or OS X.Ĭreate a virtualenv and call pip install lanscan. Lanscan has been written using Python 3.5, so the chances are good, Let's scan the default network: # lanscan scan portscan / -no-portscan Let nmap do a simple connect-portscan. vendor / -no-vendor Vendor lookup based on Mac addres. n, -network TEXT The network to scan in CIDR notation or the Scan a network, defaults to default network. The lanscan scan command has a few parameters: $ lanscan scan -help Scan Scan a network, defaults to default network.Ī list of all current interfaces: $ lanscan interfacesģ enp0s20f0u1u4 r8152 Realtek RTL8152/RTL8153 Based USB Ethernet Adaptersĥ wlp1s0 iwlwifi Intel(R) Wireless WiFi driver for LinuxĪ list of all local networks: $ lanscan networks Networks Display a list of available networks. Interfaces Display a list available interfaces It also gives information about present network interfaces and It scans a given local network and presents all devices on this Lanscan is a Python 3 module, that provides the lanscan consoleĬommand.
0 Comments
Leave a Reply. |