can_we_hide_code
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| can_we_hide_code [2011/12/14 17:30] – created k2patel | can_we_hide_code [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Can We Hide Code ====== | ||
| - | |||
| - | If you only want to hide it for the ignorant user, you " | ||
| - | |||
| - | Say your script is called " | ||
| - | <code bash> | ||
| - | shell$ cat script.sh | tr ' | ||
| - | </ | ||
| - | Then put this code at the very start of the encrypted script " | ||
| - | <code bash> | ||
| - | #!/bin/sh | ||
| - | FIFO=/ | ||
| - | mkfifo $FIFO | ||
| - | sh $FIFO & | ||
| - | tr ' | ||
| - | </ | ||
| - | ...and put these lines at the very end of the " | ||
| - | <code bash> | ||
| - | EOF_EOF | ||
| - | rm $FIFO >/ | ||
| - | </ | ||
| - | |||
| - | E.g. this is a complete " | ||
| - | <code bash> | ||
| - | #!/bin/sh | ||
| - | FIFO=/ | ||
| - | rm $FIFO >/ | ||
| - | mkfifo $FIFO | ||
| - | sh $FIFO & | ||
| - | tr ' | ||
| - | |||
| - | # BEGIN of ecrypted script | ||
| - | #!/ova/fu | ||
| - | |||
| - | rpub "Tbbq zbeavat" | ||
| - | rpub " | ||
| - | rpub " | ||
| - | rpub " | ||
| - | rpub " | ||
| - | |||
| - | # END of ecrypted script | ||
| - | |||
| - | EOF_EOF | ||
| - | rm $FIFO >/ | ||
| - | </ | ||
| - | P.S. Rot13 " | ||
can_we_hide_code.1323883843.txt.gz · Last modified: 2020/08/10 02:28 (external edit)
