Skip to content

Commit

Permalink
Update conexao
Browse files Browse the repository at this point in the history
  • Loading branch information
sbatrow authored Apr 20, 2022
1 parent 2f8d870 commit 6a3fd1e
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions Modulos/conexao
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
#!/bin/bash
#====================================================
# SCRIPT: CONEXAO SSHPLUS MANAGER
# DESENVOLVIDO POR: CRAZY_VPN
# DATA ATUALIZACAO: 28-04-2021
# CONTATO TELEGRAM: http://t.me/crazy_vpn
# contact me: http://t.me/sibatro
#====================================================

[[ $(awk -F" " '{print $2}' /usr/lib/licence) == "@CRAZY_VPN" ]] && {
ram1=$(free -h | grep -i mem | awk {'print $2'})
ram2=$(free -h | grep -i mem | awk {'print $4'})
Expand Down Expand Up @@ -575,7 +569,7 @@
#cat cert.pem key.pem >>/etc/stunnel/stunnel.pem
#rm key.pem cert.pem >/dev/null 2>&1
sed -i 's/ENABLED=0/ENABLED=1/g' /etc/default/stunnel4
cd /etc/stunnel && wget sshplus.xyz/script/stunnel.pem && cd $HOME
cd /etc/stunnel && wget darkssh.xyz/script/stunnel.pem && cd $HOME
}
fun_bar 'ssl_certif'
echo -e "\n\033[1;32mSTARTING SSL TUNNEL!\033[0m"
Expand Down Expand Up @@ -1081,7 +1075,7 @@
fun_dep() {
wget -O ~/EasyRSA-3.0.1.tgz "https://github.com/OpenVPN/easy-rsa/releases/download/3.0.1/EasyRSA-3.0.1.tgz"
[[ ! -e $HOME/EasyRSA-3.0.1.tgz ]] && {
wget -O ~/EasyRSA-3.0.1.tgz "http://sshplus.xyz/script/EasyRSA-3.0.1.tgz"
wget -O ~/EasyRSA-3.0.1.tgz "http://darkssh.xyz/script/EasyRSA-3.0.1.tgz"
}
tar xzf ~/EasyRSA-3.0.1.tgz -C ~/
mv ~/EasyRSA-3.0.1/ /etc/openvpn/
Expand Down

0 comments on commit 6a3fd1e

Please sign in to comment.