Skip to main content
# 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
```


Metadata

Release files for knocker 0.1.4

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

Built distribution (wheel)

Table of built distributions (wheels) for knocker 0.1.4
File Interpreter ABI Platform Actions
knocker-0.1.4-py2.py3-none-any.whl Python 3, Python 2 none any Details for knocker-0.1.4-py2.py3-none-any.whl

Release files / knocker-0.1.4-py2.py3-none-any.whl

Download URL knocker-0.1.4-py2.py3-none-any.whl
Size 3.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
8f2927bcf4b038886953043ee40b4ca06c767a74c8bb8ce2c39f072ef84d002f
BLAKE2b-256 checksum
How to use checksums
cd7369eddb169a69b30debe807f4fbdef320af74fe90873e629d7eb23ed9d2aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for knocker 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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