# https://github.com/evilsocket/legba
# RHOST=remoteHost; RPORT=1883
legba mqtt --target $RHOST:$RPORT \
--username anonymous \
--password loremIpsumDolorSitAmet
# Bulk testing
# RHOST_LIST=hosts.txt
legba mqtt --target @$RHOST_LIST \
--username anonymous \
--password loremIpsumDolorSitAmet \
--output-format jsonl --output mqtt_unauth.json
# https://github.com/evilsocket/legba
# RHOST=remoteHost; RPORT=1883
# USER_LIST=usernames.txt; PASS_FILE=passwords.txt
legba mqtt --target $RHOST:$RPORT \
--username $USER_LIST \
--password $PASS_LIST \
--output-format jsonl --output mqtt_brute.json
# Bulk testing
# RHOST_LIST=hosts.txt
legba mqtt --target @$RHOST_LIST \
--username $USER_LIST \
--password $PASS_LIST \
--output-format jsonl --output mqtt_brute.json