https://github.com/rougeth/knocker
:door::punch: Yet another port knock client
https://github.com/rougeth/knocker
devops knocker port-knock port-knocker port-knocking python
Last synced: 16 days ago
JSON representation
:door::punch: Yet another port knock client
- Host: GitHub
- URL: https://github.com/rougeth/knocker
- Owner: rougeth
- Created: 2017-05-04T03:26:34.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-03-19T00:26:25.000Z (about 8 years ago)
- Last Synced: 2025-09-11T16:30:28.936Z (7 months ago)
- Topics: devops, knocker, port-knock, port-knocker, port-knocking, python
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 22
- Watchers: 2
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# knock... knock...

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
```