:P here is something funny.
say your script is named origin
and the obfuscated one is named obsf
.
here is origin
:
#!/bin/sh
echo "fooo"
here is obsf
$ echo "echo $(base64 origin)" > obsf
$ cat obsf
echo IyEvYmluL3NoCmVjaG8gImZvb28iCg==
$ chmod +x obsf
now rm origin
and run obsf
like this:
$ sh obsf | base64 -d | sh
fooo
heh :3