Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/SPuerBRead/mqtts
MQTT安全测试工具 (MQTT Security Tools)
https://github.com/SPuerBRead/mqtts
mqtt scan-tool security security-tools
Last synced: 22 days ago
JSON representation
MQTT安全测试工具 (MQTT Security Tools)
- Host: GitHub
- URL: https://github.com/SPuerBRead/mqtts
- Owner: SPuerBRead
- Created: 2021-06-12T12:54:20.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-06-13T03:15:34.000Z (over 3 years ago)
- Last Synced: 2024-08-05T17:31:14.824Z (4 months ago)
- Topics: mqtt, scan-tool, security, security-tools
- Language: Go
- Homepage:
- Size: 6.57 MB
- Stars: 47
- Watchers: 3
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
- awesome-hacking-lists - SPuerBRead/mqtts - MQTT安全测试工具 (MQTT Security Tools) (Go)
README
███╗ ███╗ ██████╗ ████████╗████████╗███████╗
████╗ ████║██╔═══██╗╚══██╔══╝╚══██╔══╝██╔════╝
██╔████╔██║██║ ██║ ██║ ██║ ███████╗
██║╚██╔╝██║██║▄▄ ██║ ██║ ██║ ╚════██║
██║ ╚═╝ ██║╚██████╔╝ ██║ ██║ ███████║
╚═╝ ╚═╝ ╚══▀▀═╝ ╚═╝ ╚═╝ ╚══════╝# MQTTS
[![GoV](https://img.shields.io/badge/golang-1.16.4-brightgreen.svg)]()![](./img/render1623551568329.gif)
支持安全检查类型
-----------
* 匿名登陆 (批量)
* emqx embox_plugin_template任意用户名密码登陆 (批量)
* 用户名密码爆破 (批量)
* 获取服务端信息
* 尽可能获取所有topic信息
* 获取证书信息支持协议类型
-----------
* TCP
* SSL
* WS
* WSS使用说明
-----------
自动探测(包含匿名登陆、任意用户名密码登陆、用户名密码爆破)`./mqtts -t 127.0.0.1 -p 1883 -au`
获取服务端信息
`./mqtts -t 127.0.0.1 -p 1883 -s`
获取topic信息
`./mqtts -t 127.0.0.1 -p 1883 -ts -w 60`
批量测试
`./mqtts -tf ./target.txt -au`
其他参数见 `./mqtts -h`
批量扫描文件格式(空格分割,*必填项)
*host *port protocol clientId username password
编译源代码
-----------### mac
`CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o mqtts_darwin_amd64 main.go `
### linux
`CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o mqtts_linux_amd64 main.go`
### win64
`CGO_ENABLED=0 GOOS=windows GOARCH=amd64 CC=x86_64-w64-mingw32-gcc go build -o mqtts_windows_amd64.exe main.go`
### win32
`CGO_ENABLED=0 GOOS=windows GOARCH=386 CC=i686-w64-mingw32-gcc go build -o mqtts_windows_386.exe main.go`