1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-07 20:50:38 +02:00
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