Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Commands

mqattack provides ten subcommands grouped by purpose:

Reconnaissance

CommandDescription
subscribeListen to one or more topic filters
fingerprintIdentify broker software and version via $SYS
sys-infoCollect all $SYS broker metadata

Interaction

CommandDescription
publishSend a payload to a topic

Enumeration

CommandDescription
check-aclProbe subscribe/publish permissions per topic
enum-topicsDiscover active topics via wordlist or brute-force
enum-permsBuild a user × topic permission matrix

Attacks

CommandDescription
brute-authBrute-force or spray MQTT credentials
will-injectRegister a crafted Last Will to inject messages on disconnect
payload-injectPublish built-in or custom injection payloads

All commands accept the common connection and authentication flags.