1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00
GTFOBins.github.io/_gtfobins/dd.md
2020-06-10 22:53:45 +02:00

20 lines
362 B
Markdown

---
functions:
file-write:
- code: |
LFILE=file_to_write
echo "DATA" | dd of=$LFILE
file-read:
- code: |
LFILE=file_to_read
dd if=$LFILE
suid:
- code: |
LFILE=file_to_write
echo "data" | ./dd of=$LFILE
sudo:
- code: |
LFILE=file_to_write
echo "data" | sudo dd of=$LFILE
---