2024-04-21 16:39:15 +00:00
|
|
|
#!/bin/sh
|
|
|
|
./build.sh
|
2024-04-27 09:36:45 +00:00
|
|
|
echo "[md5]" $(md5sum main)
|
|
|
|
|
|
|
|
payload=$(cat main | base64 | xargs | tr -d " ")
|
|
|
|
|
|
|
|
echo "#!/bin/sh" > script.sh
|
|
|
|
echo "f=\""$payload\" >> script.sh
|
2024-05-12 09:47:02 +00:00
|
|
|
echo -e "t=\$(mktemp -p \$TMPDIR XXXXXXX); echo \$f | base64 -d > \$t; chmod +x \$t; exec \$t" >> script.sh
|
2024-04-27 09:36:45 +00:00
|
|
|
|
|
|
|
chmod +x script.sh
|