liberize / ssc

Convert shell script to binary
GNU General Public License v3.0
66 stars 21 forks source link

“parse shebang failed: Success” #21

Closed shenzhigang closed 6 months ago

shenzhigang commented 6 months ago

Compiling in Termux, it runs normally when execute the encrypted file directly, but when placed in /data/local/tmp on the same phone to run, it prompts: "parse shebang failed: Success." The shell script is as follows:

#!/system/bin/sh
echo "hello world"

image

liberize commented 6 months ago

I can't reproduce this issue. Without root, I got permission denied when copying binary to /data/local/tmp. With root, it runs ok. image

What arguments are you using?

shenzhigang commented 6 months ago

I can't reproduce this issue. Without root, I got permission denied when copying binary to /data/local/tmp. With root, it runs ok. image

What arguments are you using?

./ssc ./test.sh aaa

liberize commented 6 months ago

Close as can't repro.