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: | 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