Add sudo and suid to od

This commit is contained in:
Andrea Cardaci 2018-06-04 13:01:44 +02:00
parent 467e4e875d
commit 069e7da89d

View File

@ -3,6 +3,14 @@ description: |
Three spaces are added before each character in the read file, and Three spaces are added before each character in the read file, and
non-printable chars are printed as backslash escape sequences. non-printable chars are printed as backslash escape sequences.
functions: functions:
sudo-enabled:
- code: |
LFILE=file_to_read
sudo od -An -c -w9999 "$LFILE"
suid-enabled:
- code: |
LFILE=file_to_read
./od -An -c -w9999 "$LFILE"
file-read: file-read:
- code: | - code: |
LFILE=file_to_read LFILE=file_to_read