mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-27 07:18:48 +01:00
20 lines
413 B
Markdown
20 lines
413 B
Markdown
|
---
|
||
|
functions:
|
||
|
file-read:
|
||
|
- code: |
|
||
|
LFILE=file_to_read
|
||
|
pandoc -t plain "$LFILE"
|
||
|
file-write:
|
||
|
- code: |
|
||
|
LFILE=file_to_write
|
||
|
echo DATA | pandoc -t plain -o "$LFILE"
|
||
|
suid:
|
||
|
- code: |
|
||
|
LFILE=file_to_write
|
||
|
echo DATA | ./pandoc -t plain -o "$LFILE"
|
||
|
sudo:
|
||
|
- code: |
|
||
|
LFILE=file_to_write
|
||
|
echo DATA | sudo pandoc -t plain -o "$LFILE"
|
||
|
---
|