Add genisoimage suid

Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
goproslowyo 2021-12-17 05:44:54 -08:00 committed by GitHub
parent c207d1f3b9
commit 9251c6a603
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,11 @@ functions:
- code: |
LFILE=file_to_read
genisoimage -q -o - "$LFILE"
suid:
- description: The file is parsed, and some of its content is disclosed by the error messages, thus this might not be suitable to read arbitrary data.
code: |
LFILE=file_to_read
./genisoimage -sort "$LFILE"
sudo:
- code: |
LFILE=file_to_read