mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 23:09:46 +01:00
18 lines
474 B
Markdown
18 lines
474 B
Markdown
---
|
|
description: |
|
|
Each line is corrupted by a prefix string and wrapped inside single quotes. Also consider that lines are actually parsed as `readelf` options thus some file contents may lead to unexpected results.
|
|
functions:
|
|
file-read:
|
|
- code: |
|
|
LFILE=file_to_read
|
|
readelf -a @$LFILE
|
|
suid:
|
|
- code: |
|
|
LFILE=file_to_read
|
|
./readelf -a @$LFILE
|
|
sudo:
|
|
- code: |
|
|
LFILE=file_to_read
|
|
sudo readelf -a @$LFILE
|
|
---
|