Make base64 portable

This commit is contained in:
Andrea Cardaci 2018-06-04 14:59:57 +02:00
parent 5fa7efbc1c
commit 323553f4b0

View File

@ -3,13 +3,13 @@ functions:
sudo-enabled: sudo-enabled:
- code: | - code: |
LFILE=file_to_read LFILE=file_to_read
sudo base64 "$LFILE" | base64 -d sudo base64 "$LFILE" | base64 --decode
suid-enabled: suid-enabled:
- code: | - code: |
LFILE=file_to_read LFILE=file_to_read
./base64 "$LFILE" | base64 -d ./base64 "$LFILE" | base64 --decode
file-read: file-read:
- code: | - code: |
LFILE=file_to_read LFILE=file_to_read
base64 "$LFILE" | base64 -d base64 "$LFILE" | base64 --decode
--- ---