Fix SUID and document readelf

This commit is contained in:
Andrea Cardaci 2019-01-02 13:41:10 +01:00
parent 6ebfcef36c
commit c156f48e5f

View File

@ -1,7 +1,6 @@
---
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:
file-read:
- code: |
@ -10,7 +9,7 @@ functions:
suid:
- code: |
LFILE=file_to_read
readelf -a @$LFILE
./readelf -a @$LFILE
sudo:
- code: |
LFILE=file_to_read