Encode
Encoding is the process of converting data from one form to another. It is used to protect data from unauthorized access and to ensure that the data is not corrupted during transmission.
Encode a value with bash
echo -n "id" | base64
## Result: aWQ=
Execute a command encoded
echo "aWQ=" | base64 --decode | sh
## Result: uid=0(root) gid=0(root) groups=0(root)