mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Fix SUID and document readelf
This commit is contained in:
parent
6ebfcef36c
commit
c156f48e5f
@ -1,7 +1,6 @@
|
|||||||
---
|
---
|
||||||
description: |
|
description: |
|
||||||
Each line is corrupted by a prefix string and wrapped inside single quotes.
|
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:
|
functions:
|
||||||
file-read:
|
file-read:
|
||||||
- code: |
|
- code: |
|
||||||
@ -10,7 +9,7 @@ functions:
|
|||||||
suid:
|
suid:
|
||||||
- code: |
|
- code: |
|
||||||
LFILE=file_to_read
|
LFILE=file_to_read
|
||||||
readelf -a @$LFILE
|
./readelf -a @$LFILE
|
||||||
sudo:
|
sudo:
|
||||||
- code: |
|
- code: |
|
||||||
LFILE=file_to_read
|
LFILE=file_to_read
|
||||||
|
Loading…
Reference in New Issue
Block a user