Advertisement
alfaisalvpn

script-help

Jun 15th, 2020
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1.  
  2. echo -e "#Modo autónomo\n\nRUN=yes\n\nDAEMON=/usr/sbin/sslh\n\nDAEMON_OPTS='--user sslh --listen 0.0.0.0:443 --ssh 127.0.0.1:22 --ssl 127.0.0.1:442 --pidfile /var/run/sslh/sslh.pid'" > /etc/default/sslh /etc/init.d/sslh start && service sslh start
  3.  
  4.  
  5.  
  6.  
  7. echo -e "cert = /etc/stunnel/stunnel.pem\nclient = no\nsocket = a:SO_REUSEADDR=1\nsocket = l:TCP_NODELAY=1\nsocket = r:TCP_NODELAY=1\n\n[stunnel]\nconnect = 127.0.0.1:22\naccept = 442" > /etc/stunnel/stunnel.conf
  8. service stunnel4 restart
  9.  
  10. echo "*/10 * * * * bash /root/check2.sh" | crontab -
  11.  
  12.  
  13.  
  14. wget -O /root/check.sh "https://pastebin.com/raw/VxscZiLP";echo "*/10 * * * * bash /root/check.sh") | crontab -
  15.  
  16.  
  17. echo "*/10 * * * * bash /root/check.sh" | crontab -
  18.  
  19. wget https://raw.githubusercontent.com/wangzki03/VPSauto/master/tool/Deb9 && chmod +x Deb9 && ./Deb9
  20.  
  21. sslh --ssh 127.0.0.1:22 --ssl 127.0.0.1:442 --anyprot 127.0.0.1:8008 -P /var/run/sslh/sslh1.pid -p 0.0.0.0:80
  22.  
  23.  
  24. wget https://www.dropbox.com/s/uev1rt5rjv5mv1j/baks && chmod +x baks && ./baks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement