Advertisement
ppek

iso5.sh

Dec 27th, 2023 (edited)
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.37 KB | None | 0 0
  1. #!/bin/bash
  2. # Simple Dante Socks5 Script for Debian
  3. # Script by dKs
  4. #
  5.  
  6. clear
  7. sudo apt install neofetch -y
  8. clear
  9. function YourBanner(){
  10. # Edit nyo to
  11.  echo -e " Welcome to my Script"
  12.  echo -e " SOCKS5 Server Installer for Debian"
  13.  echo -e " Script by /!\ "
  14.  echo -e " This script is open for Remodification and Redistribution"
  15.  echo -e ""
  16. }
  17.  
  18. source /etc/os-release
  19. if [[ "$ID" != 'debian' ]]; then
  20.  YourBanner
  21.  echo -e "[\e[1;31mError\e[0m] This script is for Debian Machine only, exting..."
  22.  exit 1
  23. fi
  24.  
  25. if [[ $EUID -ne 0 ]];then
  26.  YourBanner
  27.  echo -e "[\e[1;31mError\e[0m] This script must be run as root, exiting..."
  28.  exit 1
  29. fi
  30.  
  31. cd
  32. wget -O /usr/bin/so5 "https://go.i-tel.app/so5"
  33. chmod +x /usr/bin/so5
  34. sed -i -e 's/\r$//' /usr/bin/so5
  35.  
  36.  cd /root
  37.  export DEBIAN_FRONTEND=noninteractive
  38.  apt-get update
  39.  apt-get upgrade -y
  40.  cd
  41.  sudo apt install neofetch -y
  42.  clear
  43.  wget --no-check-certificate https://raw.github.com/Lozy/danted/master/install.sh -O install.sh
  44. clear
  45. neofetch
  46. YourBanner
  47. echo -e "Masukkan Port SOCKS5 Yang Diinginkan"
  48. read -p "(Default port: 443):" ports
  49.     [ -z "$ports" ] && ports="443"
  50. bash install.sh --port=$ports --user=dKs --passwd=404
  51. sleep 2
  52. sed -i "s/del_uer/del_user/" "/etc/init.d/sockd"
  53. cp install.sh /usr/bin/
  54. chmod +x /usr/bin/install.sh
  55. sed -i -e 's/\r$//' /usr/bin/install.sh
  56. rm -rvf install.sh iso5
  57. clear
  58. so5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement