Add labs
This commit is contained in:
20
03-security/lab05/lab.txt
Normal file
20
03-security/lab05/lab.txt
Normal file
@ -0,0 +1,20 @@
|
||||
= Username/Password Credentials
|
||||
|
||||
|
||||
Verwenden Sie `mosquitto_sub` mit dem Host `test.mosquitto.org` und MQTT 5, Port `1884`,
|
||||
Usernamen "ro" und Passwort "readonly".
|
||||
|
||||
$ docker run --rm -it --init --net host eclipse-mosquitto \
|
||||
mosquitto_sub --host test.mosquitto.org --port 1884 -V 5 --topic "demotopic" \
|
||||
--username ro -P readonly --debug
|
||||
|
||||
Testen Sie, was bei einem anderen Passwort passiert.
|
||||
|
||||
$ docker run --rm -it --init --net host eclipse-mosquitto \
|
||||
mosquitto_sub --host test.mosquitto.org --port 1884 -V 5 --topic "demotopic" \
|
||||
--username ro -P wrong --debug
|
||||
|
||||
|
||||
Analysiern Sie die Netzwerkpakete, finden Sie Usernamen und Passwort?
|
||||
|
||||
$ sudo tshark -s 1500 -i any -n -x -O mqtt port 1884
|
||||
Reference in New Issue
Block a user