ppek

so5.sh

Dec 26th, 2023 (edited)
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.30 KB | Source Code | 0 0
  1. #!/bin/bash
  2. #Tool By dKs
  3.  
  4. clear
  5. neofetch
  6. echo -e "Your SOCKS5 Proxy IP Address: $(wget -4qO- http://ipinfo.io/ip)"
  7. echo "Tool SOCKS5";
  8. echo "    1. Cek Status";
  9. echo "    2. Tambah User";
  10. echo "    3. Hapus User";
  11. echo "    4. Start";
  12. echo "    5. Stop";
  13. echo "    6. Reinstall";
  14. echo "    7. Exit";
  15. echo ""
  16. echo "Masukkan Angka antara 1 Sampai 7"
  17. read  pilihan
  18.  
  19. #menu1
  20. if [ $pilihan = 1 ]
  21. then
  22. clear
  23. neofetch
  24. /etc/init.d/sockd status
  25. echo "ketik so5 untuk ke menu"
  26. fi
  27.  
  28. #menu2
  29. if [ $pilihan = 2 ]
  30. then
  31. clear
  32. echo "Masukkan User Baru"
  33. read userS
  34. echo "Masukkan Password"
  35. read passS
  36. /etc/init.d/sockd adduser $userS $passS
  37. sleep 3
  38. so5
  39. fi
  40.  
  41. #menu3
  42. if [ $pilihan = 3 ]
  43. then
  44. clear
  45. /etc/init.d/sockd status
  46. echo "Masukkan User yang Ingin Dihapus"
  47. read userS
  48. /etc/init.d/sockd deluser $userS
  49. sleep 3
  50. so5
  51. fi
  52.  
  53. #menu4
  54. if [ $pilihan = 4 ]
  55. then
  56. clear
  57. /etc/init.d/sockd reload
  58. sleep 1
  59. /etc/init.d/sockd restart
  60. sleep 3
  61. so5
  62. fi
  63.  
  64. #menu5
  65. if [ $pilihan = 5 ]
  66. then
  67. clear
  68. /etc/init.d/sockd stop
  69. sleep 3
  70. so5
  71. fi
  72.  
  73. #menu6
  74. if [ $pilihan = 6 ]
  75. then
  76. clear
  77. install.sh --uninstall
  78. sleep 3
  79. wget -qO- -O iso5 https://go.i-tel.app/iso5 && chmod +x iso5 && sed -i -e 's/\r$//' iso5 && ./iso5
  80. fi
  81.  
  82. #menu7
  83. if [ $pilihan = 7 ]
  84. then
  85. clear
  86. echo "See U GodBye"
  87. sleep 3
  88. clear
  89. exit
  90. fi
Add Comment
Please, Sign In to add comment