Skip to content

Instantly share code, notes, and snippets.

@Zibri
Last active July 26, 2019 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zibri/1849ba6c6105a0d8ba5f2c6390765627 to your computer and use it in GitHub Desktop.
Save Zibri/1849ba6c6105a0d8ba5f2c6390765627 to your computer and use it in GitHub Desktop.
A trick as old as Unix.
$ echo ZWNobyAiQnllLWJ5ZSBXb3JsZCEiIDsjDSMhL2Jpbi9zaCAgICAgICAgICAgICAgICANCiMNZWNobyAiSGVsbG8gV29ybGQhIg0K | base64 -d >test.sh
$ chmod a+x test.sh
$ cat test.sh
#!/bin/sh
echo "Hello World!"
$ ./test.sh
Bye-bye World!
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment