Tooling that scan specific IP or automates scan all the local IPs on your network.
pip install local-port-scanner
Important: depending on your system, make sure to use pip3
and python3
instead.
If you would like to install a specific version of Local Port Scanner you may do so with:
pip install local-port-scanner==0.0.2
Local Port Scanner is not only a tool but also it is a module
Run the port scanner as the following Example.
python port_scanner -a
There are specific commands to use in Port Scanner.
'-a' command is used to auto-discover host in your local network and scan if there are open ports.
'-H' command is used to specify the host.
If you want to know more commands use '-h' command.
Run the netdiscover as the following Example.
python netdiscover
It just discovers all the host IPs and Mac addresses.
There are two classes you can use.
- port_scanner
- To scan specific target
from loacl_scanner import Scan
Scan(target='127.0.0.1')
- netdiscover
- To discover host in the Local network
from loacl_scanner import NetDiscover
NetDiscover(output=True)
pip install local-port-scanner -U