GTFOBins.github.io/_gtfobins/file.md
2018-12-12 18:08:22 +01:00

578 B

description functions
Each line is corrupted by a prefix string and wrapped inside quotes, so this may not be suitable for binary files. If a line in the target file begins with a `#`, it will not be printed as these lines are parsed as comments. It can also be provided with a directory and will read each file in the directory.
file-read suid sudo
code
LFILE=file_to_read file -m $LFILE
code
LFILE=file_to_read ./file -m $LFILE
code
LFILE=file_to_read sudo file -m $LFILE