mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-27 07:18:48 +01:00
18 lines
457 B
Markdown
18 lines
457 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:
|
|
- code: |
|
|
LFILE=file_to_read
|
|
./grep '' $LFILE
|
|
sudo:
|
|
- code: |
|
|
LFILE=file_to_read
|
|
sudo grep '' $LFILE
|
|
---
|