Port knocking client
Project description
# knock... knock...
![](https://media.giphy.com/media/4WONcbcxCOYRa/giphy.gif)
Yet another port knock client.
#### Installing
`$ pip install knocker`
#### Running
```bash
$ knocker your.server.domain 8001 8002 8003
knock... knock...
```
##### Getting help
```
$ knocker -h
usage: knocker [-h] [-d DELAY] host ports [ports ...]
Knock host and port using tcp connection
positional arguments:
host Hostname or IP address of the host
ports Ports to knock
optional arguments:
-h, --help show this help message and exit
-d DELAY, --delay DELAY
Milliseconds between each knock
```
#### Example server
The `example_server.py` is just a socket server that listen 3 different
ports and print a message after receive a ping on it.
```
$ python example_server.py
Listening ports: 49485 38749 42846
```
![](https://media.giphy.com/media/4WONcbcxCOYRa/giphy.gif)
Yet another port knock client.
#### Installing
`$ pip install knocker`
#### Running
```bash
$ knocker your.server.domain 8001 8002 8003
knock... knock...
```
##### Getting help
```
$ knocker -h
usage: knocker [-h] [-d DELAY] host ports [ports ...]
Knock host and port using tcp connection
positional arguments:
host Hostname or IP address of the host
ports Ports to knock
optional arguments:
-h, --help show this help message and exit
-d DELAY, --delay DELAY
Milliseconds between each knock
```
#### Example server
The `example_server.py` is just a socket server that listen 3 different
ports and print a message after receive a ping on it.
```
$ python example_server.py
Listening ports: 49485 38749 42846
```
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file knocker-0.1.4-py2.py3-none-any.whl
.
File metadata
- Download URL: knocker-0.1.4-py2.py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f2927bcf4b038886953043ee40b4ca06c767a74c8bb8ce2c39f072ef84d002f |
|
MD5 | 19bf7f13faef0daca3ae53d93f0668ae |
|
BLAKE2b-256 | cd7369eddb169a69b30debe807f4fbdef320af74fe90873e629d7eb23ed9d2aa |