mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-24 13:59:17 +01:00
Add pandoc
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
parent
e34134e353
commit
706f022480
19
_gtfobins/pandoc.md
Normal file
19
_gtfobins/pandoc.md
Normal file
@ -0,0 +1,19 @@
|
||||
---
|
||||
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"
|
||||
---
|
Loading…
Reference in New Issue
Block a user