From c300676b8a6aafdf6b0d674bafefde31cbd1a559 Mon Sep 17 00:00:00 2001
From: MalinrRuwan <78165837+MalinrRuwan@users.noreply.github.com>
Date: Tue, 13 Jul 2021 15:49:52 +0530
Subject: [PATCH 1/9] added data usage nload
---
menu | 10 ++++++----
ssh.sh | 2 +-
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/menu b/menu
index 3314d6e..b9938f4 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
+ 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..54c859e 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
From ac603f43744b3c1d83b087042406ca969f1f19f8 Mon Sep 17 00:00:00 2001
From: MalinrRuwan <78165837+MalinrRuwan@users.noreply.github.com>
Date: Tue, 13 Jul 2021 15:55:00 +0530
Subject: [PATCH 2/9] Update ssh.sh
---
ssh.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ssh.sh b/ssh.sh
index 54c859e..d637fa1 100644
--- a/ssh.sh
+++ b/ssh.sh
@@ -192,7 +192,7 @@ wget https://raw.githubusercontent.com/iamtrazy/rezoth-ssh/main/etc/DelUser.sh
wget https://raw.githubusercontent.com/iamtrazy/rezoth-ssh/main/etc/ListUsers.sh
wget https://raw.githubusercontent.com/iamtrazy/rezoth-ssh/main/etc/RemoveScript.sh
wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
-wget https://raw.githubusercontent.com/iamtrazy/rezoth-ssh/main/menu
+wget https://raw.githubusercontent.com/MalinrRuwan/rezoth-ssh/main/menu
mv ChangeUser.sh /etc/rezoth-ssh/ChangeUser.sh
mv ChangePorts.sh /etc/rezoth-ssh/ChangePorts.sh
mv UserManager.sh /etc/rezoth-ssh/UserManager.sh
From 126f52ba6dea77b72724ba3ee43d2e4cd3ef9574 Mon Sep 17 00:00:00 2001
From: MalinrRuwan <78165837+MalinrRuwan@users.noreply.github.com>
Date: Tue, 13 Jul 2021 15:56:04 +0530
Subject: [PATCH 3/9] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 479ba9d..79a33be 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/MalinrRuwan/rezoth-ssh/main/ssh.sh && sudo chmod +x ssh.sh && sudo ./ssh.sh
```
‼️Attention -: Please Use A Strong Password As Default Password.
From 27abb06cc3434ee0845edc12e847eab67b1fb285 Mon Sep 17 00:00:00 2001
From: MalinrRuwan <78165837+MalinrRuwan@users.noreply.github.com>
Date: Tue, 13 Jul 2021 16:31:19 +0530
Subject: [PATCH 4/9] bug fixes
---
menu | 2 +-
ssh.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/menu b/menu
index b9938f4..cbdbc88 100644
--- a/menu
+++ b/menu
@@ -58,7 +58,7 @@ 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) clear && nload
+ 9) clear && nload || echo "click ctrl+c to end and type menu to go back to the panel";;
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;;
diff --git a/ssh.sh b/ssh.sh
index d637fa1..e6ed2c5 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 nload
+ 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
From 6756b3a8343ca128a78192d64398062bdcd11a43 Mon Sep 17 00:00:00 2001
From: MalinrRuwan <78165837+MalinrRuwan@users.noreply.github.com>
Date: Tue, 13 Jul 2021 16:52:42 +0530
Subject: [PATCH 5/9] Update menu
---
menu | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/menu b/menu
index cbdbc88..755669d 100644
--- a/menu
+++ b/menu
@@ -58,7 +58,7 @@ 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) clear && nload || echo "click ctrl+c to end and type menu to go back to the panel";;
+ 9) clear && nload;;
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;;
From d1767bcd43bd368110641b62af28a4062635d1d7 Mon Sep 17 00:00:00 2001
From: MalinrRuwan <78165837+MalinrRuwan@users.noreply.github.com>
Date: Tue, 13 Jul 2021 18:16:15 +0530
Subject: [PATCH 6/9] Update menu
---
menu | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/menu b/menu
index 755669d..ac852b5 100644
--- a/menu
+++ b/menu
@@ -58,7 +58,7 @@ 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) clear && nload;;
+ 9) clear && nload eth0 echo Press Ctrl+c to go back.;;
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;;
From 0e5396d360ca46317ba30d541d2ee9282635cdc3 Mon Sep 17 00:00:00 2001
From: MalinrRuwan <78165837+MalinrRuwan@users.noreply.github.com>
Date: Tue, 13 Jul 2021 22:21:58 +0530
Subject: [PATCH 7/9] updated nload
---
etc/RemoveScript.sh | 1 +
menu | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
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 ac852b5..221b608 100644
--- a/menu
+++ b/menu
@@ -58,7 +58,7 @@ 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) clear && nload eth0 echo Press Ctrl+c to go back.;;
+ 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;;
From bc0e8f22e3dedf74927eaec52ca6b40099f7b166 Mon Sep 17 00:00:00 2001
From: MalinrRuwan <78165837+MalinrRuwan@users.noreply.github.com>
Date: Wed, 14 Jul 2021 00:20:48 +0530
Subject: [PATCH 8/9] undo changes
---
README.md | 2 +-
ssh.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 79a33be..922594a 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/MalinrRuwan/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/ssh.sh b/ssh.sh
index e6ed2c5..a02f5e6 100644
--- a/ssh.sh
+++ b/ssh.sh
@@ -192,7 +192,7 @@ wget https://raw.githubusercontent.com/iamtrazy/rezoth-ssh/main/etc/DelUser.sh
wget https://raw.githubusercontent.com/iamtrazy/rezoth-ssh/main/etc/ListUsers.sh
wget https://raw.githubusercontent.com/iamtrazy/rezoth-ssh/main/etc/RemoveScript.sh
wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
-wget https://raw.githubusercontent.com/MalinrRuwan/rezoth-ssh/main/menu
+wget https://raw.githubusercontent.com/iamtrazy/rezoth-ssh/main/menu
mv ChangeUser.sh /etc/rezoth-ssh/ChangeUser.sh
mv ChangePorts.sh /etc/rezoth-ssh/ChangePorts.sh
mv UserManager.sh /etc/rezoth-ssh/UserManager.sh
From 84e2a1d74d0278ad4886b805ff15c7f7d4921ddb Mon Sep 17 00:00:00 2001
From: MalinrRuwan <78165837+MalinrRuwan@users.noreply.github.com>
Date: Wed, 14 Jul 2021 00:22:38 +0530
Subject: [PATCH 9/9] Update README.md
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 922594a..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.