This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# USAGE EXAMPLE: touch /root/xkuma-socks5-starter.sh && chmod +x /root/xkuma-socks5-starter.sh && curl https://gist.githubusercontent.com/ar2-de2/.../xkuma-socks5-starter.sh > /root/xkuma-socks5-starter.sh && /bin/bash /root/xkuma-socks5-starter.sh | |
export DEBIAN_FRONTEND=noninteractive | |
apt-get update | |
apt-get -y upgrade | |
apt-get -y install docker.io docker-compose pwgen | |
export SOCKS5_IP=$(curl -4 ifconfig.co) | |
export SOCKS5_USER=$(pwgen 16 1) |