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:
- code: |
LFILE=file_to_read
sudo base64 "$LFILE" | base64 -d
sudo base64 "$LFILE" | base64 --decode
suid-enabled:
- code: |
LFILE=file_to_read
./base64 "$LFILE" | base64 -d
./base64 "$LFILE" | base64 --decode
file-read:
- code: |
LFILE=file_to_read
base64 "$LFILE" | base64 -d
base64 "$LFILE" | base64 --decode
---