This project has been archived by its maintainers, and is no longer receiving any updates.
Local Port Scanner
Tooling that scan specific IP or automates scan all the local IPs on your network.
Table of contents
Installation
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
Running Local Port Scanner
Local Port Scanner is not only a tool but also it is a module
Use as a tool
Run the port scanner as the following Example.
python -m 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 -m netdiscover
It just discovers all the host IPs and Mac addresses.
Use as a module
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)
Updating Local Port Scanner
pip install local-port-scanner -U
Release files for local-port-scanner 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| local-port-scanner-0.0.2.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| local_port_scanner-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.7 kB
Release files / local-port-scanner-0.0.2.tar.gz
| Download URL | local-port-scanner-0.0.2.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3a812f7dce6fee737da6b6c55c193f64e5dcdf00e9593728e229f8e8ef2aefa
|
|
BLAKE2b-256 checksum How to use checksums |
c498d1f321ff7a558512115e4c700fc7fdc906c9e9fe829189f06faa004b0ecd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
|
Release files / local_port_scanner-0.0.2-py3-none-any.whl
| Download URL | local_port_scanner-0.0.2-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bbbc4aa0eda5e99819bab0ebda366765d5b3f8cc5c11b62d77f1cc308e063432
|
|
BLAKE2b-256 checksum How to use checksums |
92e971618298082f25b685be16b7e501f949b78233236a30d4df5b2081715106
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
|