GTFOBins.github.io/_gtfobins/fmt.md
2020-01-08 15:50:13 +01:00

736 B

description functions
The read file content is not binary-safe.
file-read suid sudo
description code
This only works for the GNU version of `fmt`. LFILE=file_to_read fmt -pNON_EXISTING_PREFIX "$LFILE"
description code
This corrupts the output by wrapping very long lines at the given width. LFILE=file_to_read fmt -999 "$LFILE"
description code
This corrupts the output by wrapping very long lines at the given width. LFILE=file_to_read ./fmt -999 "$LFILE"
description code
This corrupts the output by wrapping very long lines at the given width. LFILE=file_to_read sudo fmt -999 "$LFILE"