1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-07 20:50:38 +02:00

Add mosquitto

Co-authored-by: tin-z <tinz@@>
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
tin-z 2022-02-28 08:53:13 +01:00 committed by GitHub
parent c056acd2e2
commit b922c960fb
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

16
_gtfobins/mosquitto.md Normal file
View File

@ -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"
---