[agent-deploy] - bug fix

This commit is contained in:
zeaslity
2024-04-26 15:57:28 +08:00
parent 7f4a4d877e
commit 421f53a8aa
22 changed files with 7369 additions and 421 deletions

View File

@@ -0,0 +1,17 @@
#!/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