mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
mqtt_check.py, impacket-mqtt_check: add page (#16262)
* mqtt_check.py, impacket-mqtt_check: add page * Move to common.
This commit is contained in:
parent
1270b62962
commit
c6543d045c
2 changed files with 36 additions and 0 deletions
7
pages/common/impacket-mqtt_check.md
Normal file
7
pages/common/impacket-mqtt_check.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# impacket-mqtt_check
|
||||||
|
|
||||||
|
> This command is an alias of `mqtt_check.py`.
|
||||||
|
|
||||||
|
- View documentation for the original command:
|
||||||
|
|
||||||
|
`tldr mqtt_check.py`
|
29
pages/common/mqtt_check.py.md
Normal file
29
pages/common/mqtt_check.py.md
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# mqtt_check.py
|
||||||
|
|
||||||
|
> Simple utility for testing and validating MQTT login credentials.
|
||||||
|
> Part of the Impacket suite.
|
||||||
|
> More information: <https://github.com/fortra/impacket>.
|
||||||
|
|
||||||
|
- Check MQTT login credentials for a target (MQTT broker's hostname):
|
||||||
|
|
||||||
|
`mqtt_check.py {{domain}}/{{username}}:{{password}}@{{targetName}}`
|
||||||
|
|
||||||
|
- Specify a custom client ID for authentication:
|
||||||
|
|
||||||
|
`mqtt_check.py -client-id {{client_id}} {{domain}}/{{username}}:{{password}}@{{targetName}}`
|
||||||
|
|
||||||
|
- Enable SSL for the connection:
|
||||||
|
|
||||||
|
`mqtt_check.py -ssl {{domain}}/{{username}}:{{password}}@{{targetName}}`
|
||||||
|
|
||||||
|
- Connect to a specific port (default is 1883):
|
||||||
|
|
||||||
|
`mqtt_check.py -port {{port}} {{domain}}/{{username}}:{{password}}@{{targetName}}`
|
||||||
|
|
||||||
|
- Enable debug output:
|
||||||
|
|
||||||
|
`mqtt_check.py -debug {{domain}}/{{username}}:{{password}}@{{targetName}}`
|
||||||
|
|
||||||
|
- Display help message:
|
||||||
|
|
||||||
|
`mqtt_check.py --help`
|
Loading…
Add table
Reference in a new issue