Skip to main content

skanr

Multithreaded network port scanner for IPV4 addresses

requirements

  1. known Target host IP Address

installation

pip install skanr

usage

Help

Display the help

skanr -h
usage: skanr [-h] [-s] [-e] [-t] [--version] target_ip

Perform a network port scan of a host IP address

positional arguments:
  target_ip          Target IP address (xxx.xxx.xxx.xxx)

optional arguments:
  -h, --help         show this help message and exit
  -s , --startport   Port number to start scanning (default: 1)
  -e , --endport     End port number of scan range (default: 1024, max: 65535)
  -t , --threads     number of scan threads to run (default: 32, max: 1024)
  --version          prints version information

basic IP scan

will scan an IP address from ports 1-1024 using 32 threads

skanr 10.37.129.9

skanr v 0.0.1
Scanning IP: 10.37.129.9 ports: 1 - 1024 threads: 32
-=================================================================-
port 21 :open
port 23 :open
port 22 :open
port 53 :open
port 80 :open
port 110 :open
port 111 :open
port 139 :open
port 143 :open
port 445 :open
port 901 :open

scan port range on target

To scan a port range on the target machine use -s and -e to specify the start and end ports

if no start ot end prot is given then defaults apply

skanr 10.37.129.9 -s 20 -e 100

skanr v 0.0.1
Scanning IP: 10.37.129.9 ports: 20 - 100 threads: 32
-=================================================================-
port 21 :open
port 22 :open
port 23 :open
port 53 :open
port 80 :open

specifing threads

To speed up the port scanning the number of threads can be passed using the -t argument up to a max of 1024 threads, to prevent starting unwanted threads, the number of threads started will never be greater than the number of ports to be scanned.

skanr 10.37.129.9 -e 65535 -t 1024

skanr v 0.0.1
Scanning IP: 10.37.129.9 ports: 1 - 65535 threads: 1024
-=================================================================-
port 21 :open
port 22 :open
port 23 :open
port 53 :open
port 80 :open
port 110 :open
port 111 :open
port 139 :open
port 143 :open
port 445 :open
port 901 :open
port 2049 :open
port 6665 :open
port 6666 :open
port 6669 :open
port 6667 :open
port 6668 :open
port 8787 :open
port 37159 :open
port 44180 :open
port 50166 :open

Release files for skanr 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for skanr 0.0.2
File Size Uploaded
skanr-0.0.2.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for skanr 0.0.2
File Interpreter ABI Platform
skanr-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 9.8 kB

Release files / skanr-0.0.2.tar.gz

Download URL skanr-0.0.2.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
578e0783a936f7c9890310ef0ff3ee0cae187d3438e506225f0792b1ebff6c07
BLAKE2b-256 checksum
How to use checksums
abffe4f81b81715e5099e0d552e977070c8ed44db0b15c58df8b839936022765
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.7 CPython/3.9.6 Darwin/20.6.0

Release files / skanr-0.0.2-py3-none-any.whl

Download URL skanr-0.0.2-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
37e4ae7be26858cdb9b20387a69a2640fcae2b597f9aba7a7ac76d5d7e9c1de0
BLAKE2b-256 checksum
How to use checksums
41374515d9627ea8041e2de02ea49f72c0ee38c818689313be9a6933c4e75b55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.7 CPython/3.9.6 Darwin/20.6.0

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page