Knocker
Python 3 utility to help with CTF or boot2root challenges that involve port knocking
Install / Use
/learn @r00k5A58/KnockerREADME
knocker
Python 3 utility to help with CTF or boot2root challenges that involve port knocking.
Requires root or sudo privileges. Requires argparse.
pip install argparse
# ./knocker.py -h
usage: knocker.py [-h] [-c CLOAKED] [-m MAXLEN] (-b | -r RANGE | -p PORTS)
dest_ip
Tool to interact with ports cloaked with port knocking. Specify -p, -r, or -b,
and a target IP. -c can be used for success checking if the cloaked port is
known. Requires root or sudo privileges for socket creation.
positional arguments:
dest_ip Target host IP that makes use of port knocking
optional arguments:
-h, --help show this help message and exit
-c CLOAKED, --cloaked CLOAKED
Specify the target cloaked port for success checking
-m MAXLEN, --maxlen MAXLEN
Specify the max iterations a brute force will run
before assuming failure (default 10)
-b, --bruteforce Have knocker automatically brute force the target for
you. Shortcut for -r 1-65535
-r RANGE, --range RANGE
Specify a suspected range of ports to attempt to brute
force (i.e. 1000-1200)
-p PORTS, --ports PORTS
Comma separated list of ports to knock (in proper
order)
Related Skills
node-connect
345.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
106.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
