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:
Usage of doki:
-4 Force use IPv4 protocol
-6 Force use IPv6 protocol
-address string
Target IP address
-domain string
Target domain name
-ignore-errors
Ignore errors when establishing a connection
-ports value
Comma-separated list of ports (0-65535 range)
-timeout duration
Maximum time to establish a connection (default 10ms)
- 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.