Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Simple Dante Socks5 Script for Debian
- # Script by dKs
- #
- clear
- sudo apt install neofetch -y
- clear
- function YourBanner(){
- # Edit nyo to
- echo -e " Welcome to my Script"
- echo -e " SOCKS5 Server Installer for Debian"
- echo -e " Script by /!\ "
- echo -e " This script is open for Remodification and Redistribution"
- echo -e ""
- }
- source /etc/os-release
- if [[ "$ID" != 'debian' ]]; then
- YourBanner
- echo -e "[\e[1;31mError\e[0m] This script is for Debian Machine only, exting..."
- exit 1
- fi
- if [[ $EUID -ne 0 ]];then
- YourBanner
- echo -e "[\e[1;31mError\e[0m] This script must be run as root, exiting..."
- exit 1
- fi
- cd
- wget -O /usr/bin/so5 "https://go.i-tel.app/so5"
- chmod +x /usr/bin/so5
- sed -i -e 's/\r$//' /usr/bin/so5
- cd /root
- export DEBIAN_FRONTEND=noninteractive
- apt-get update
- apt-get upgrade -y
- cd
- sudo apt install neofetch -y
- clear
- wget --no-check-certificate https://raw.github.com/Lozy/danted/master/install.sh -O install.sh
- clear
- neofetch
- YourBanner
- echo -e "Masukkan Port SOCKS5 Yang Diinginkan"
- read -p "(Default port: 443):" ports
- [ -z "$ports" ] && ports="443"
- bash install.sh --port=$ports --user=dKs --passwd=404
- sleep 2
- sed -i "s/del_uer/del_user/" "/etc/init.d/sockd"
- cp install.sh /usr/bin/
- chmod +x /usr/bin/install.sh
- sed -i -e 's/\r$//' /usr/bin/install.sh
- rm -rvf install.sh iso5
- clear
- so5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement