Files
GTFOBins.github.io/_gtfobins/grep.md
Andrea Cardaci 1dfb03b013 Add description about grep flavors
Related to #26.
2018-10-03 14:44:55 +02:00

18 lines
473 B
Markdown

---
description: |
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.
functions:
file-read:
- code: |
LFILE=file_to_read
grep '' $LFILE
suid-enabled:
- code: |
LFILE=file_to_read
./grep '' $LFILE
sudo-enabled:
- code: |
LFILE=file_to_read
sudo grep '' $LFILE
---