Use base64 in basenc

This commit is contained in:
Andrea Cardaci 2020-12-20 20:59:40 +01:00
parent 7cfac08921
commit c6502e8ddc

View File

@ -3,13 +3,13 @@ functions:
file-read: file-read:
- code: | - code: |
LFILE=file_to_read LFILE=file_to_read
basenc --base16 $LFILE | basenc -d --base16 basenc --base64 $LFILE | basenc -d --base64
suid: suid:
- code: | - code: |
LFILE=file_to_read LFILE=file_to_read
basenc --base16 $LFILE | basenc -d --base16 basenc --base64 $LFILE | basenc -d --base64
sudo: sudo:
- code: | - code: |
LFILE=file_to_read LFILE=file_to_read
sudo basenc --base16 $LFILE | basenc -d --base16 sudo basenc --base64 $LFILE | basenc -d --base64
--- ---