mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-01-24 12:32:55 +01:00
Add cat
This commit is contained in:
parent
17903bb23b
commit
5aee2ec17e
15
_gtfobins/cat.md
Normal file
15
_gtfobins/cat.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
functions:
|
||||||
|
sudo-enabled:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
sudo cat "$LFILE"
|
||||||
|
suid-enabled:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
./cat "$LFILE"
|
||||||
|
file-read:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
cat "$LFILE"
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user