GTFOBins.github.io/_gtfobins/grep.md
2018-10-05 18:55:38 +01:00

457 B

description functions
There are many `grep` flavors that in many cases are just copies, symlinks or wrappers around the original binary that may share the same behavior, for example: `egrep`, `fgrep`, `zgrep`, etc.
file-read suid sudo
code
LFILE=file_to_read grep '' $LFILE
code
LFILE=file_to_read ./grep '' $LFILE
code
LFILE=file_to_read sudo grep '' $LFILE