|
@@ -3,7 +3,7 @@
|
|
|
clear && clear
|
|
clear && clear
|
|
|
colores="$(pwd)/colores"
|
|
colores="$(pwd)/colores"
|
|
|
rm -rf ${colores}
|
|
rm -rf ${colores}
|
|
|
-wget -O ${colores} "https://raw.githubusercontent.com/NetVPS/Multi-Script/main/Otros/colores" &>/dev/null
|
|
|
|
|
|
|
+wget -O ${colores} "https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/Otros/colores" &>/dev/null
|
|
|
[[ ! -e ${colores} ]] && exit
|
|
[[ ! -e ${colores} ]] && exit
|
|
|
chmod +x ${colores} &>/dev/null
|
|
chmod +x ${colores} &>/dev/null
|
|
|
source ${colores}
|
|
source ${colores}
|
|
@@ -30,7 +30,7 @@ os_system() {
|
|
|
esac
|
|
esac
|
|
|
}
|
|
}
|
|
|
repo() {
|
|
repo() {
|
|
|
- link="https://raw.githubusercontent.com/NetVPS/Multi-Script/main/Source-List/$1.list"
|
|
|
|
|
|
|
+ link="https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/Source-List/$1.list"
|
|
|
case $1 in
|
|
case $1 in
|
|
|
8 | 9 | 10 | 11 | 16.04 | 18.04 | 20.04 | 20.10 | 21.04 | 21.10 | 22.04) wget -O /etc/apt/sources.list ${link} &>/dev/null ;;
|
|
8 | 9 | 10 | 11 | 16.04 | 18.04 | 20.04 | 20.10 | 21.04 | 21.10 | 22.04) wget -O /etc/apt/sources.list ${link} &>/dev/null ;;
|
|
|
esac
|
|
esac
|
|
@@ -83,7 +83,7 @@ install_inicial() {
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
#-- VERIFICAR VERSION
|
|
#-- VERIFICAR VERSION
|
|
|
- v1=$(curl -sSL "https://raw.githubusercontent.com/NetVPS/Multi-Script/main/Vercion")
|
|
|
|
|
|
|
+ v1=$(curl -sSL "https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/Vercion")
|
|
|
echo "$v1" >/etc/version_instalacion
|
|
echo "$v1" >/etc/version_instalacion
|
|
|
v22=$(cat /etc/version_instalacion)
|
|
v22=$(cat /etc/version_instalacion)
|
|
|
vesaoSCT="\e[1;31m [ \e[1;32m( $v22 )\e[1;97m\e[1;31m ]"
|
|
vesaoSCT="\e[1;31m [ \e[1;32m( $v22 )\e[1;97m\e[1;31m ]"
|
|
@@ -111,7 +111,7 @@ password required pam_permit.so' >/etc/pam.d/common-password && chmod +x /etc/pa
|
|
|
echo ""
|
|
echo ""
|
|
|
msgi -bar2
|
|
msgi -bar2
|
|
|
fun_ip() {
|
|
fun_ip() {
|
|
|
- TUIP=$(wget -qO- ifconfig.me)
|
|
|
|
|
|
|
+ TUIP=$(wget -4 -qO- ifconfig.me/ip)
|
|
|
echo "$TUIP" >/root/.ssh/authrized_key.reg
|
|
echo "$TUIP" >/root/.ssh/authrized_key.reg
|
|
|
echo -e "\e[1;97m ESTA ES TU IP PUBLICA? \e[32m$TUIP"
|
|
echo -e "\e[1;97m ESTA ES TU IP PUBLICA? \e[32m$TUIP"
|
|
|
msgi -bar2
|
|
msgi -bar2
|
|
@@ -135,7 +135,7 @@ password required pam_permit.so' >/etc/pam.d/common-password && chmod +x /etc/pa
|
|
|
clear && clear
|
|
clear && clear
|
|
|
apt update
|
|
apt update
|
|
|
apt upgrade -y
|
|
apt upgrade -y
|
|
|
- wget -O /usr/bin/install https://raw.githubusercontent.com/NetVPS/Multi-Script/main/0-Instalador/install.sh &>/dev/null
|
|
|
|
|
|
|
+ wget -O /usr/bin/install https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/0-Instalador/install.sh &>/dev/null
|
|
|
chmod +rwx /usr/bin/install
|
|
chmod +rwx /usr/bin/install
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -232,7 +232,7 @@ install_vps_mx_85_oficial() {
|
|
|
clear && clear
|
|
clear && clear
|
|
|
mkdir /etc/VPS-MX >/dev/null 2>&1
|
|
mkdir /etc/VPS-MX >/dev/null 2>&1
|
|
|
cd /etc
|
|
cd /etc
|
|
|
- wget https://raw.githubusercontent.com/NetVPS/Multi-Script/main/VPS-MX-8.5-Final%20Oficial/VPS-MX.tar.xz >/dev/null 2>&1
|
|
|
|
|
|
|
+ wget https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/VPS-MX-8.5-Final%20Oficial/VPS-MX.tar.xz >/dev/null 2>&1
|
|
|
tar -xf VPS-MX.tar.xz >/dev/null 2>&1
|
|
tar -xf VPS-MX.tar.xz >/dev/null 2>&1
|
|
|
chmod +x VPS-MX.tar.xz >/dev/null 2>&1
|
|
chmod +x VPS-MX.tar.xz >/dev/null 2>&1
|
|
|
rm -rf VPS-MX.tar.xz
|
|
rm -rf VPS-MX.tar.xz
|
|
@@ -261,15 +261,15 @@ install_vps_mx_85_oficial() {
|
|
|
[[ ! -d /etc/VPS-MX/Slow/install ]] && mkdir /etc/VPS-MX/Slow/install
|
|
[[ ! -d /etc/VPS-MX/Slow/install ]] && mkdir /etc/VPS-MX/Slow/install
|
|
|
[[ ! -d /etc/VPS-MX/Slow/Key ]] && mkdir /etc/VPS-MX/Slow/Key
|
|
[[ ! -d /etc/VPS-MX/Slow/Key ]] && mkdir /etc/VPS-MX/Slow/Key
|
|
|
touch /usr/share/lognull &>/dev/null
|
|
touch /usr/share/lognull &>/dev/null
|
|
|
- wget -O /bin/resetsshdrop https://raw.githubusercontent.com/NetVPS/Multi-Script/main/VPS-MX-8.5-Final%20Oficial/Otros/resetsshdrop &>/dev/null
|
|
|
|
|
|
|
+ wget -O /bin/resetsshdrop https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/VPS-MX-8.5-Final%20Oficial/Otros/resetsshdrop &>/dev/null
|
|
|
chmod +x /bin/resetsshdrop
|
|
chmod +x /bin/resetsshdrop
|
|
|
grep -v "^PasswordAuthentication" /etc/ssh/sshd_config >/tmp/passlogin && mv /tmp/passlogin /etc/ssh/sshd_config
|
|
grep -v "^PasswordAuthentication" /etc/ssh/sshd_config >/tmp/passlogin && mv /tmp/passlogin /etc/ssh/sshd_config
|
|
|
echo "PasswordAuthentication yes" -e "\e[1;92m >> INSTALACION COMPLETADA <<" >>/etc/ssh/sshd_configecho && msgi -bar2
|
|
echo "PasswordAuthentication yes" -e "\e[1;92m >> INSTALACION COMPLETADA <<" >>/etc/ssh/sshd_configecho && msgi -bar2
|
|
|
rm -rf /usr/local/lib/systemubu1 &>/dev/null
|
|
rm -rf /usr/local/lib/systemubu1 &>/dev/null
|
|
|
rm -rf /etc/versin_script &>/dev/null
|
|
rm -rf /etc/versin_script &>/dev/null
|
|
|
- v1=$(curl -sSL "https://raw.githubusercontent.com/NetVPS/Multi-Script/main/VPS-MX-8.5-Final%20Oficial/Otros/Version")
|
|
|
|
|
|
|
+ v1=$(curl -sSL "https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/VPS-MX-8.5-Final%20Oficial/Otros/Version")
|
|
|
echo "$v1" >/etc/versin_script
|
|
echo "$v1" >/etc/versin_script
|
|
|
- wget -O /etc/versin_script_new https://raw.githubusercontent.com/NetVPS/Multi-Script/main/VPS-MX-8.5-Final%20Oficial/Otros/Version &>/dev/null
|
|
|
|
|
|
|
+ wget -O /etc/versin_script_new https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/VPS-MX-8.5-Final%20Oficial/Otros/Version &>/dev/null
|
|
|
echo '#!/bin/sh -e' >/etc/rc.local
|
|
echo '#!/bin/sh -e' >/etc/rc.local
|
|
|
sudo chmod +x /etc/rc.local
|
|
sudo chmod +x /etc/rc.local
|
|
|
echo "sudo resetsshdrop" >>/etc/rc.local
|
|
echo "sudo resetsshdrop" >>/etc/rc.local
|
|
@@ -282,7 +282,7 @@ install_vps_mx_85_oficial() {
|
|
|
echo 'echo -e "\t\033[91m \ \ / /| |_) \___ \ _____| |\/| |\ / " ' >>.bashrc
|
|
echo 'echo -e "\t\033[91m \ \ / /| |_) \___ \ _____| |\/| |\ / " ' >>.bashrc
|
|
|
echo 'echo -e "\t\033[91m \ V / | __/ ___) |_____| | | |/ \ " ' >>.bashrc
|
|
echo 'echo -e "\t\033[91m \ V / | __/ ___) |_____| | | |/ \ " ' >>.bashrc
|
|
|
echo 'echo -e "\t\033[91m \_/ |_| |____/ |_| |_/_/\_\ " ' >>.bashrc
|
|
echo 'echo -e "\t\033[91m \_/ |_| |____/ |_| |_/_/\_\ " ' >>.bashrc
|
|
|
- echo 'wget -O /etc/versin_script_new https://raw.githubusercontent.com/NetVPS/Multi-Script/main/VPS-MX-8.5-Final%20Oficial/Otros/Version &>/dev/null' >>.bashrc
|
|
|
|
|
|
|
+ echo 'wget -O /etc/versin_script_new https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/VPS-MX-8.5-Final%20Oficial/Otros/Version &>/dev/null' >>.bashrc
|
|
|
echo 'echo "" ' >>.bashrc
|
|
echo 'echo "" ' >>.bashrc
|
|
|
echo 'mess1="$(less /etc/VPS-MX/message.txt)" ' >>.bashrc
|
|
echo 'mess1="$(less /etc/VPS-MX/message.txt)" ' >>.bashrc
|
|
|
echo 'echo "" ' >>.bashrc
|
|
echo 'echo "" ' >>.bashrc
|
|
@@ -314,7 +314,7 @@ install_LACASITA_90() {
|
|
|
clear && clear
|
|
clear && clear
|
|
|
mkdir /etc/VPS-MX >/dev/null 2>&1
|
|
mkdir /etc/VPS-MX >/dev/null 2>&1
|
|
|
cd /etc
|
|
cd /etc
|
|
|
- wget https://raw.githubusercontent.com/NetVPS/Multi-Script/main/LACASITAMX-v9x/VPS-MX.tar.gz >/dev/null 2>&1
|
|
|
|
|
|
|
+ wget https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/LACASITAMX-v9x/VPS-MX.tar.gz >/dev/null 2>&1
|
|
|
tar -xf VPS-MX.tar.gz >/dev/null 2>&1
|
|
tar -xf VPS-MX.tar.gz >/dev/null 2>&1
|
|
|
chmod +x VPS-MX.tar.gz >/dev/null 2>&1
|
|
chmod +x VPS-MX.tar.gz >/dev/null 2>&1
|
|
|
rm -rf VPS-MX.tar.gz
|
|
rm -rf VPS-MX.tar.gz
|
|
@@ -343,7 +343,7 @@ install_LACASITA_90() {
|
|
|
[[ ! -d /usr/local/libreria ]] && mkdir /usr/local/libreria
|
|
[[ ! -d /usr/local/libreria ]] && mkdir /usr/local/libreria
|
|
|
[[ ! -d /usr/local/lib/rm ]] && mkdir /usr/local/lib/rm
|
|
[[ ! -d /usr/local/lib/rm ]] && mkdir /usr/local/lib/rm
|
|
|
cd /etc/VPS-MX/herramientas
|
|
cd /etc/VPS-MX/herramientas
|
|
|
- wget https://raw.githubusercontent.com/NetVPS/Multi-Script/main/LACASITAMX-v9x/VPS-MX.tar.gz >/dev/null 2>&1
|
|
|
|
|
|
|
+ wget https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/LACASITAMX-v9x/VPS-MX.tar.gz >/dev/null 2>&1
|
|
|
tar -xf speedtest_v1.tar >/dev/null 2>&1
|
|
tar -xf speedtest_v1.tar >/dev/null 2>&1
|
|
|
rm -rf speedtest_v1.tar >/dev/null 2>&1
|
|
rm -rf speedtest_v1.tar >/dev/null 2>&1
|
|
|
cd
|
|
cd
|
|
@@ -352,21 +352,21 @@ install_LACASITA_90() {
|
|
|
[[ ! -d /etc/VPS-MX/Slow/install ]] && mkdir /etc/VPS-MX/Slow/install
|
|
[[ ! -d /etc/VPS-MX/Slow/install ]] && mkdir /etc/VPS-MX/Slow/install
|
|
|
[[ ! -d /etc/VPS-MX/Slow/Key ]] && mkdir /etc/VPS-MX/Slow/Key
|
|
[[ ! -d /etc/VPS-MX/Slow/Key ]] && mkdir /etc/VPS-MX/Slow/Key
|
|
|
touch /usr/share/lognull &>/dev/null
|
|
touch /usr/share/lognull &>/dev/null
|
|
|
- wget https://raw.githubusercontent.com/NetVPS/Multi-Script/main/LACASITAMX-v9x/Otros/SPR -O /usr/bin/SPR &>/dev/null &>/dev/null
|
|
|
|
|
|
|
+ wget https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/LACASITAMX-v9x/Otros/SPR -O /usr/bin/SPR &>/dev/null &>/dev/null
|
|
|
chmod 775 /usr/bin/SPR &>/dev/null
|
|
chmod 775 /usr/bin/SPR &>/dev/null
|
|
|
- wget -O /bin/rebootnb https://raw.githubusercontent.com/NetVPS/Multi-Script/main/LACASITAMX-v9x/Otros/rebootnb &>/dev/null
|
|
|
|
|
|
|
+ wget -O /bin/rebootnb https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/LACASITAMX-v9x/Otros/rebootnb &>/dev/null
|
|
|
chmod +x /bin/rebootnb
|
|
chmod +x /bin/rebootnb
|
|
|
- wget -O /bin/resetsshdrop https://raw.githubusercontent.com/NetVPS/Multi-Script/main/LACASITAMX-v9x/Otros/resetsshdrop &>/dev/null
|
|
|
|
|
|
|
+ wget -O /bin/resetsshdrop https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/LACASITAMX-v9x/Otros/resetsshdrop &>/dev/null
|
|
|
chmod +x /bin/resetsshdrop
|
|
chmod +x /bin/resetsshdrop
|
|
|
- wget -O /etc/versin_script_new https://raw.githubusercontent.com/NetVPS/Multi-Script/main/LACASITAMX-v9x/Otros/Version &>/dev/null
|
|
|
|
|
- wget -O /etc/ssh/sshd_config https://raw.githubusercontent.com/NetVPS/Multi-Script/main/LACASITAMX-v9x/Otros/sshd &>/dev/null
|
|
|
|
|
|
|
+ wget -O /etc/versin_script_new https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/LACASITAMX-v9x/Otros/Version &>/dev/null
|
|
|
|
|
+ wget -O /etc/ssh/sshd_config https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/LACASITAMX-v9x/Otros/sshd &>/dev/null
|
|
|
chmod 777 /etc/ssh/sshd_config
|
|
chmod 777 /etc/ssh/sshd_config
|
|
|
- wget -O /usr/bin/trans https://raw.githubusercontent.com/NetVPS/Multi-Script/main/LACASITAMX-v9x/Otros/trans &>/dev/null
|
|
|
|
|
- wget -O /bin/Desbloqueo.sh https://raw.githubusercontent.com/NetVPS/Multi-Script/main/LACASITAMX-v9x/Otros/desbloqueo.sh &>/dev/null
|
|
|
|
|
|
|
+ wget -O /usr/bin/trans https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/LACASITAMX-v9x/Otros/trans &>/dev/null
|
|
|
|
|
+ wget -O /bin/Desbloqueo.sh https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/LACASITAMX-v9x/Otros/desbloqueo.sh &>/dev/null
|
|
|
chmod +x /bin/Desbloqueo.sh
|
|
chmod +x /bin/Desbloqueo.sh
|
|
|
- wget -O /bin/monitor.sh https://raw.githubusercontent.com/NetVPS/Multi-Script/main/LACASITAMX-v9x/Otros/monitor.sh &>/dev/null
|
|
|
|
|
|
|
+ wget -O /bin/monitor.sh https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/LACASITAMX-v9x/Otros/monitor.sh &>/dev/null
|
|
|
chmod +x /bin/monitor.sh
|
|
chmod +x /bin/monitor.sh
|
|
|
- wget -O /var/www/html/estilos.css https://raw.githubusercontent.com/NetVPS/Multi-Script/main/LACASITAMX-v9x/Otros/estilos.css &>/dev/null
|
|
|
|
|
|
|
+ wget -O /var/www/html/estilos.css https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/LACASITAMX-v9x/Otros/estilos.css &>/dev/null
|
|
|
[[ -f "/usr/sbin/ufw" ]] && ufw allow 443/tcp &>/dev/null
|
|
[[ -f "/usr/sbin/ufw" ]] && ufw allow 443/tcp &>/dev/null
|
|
|
ufw allow 80/tcp &>/dev/null
|
|
ufw allow 80/tcp &>/dev/null
|
|
|
ufw allow 3128/tcp &>/dev/null
|
|
ufw allow 3128/tcp &>/dev/null
|
|
@@ -377,9 +377,9 @@ install_LACASITA_90() {
|
|
|
echo "PasswordAuthentication yes" >>/etc/ssh/sshd_config
|
|
echo "PasswordAuthentication yes" >>/etc/ssh/sshd_config
|
|
|
rm -rf /usr/local/lib/systemubu1 &>/dev/null
|
|
rm -rf /usr/local/lib/systemubu1 &>/dev/null
|
|
|
rm -rf /etc/versin_script &>/dev/null
|
|
rm -rf /etc/versin_script &>/dev/null
|
|
|
- v1=$(curl -sSL "https://raw.githubusercontent.com/NetVPS/Multi-Script/main/LACASITAMX-v9x/Otros/Version")
|
|
|
|
|
|
|
+ v1=$(curl -sSL "https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/LACASITAMX-v9x/Otros/Version")
|
|
|
echo "$v1" >/etc/versin_script
|
|
echo "$v1" >/etc/versin_script
|
|
|
- wget -O /etc/versin_script_new https://raw.githubusercontent.com/NetVPS/Multi-Script/main/LACASITAMX-v9x/Otros/Version &>/dev/null
|
|
|
|
|
|
|
+ wget -O /etc/versin_script_new https://repo.yosoyhendrix.com/yosoyhendrix/Multi_Script/raw/main/LACASITAMX-v9x/Otros/Version &>/dev/null
|
|
|
echo '#!/bin/sh -e' >/etc/rc.local
|
|
echo '#!/bin/sh -e' >/etc/rc.local
|
|
|
sudo chmod +x /etc/rc.local
|
|
sudo chmod +x /etc/rc.local
|
|
|
echo "sudo rebootnb" >>/etc/rc.local
|
|
echo "sudo rebootnb" >>/etc/rc.local
|