Multithreaded IPV4 port scanner written in python
Project description
skanr
Multithreaded network port scanner for IPV4 addresses
requirements
- 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file skanr-0.0.2.tar.gz
.
File metadata
- Download URL: skanr-0.0.2.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.7 CPython/3.9.6 Darwin/20.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 578e0783a936f7c9890310ef0ff3ee0cae187d3438e506225f0792b1ebff6c07 |
|
MD5 | f804ea84336b095d9cca3fbc61ad7d5f |
|
BLAKE2b-256 | abffe4f81b81715e5099e0d552e977070c8ed44db0b15c58df8b839936022765 |
File details
Details for the file skanr-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: skanr-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.7 CPython/3.9.6 Darwin/20.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37e4ae7be26858cdb9b20387a69a2640fcae2b597f9aba7a7ac76d5d7e9c1de0 |
|
MD5 | 128caba37eb646d44db3fe79c9ff8f07 |
|
BLAKE2b-256 | 41374515d9627ea8041e2de02ea49f72c0ee38c818689313be9a6933c4e75b55 |