![]() ![]() On OpenSuse, the package is called libcap-progs. You may need to install the necessary packages. setcap needs to be run with superuser privileges: setcap cap_net_raw=eip /path/to/virtualenv/bin/python3 The capability needed is cap_net_raw=eip and this needs to be set on the python interpreter used and the tcpdump binary using setcap. You may run it as root - not recommended - or you set the necessary capabilities (man 7 capabilities). Lanscan needs special permissions, to be able to open a raw socket. 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. Software & Apps zum Download, sowie Cloud-Dienste für Windows, Mac, Linux, iPhone, Android. 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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |