GTFOBins.github.io/_gtfobins/cat.md

16 lines
239 B
Markdown
Raw Normal View History

2018-05-30 19:20:43 +02:00
---
functions:
file-read:
2018-07-04 20:26:52 +02:00
- code: |
LFILE=file_to_read
cat "$LFILE"
suid-enabled:
- code: |
LFILE=file_to_read
./cat "$LFILE"
sudo-enabled:
- code: |
LFILE=file_to_read
sudo cat "$LFILE"
2018-05-30 19:20:43 +02:00
---