Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [34][00:25:02] vlazarenko@alluminium (~/tests) > echo -ne "\[email protected]\0mypass" | base64
- AG15dXNlckBteWhvc3QuY29tAG15cGFzcw==
- [35][00:25:22] vlazarenko@alluminium (~/tests) > bash base64.sh
- AG15dXNlckBteWhvc3QuY29tAG15cGFzcw==
- [36][00:25:25] vlazarenko@alluminium (~/tests) > cat base64.sh
- #!/bin/bash
- user=myuser
- pass=mypass
- host=myhost.com
- auth=$(echo -ne "\0$user@$host\0$pass" | base64);
- echo $auth
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement