1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-19 02:11:39 +02:00
GTFOBins.github.io/_gtfobins/fmt.md

19 lines
364 B
Markdown
Raw Normal View History

2018-06-12 16:06:16 +02:00
---
2018-07-04 20:26:52 +02:00
description: 'The read file content is not binary-safe.
'
2018-06-12 16:06:16 +02:00
functions:
file-read:
2018-07-04 20:26:52 +02:00
- 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"
2018-06-12 16:06:16 +02:00
---