Advertisement
alfaisalvpn

socks

Jun 15th, 2020
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #!/bin/bash
  2. SERVICE="0.0.0.0:80"
  3. if netstat -apn | grep "0.0.0.0:80" >/dev/null
  4. then
  5. echo "$SERVICE is running"
  6. else
  7. echo "$SERVICE stopped"
  8. # start socks if stopped
  9. python /root/proxydirect.py 80 KRYPTOMIC &
  10. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement