Skip to main content

Simple local port scanner

Project description

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

Disclaimer: Please Note that this is a research project. I am by no means responsible for any usage of this tool.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

local-port-scanner-0.0.2.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

local_port_scanner-0.0.2-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page