Skip to content

Commit

Permalink
Update Script
Browse files Browse the repository at this point in the history
  • Loading branch information
AAAAAEXQOSyIpN2JZ0ehUQ committed Mar 29, 2019
1 parent da33b4a commit e18e6ec
Show file tree
Hide file tree
Showing 5 changed files with 94 additions and 1 deletion.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,20 @@
# VPSPACK-SERVER-V2.0
# VPSPACK-SERVER V2.0

Manager Script

1 • RECOMENDADO DEBIAN Y UBUNTU. ALGUNOS DE ELLOS TAMBIÉN PUEDEN FUNCIONAR CON CENTOS.

2 • USAR DISTRIBUCION NUEVA O FORMATIADA

apt-get update -y; apt-get upgrade -y; wget https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/VPSPACK-SERVER-V2.0/master/instalarold && bash instalarold

================================================================================

*SIN MINERIA! *SIN KEYS! *VERSION GRATUITA *SIN VIRUS TROJANO (BOTNET) *ARCHIVOS LIBERADOS (DECENCRIPTADOS)

================================================================================

https://t.me/admmanagerfree
=================================================


33 changes: 33 additions & 0 deletions badudp
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/bin/bash
echo "#!/bin/bash
if [ "'$1'" == start ]
then
badvpn-udpgw --listen-addr 127.0.0.1:7300 --max-clients 1000 --max-connections-for-client 10 > /dev/null &
echo 'Badvpn rodando na porta 7300'
fi
if [ "'$1'" == stop ]
then
badvpnpid="'$(ps x |grep badvpn |grep -v grep |awk '"{'"'print $1'"'})
kill -9 "'"$badvpnpid" >/dev/null 2>/dev/null
kill $badvpnpid > /dev/null 2> /dev/null
kill "$badvpnpid" > /dev/null 2>/dev/null''
kill $(ps x |grep badvpn |grep -v grep |awk '"{'"'print $1'"'})
killall badvpn-udpgw
fi" > /bin/badvpn
chmod +x /bin/badvpn
if [ -f /bin/badvpn-udpgw ]; then
echo -e "\033[1;32mBadvpn ya esta instalado\033[0m"
rm -rf badudp >/dev/null 2>/dev/null
exit
else
clear
fi
echo -e "\033[1;31m Instalador Badvpn\n\033[0m"
echo -e "Haciendo la download de Badvpn"
wget -O /bin/badvpn-udpgw https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/VPSPACK-SERVER-V2.0/master/badvpn-udpgw -o /dev/null
chmod +x /bin/badvpn-udpgw
clear
echo -e "\033[1;32m Instalacion completa\033[0m"
echo -e "\033[1;37mComandos:\n\033[1;31mbadvpn start\033[1;37m para iniciar o badvpn"
echo -e "\033[1;31mbadvpn stop \033[1;37m para parar o badvpn\033[0m"
rm -rf badudp >/dev/null 2>/dev/null
Binary file added badvpn-udpgw
Binary file not shown.
41 changes: 41 additions & 0 deletions instalarold
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/bin/bash
rm -rf $HOME/instalarold
cd
if [ $(id -u) != 0 ]
then
echo "Ejecte este script como root"
exit
fi
echo -e "\033[0;34m ===================================\033[0m"
echo -e "\033[1;30m INSTALANDO VPSPACK-SERVER V2.0!\033[0m"
echo -e "\033[0;34m ===================================\033[0m"
echo -e "\033[1;33m Aguarde...\033[1;32m"
mkdir /etc/VpsPackdir 2>/dev/null
mkdir /etc/VpsPackdir/limite 2>/dev/null
mkdir /etc/VpsPackdir/senha 2>/dev/null

wget https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/VPSPACK-SERVER-V2.0/master/vpspack.tgz > /dev/null 2>&1
tar xvfz /root/vpspack.tgz > /dev/null 2>&1
rm -rf /root/vpspack.tgz > /dev/null 2>&1
cp -a /root/vpspack/. /bin/ > /dev/null 2>&1
rm -rf /root/vpspack > /dev/null 2>&1
chmod +x /bin/limite
chmod +x /bin/criarusuario
chmod +x /bin/deletarusuario
chmod +x /bin/redefinirusuario
chmod +x /bin/vps
chmod +x /bin/speedtest.py

clear
echo -e "\033[0;34m =============================================================\033[0m"
echo -e "\033[1;30m VPSPACK-SERVER V2.0!\033[0m"
echo -e "\033[0;34m =============================================================\033[0m"
echo -e "\033[1;32m Instalacion concluida\n\033[1;30m Execute vps:"
echo -e "\033[0;34m =============================================================\033[0m"
echo -e "\033[1;31m • \033[1;37mvps\033[1;36m Menu de Opciones de Administracion\033[01;37m"
echo -e "\033[1;31m • \033[1;37mcriarusuario\033[1;33m Crear Usuario Con Fecha y limite de conexion\033[01;37m"
echo -e "\033[1;31m • \033[1;37mdeletarusuario\033[1;33m Eliminar usuario o solo desconectar\033[01;37m"
echo -e "\033[1;31m • \033[1;37mredefinirusuario\033[1;33m Editar un usuario\033[01;37m"
echo -e "\033[1;31m • \033[1;37mlimite\033[1;33m Limite de conexiones simultaneas\033[01;37m"
echo -e "\033[0;34m =============================================================\033[0m"
rm -rf $HOME/instalarold
Binary file added vpspack.tgz
Binary file not shown.

0 comments on commit e18e6ec

Please sign in to comment.