Skip to content
/ doki Public

A minimalistic and fast port knocker

License

Notifications You must be signed in to change notification settings

wavy-cat/doki

Repository files navigation

doki

GitHub go.mod Go version GitHub License GitHub repo size

A minimalistic and fast port knocker written in Go.


Getting started

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)

Building from Source

  1. Download and install Go from the official website.
  2. Clone the repository: git clone https://github.com/wavy-cat/doki
  3. 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.

About

A minimalistic and fast port knocker

Topics

Resources

License

Stars

Watchers

Forks

Languages