GTFOBins.github.io/_gtfobins/dd.md

20 lines
362 B
Markdown
Raw Normal View History

2018-05-28 21:34:12 +02:00
---
functions:
file-write:
2018-07-16 15:01:50 +02:00
- code: |
LFILE=file_to_write
echo "DATA" | dd of=$LFILE
2018-07-04 20:26:52 +02:00
file-read:
2018-07-16 15:01:50 +02:00
- code: |
LFILE=file_to_read
2018-11-20 13:05:36 +01:00
dd if=$LFILE
2018-10-05 19:55:38 +02:00
suid:
- code: |
LFILE=file_to_write
echo "data" | ./dd of=$LFILE
2018-10-05 19:55:38 +02:00
sudo:
- code: |
LFILE=file_to_write
2020-06-10 22:53:45 +02:00
echo "data" | sudo dd of=$LFILE
2018-05-28 21:34:12 +02:00
---