GTFOBins.github.io/_gtfobins/dd.md

380 B

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