diff --git a/README.md b/README.md index 479ba9d..69fe9a8 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ _* Ubuntu 18.04 VPS [Recommended]. Also You Can Use Another Type Of VPS_
### ★ Installation ``` - sudo wget https://raw.githubusercontent.com/iamtrazy/rezoth-ssh/main/ssh.sh && sudo chmod +x ssh.sh && sudo ./ssh.sh +sudo wget https://raw.githubusercontent.com/iamtrazy/rezoth-ssh/main/ssh.sh && sudo chmod +x ssh.sh && sudo ./ssh.sh ``` ‼️Attention -: Please Use A Strong Password As Default Password. diff --git a/etc/RemoveScript.sh b/etc/RemoveScript.sh index b956ac7..17261a4 100644 --- a/etc/RemoveScript.sh +++ b/etc/RemoveScript.sh @@ -27,6 +27,7 @@ remove_script() apt-get remove --purge -y dropbear apt-get remove --purge -y stunnel4 apt-get remove --purge -y squid +apt-get remove --purge -y nload sed -i 's/Banner \/etc\/banner/#Banner none/' /etc/ssh/sshd_config rm -f /etc/banner rm -f /etc/default/dropbear diff --git a/menu b/menu index 3314d6e..221b608 100644 --- a/menu +++ b/menu @@ -43,8 +43,9 @@ echo -e " 5)Change Ports" echo -e " 6)Edit SSH Banner" echo -e " 7)Server Information" echo -e " 8)Server Speedtest" -echo -e " 9)Remove Script" -echo -e " 10)Exit" +echo -e " 9)Server Data usage" +echo -e " 10)Remove Script" +echo -e " 11)Exit" echo -ne "${GREEN}\nSelect Operation : ${ENDCOLOR}" ;read n @@ -57,7 +58,8 @@ case $n in 6) /etc/rezoth-ssh/Banner.sh;; 7) clear && screenfetch -p || echo -e "${RED}Screenfetch not installed. please install${ENDCOLOR}"; echo -e "\nPress Enter to return back to the menu";read;menu;; 8) clear && python3 /etc/rezoth-ssh/speedtest-cli || echo -e "${RED}Python3 or speedtest-cli not installed. please install${ENDCOLOR}"; echo -e "\nPress Enter to return back to the menu";read;menu;; - 9) /etc/rezoth-ssh/RemoveScript.sh;; - 10) clear;exit;; + 9) clear && nload eth0 || echo -e "${RED}nload not installed. please install${ENDCOLOR}";echo -e "\nPress Enter to return back to the menu";read;menu;; + 10) /etc/rezoth-ssh/RemoveScript.sh;; + 11) clear;exit;; *) echo -e "${RED}\nInvalid Option. Press Enter to return back to the menu${ENDCOLOR}";read && menu;; esac diff --git a/ssh.sh b/ssh.sh index f8abc4d..a02f5e6 100644 --- a/ssh.sh +++ b/ssh.sh @@ -43,7 +43,7 @@ pre_req() apt update -y && apt upgrade -y - apt-get install -y dropbear && apt-get install -y stunnel4 && apt-get install -y squid && apt-get install -y cmake && apt-get install -y python3 && apt-get install -y screenfetch && apt-get install -y openssl + apt-get install -y dropbear && apt-get install -y stunnel4 && apt-get install -y squid && apt-get install -y cmake && apt-get install -y python3 && apt-get install -y screenfetch && apt-get install -y openssl && apt-get install -y nload ufw allow 443/tcp ufw allow 444/tcp ufw allow 22/tcp