blob: fb794862fe012b053df794886cbf944e09420a08 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#!/bin/bash
ssh root@localhost -p 2222 << EOF
rm -rf /untether/
mkdir /untether/
echo "#!/usr/local/bin/scripter -q -cf" > /untether/get_code_exec
echo "execute(\"/usr/sbin/racoon\");" >> /untether/get_code_exec
echo "execute(\"/usr/sbin/racoon\");" >> /untether/get_code_exec
echo "execute(\"/usr/sbin/racoon\");" >> /untether/get_code_exec
echo "execute(\"/usr/sbin/racoon\");" >> /untether/get_code_exec
echo "execute(\"/usr/sbin/racoon\");" >> /untether/get_code_exec
echo "execute(\"/usr/sbin/racoon\");" >> /untether/get_code_exec
echo "execute(\"/usr/sbin/racoon\");" >> /untether/get_code_exec
echo "execute(\"/usr/sbin/racoon\");" >> /untether/get_code_exec
echo "execute(\"/usr/sbin/racoon\");" >> /untether/get_code_exec
echo "execute(\"/usr/sbin/racoon\");" >> /untether/get_code_exec
echo "execute(\"/usr/sbin/racoon\");" >> /untether/get_code_exec
echo "execute(\"/usr/sbin/racoon\");" >> /untether/get_code_exec
echo "execute(\"/usr/sbin/racoon\");" >> /untether/get_code_exec
echo "execute(\"/usr/sbin/racoon\");" >> /untether/get_code_exec
echo "execute(\"/usr/sbin/racoon\");" >> /untether/get_code_exec
echo "execute(\"/usr/sbin/racoon\");" >> /untether/get_code_exec
echo "execute(\"/usr/sbin/racoon\");" >> /untether/get_code_exec
echo "execute(\"/usr/sbin/racoon\");" >> /untether/get_code_exec
echo "execute(\"/usr/sbin/racoon\");" >> /untether/get_code_exec
echo "execute(\"/usr/sbin/racoon\");" >> /untether/get_code_exec
echo "execute(\"/usr/sbin/racoon\");" >> /untether/get_code_exec
echo "execute(\"/usr/sbin/racoon\");" >> /untether/get_code_exec
echo "execute(\"/usr/sbin/racoon\");" >> /untether/get_code_exec
echo "execute(\"/usr/sbin/racoon\");" >> /untether/get_code_exec
echo "execute(\"/usr/sbin/racoon\");" >> /untether/get_code_exec
echo "execute(\"/untether/get_code_exec\");" >> /untether/get_code_exec
chmod +x /untether/get_code_exec
mkdir /usr/local/bin/
cp -p /usr/libexec/dhcpd /usr/local/bin/scripter
chmod 4777 /usr/sbin/racoon
mv /usr/sbin/BTServer /usr/sbin/BTServer_
ln -s /untether/get_code_exec /usr/sbin/BTServer
EOF
|