A minimalistic and fast port knocker written in Go.
Precompiled binaries are available on the releases page.
To see all available flags, run ./doki -h:
A minimalistic and fast port knocker.
Usage:
doki [flags]
Flags:
--address string Target IP address
--domain string Target domain name
-h, --help help for doki
--ignore-errors Ignore errors when establishing a connection
-4, --ipv4 Force use IPv4 protocol
-6, --ipv6 Force use IPv6 protocol
--ports ports Comma-separated list of ports (0-65535 range)
--timeout duration Maximum time to establish a connection (default 30ms)
- Download and install Go from the official website.
- Clone the repository:
git clone https://github.com/wavy-cat/doki - In the project directory, run:
go build -trimpath -ldflags="-s -w" -o doki github.com/wavy-cat/doki/cmd/main
Note
If you're using Windows, the output file should be named doki.exe instead of doki.