Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Install/Url
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
________________________
Resource Locator:

https://raw.githubusercontent.com/januda-ui/DRAGON-VPS-MANAGER/main/hehe
https://raw.githubusercontent.com/m0hammadhossein/DRAGON-VPS-MANAGER/main/hehe

https://raw.githubusercontent.com/januda-ui/DRAGON-VPS-MANAGER/main/Install/versao
https://raw.githubusercontent.com/m0hammadhossein/DRAGON-VPS-MANAGER/main/Install/versao

https://raw.githubusercontent.com/januda-ui/DRAGON-VPS-MANAGER/main/Modulos/$_arq
https://raw.githubusercontent.com/m0hammadhossein/DRAGON-VPS-MANAGER/main/Modulos/$_arq

https://raw.githubusercontent.com/shellscriptx/shellbot/master/ShellBot.sh

https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64

https://raw.githubusercontent.com/fabricio94b/SQUID3/main/squid3

https://raw.githubusercontent.com/januda-ui/DRAGON-VPS-MANAGER/main/Install/stunnel.pem
https://raw.githubusercontent.com/m0hammadhossein/DRAGON-VPS-MANAGER/main/Install/stunnel.pem

https://github.com/OpenVPN/easy-rsa/releases/download/3.0.1/EasyRSA-3.0.1.tgz

https://raw.githubusercontent.com/januda-ui/DRAGON-VPS-MANAGER/main/Install/sshd_config
https://raw.githubusercontent.com/m0hammadhossein/DRAGON-VPS-MANAGER/main/Install/sshd_config

__________________
IP locator:
Expand Down
14 changes: 7 additions & 7 deletions Install/list
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

_lvk=$(wget -qO- https://raw.githubusercontent.com/januda-ui/DRAGON-VPS-MANAGER/main/Sistema/versao)
_lvk=$(wget -qO- https://raw.githubusercontent.com/m0hammadhossein/DRAGON-VPS-MANAGER/main/Sistema/versao)
IP=$(wget -qO- ipv4.icanhazip.com)
IP2=$(wget -qO- http://whatismyip.akamai.com/)
[[ "$IP" != "$IP2" ]] && ipdovps="$IP2" || ipdovps="$IP"
Expand Down Expand Up @@ -37,12 +37,12 @@ _mdls=("addhost" "delhost" "alterarsenha" "criarusuario" "expcleaner" "mudardata
_mdls2=("onlineapp.sh")
for _arq in ${_mdls[@]}; do
[[ -e $_dir1/$_arq ]] && rm $_dir1/$_arq >/dev/null 2>&1
wget -c -P $_dir1 https://raw.githubusercontent.com/januda-ui/DRAGON-VPS-MANAGER/main/Modulos/$_arq
wget -c -P $_dir1 https://raw.githubusercontent.com/m0hammadhossein/DRAGON-VPS-MANAGER/main/Modulos/$_arq
chmod +x $_dir1/$_arq
done
for _arq in ${_mdls2[@]}; do
[[ -e $_dir3/$_arq ]] && rm $_dir3/$_arq >/dev/null 2>&1
wget -c -P $_dir3 https://raw.githubusercontent.com/januda-ui/DRAGON-VPS-MANAGER/main/Modulos/$_arq
wget -c -P $_dir3 https://raw.githubusercontent.com/m0hammadhossein/DRAGON-VPS-MANAGER/main/Modulos/$_arq
chmod +x $_dir3/$_arq
done
cd /var/www/html && mkdir server
Expand All @@ -67,7 +67,7 @@ clear
#AUTOMATIC START' >/etc/autostart
chmod +x /etc/autostart
} || {
[[ $(ps x | grep "bot_plus" | grep -v grep | wc -l) != '0' ]] && wget -qO- https://raw.githubusercontent.com/januda-ui/DRAGON-VPS-MANAGER/main/Install/ShellBot.sh
[[ $(ps x | grep "bot_plus" | grep -v grep | wc -l) != '0' ]] && wget -qO- https://raw.githubusercontent.com/m0hammadhossein/DRAGON-VPS-MANAGER/main/Install/ShellBot.sh
for proc in $(ps x | grep 'dmS' | grep -v 'grep' | awk {'print $1'}); do
screen -r -S "$proc" -X quit
done
Expand All @@ -78,7 +78,7 @@ clear
#AUTOMATIC START' >/etc/autostart
chmod +x /etc/autostart
} || {
[[ $(ps x | grep "bot_teste" | grep -v grep | wc -l) != '0' ]] && wget -qO- https://raw.githubusercontent.com/januda-ui/DRAGON-VPS-MANAGER/main/Install/ShellBot.sh
[[ $(ps x | grep "bot_teste" | grep -v grep | wc -l) != '0' ]] && wget -qO- https://raw.githubusercontent.com/m0hammadhossein/DRAGON-VPS-MANAGER/main/Install/ShellBot.sh
for proc in $(ps x | grep 'dmS' | grep -v 'grep' | awk {'print $1'}); do
screen -r -S "$proc" -X quit
done
Expand All @@ -89,7 +89,7 @@ clear
#AUTOMATIC START' >/etc/autostart
chmod +x /etc/autostart
} || {
[[ $(ps x | grep "bot_gen" | grep -v grep | wc -l) != '0' ]] && wget -qO- https://raw.githubusercontent.com/januda-ui/DRAGON-VPS-MANAGER/main/Install/ShellBot.sh
[[ $(ps x | grep "bot_gen" | grep -v grep | wc -l) != '0' ]] && wget -qO- https://raw.githubusercontent.com/m0hammadhossein/DRAGON-VPS-MANAGER/main/Install/ShellBot.sh
for proc in $(ps x | grep 'dmS' | grep -v 'grep' | awk {'print $1'}); do
screen -r -S "$proc" -X quit
done
Expand All @@ -110,7 +110,7 @@ crontab -r >/dev/null 2>&1
echo "*/1 * * * * cd /root/ && ./onlineapp.sh"
) | crontab -
echo "$_lvk" | sed -n '1 p' | cut -d' ' -f2 >/bin/versao && cat /bin/versao >/home/vpsmanager
wget https://github.com/januda-ui/DRAGON-VPS-MANAGER/raw/main/Install/jq-linux64 >/dev/null 2>&1
wget https://github.com/m0hammadhossein/DRAGON-VPS-MANAGER/raw/main/Install/jq-linux64 >/dev/null 2>&1
chmod +x jq-linux64 && mv jq-linux64 $(which jq)
service cron restart >/dev/null 2>&1
service ssh restart >/dev/null 2>&1
Expand Down
8 changes: 4 additions & 4 deletions Modulos/badvpn
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fun_badvpn() {
fi
var_sks1=$(ps x | grep "udpvpn"|grep -v grep > /dev/null && echo -e "\033[1;32m♦ " || echo -e "\033[1;31m○ ")
echo ""
echo -e "\033[1;31m[\033[1;36m1\033[1;31m] \033[1;37m• \033[1;33mACTIVATE BADVPN(Port 7300) $var_sks1 \033[0m"
echo -e "\033[1;31m[\033[1;36m1\033[1;31m] \033[1;37m• \033[1;33mACTIVATE BADVPN(Port 7200) $var_sks1 \033[0m"
echo -e "\033[1;31m[\033[1;36m2\033[1;31m] \033[1;37m• \033[1;33mOPEN THE PORT\033[0m"
echo -e "\033[1;31m[\033[1;36m0\033[1;31m] \033[1;37m• \033[1;33mCOME BACK\033[0m"
echo ""
Expand Down Expand Up @@ -43,12 +43,12 @@ fun_badvpn() {
clear
echo -e "\033[1;32m◇ STARTING BADVPN... \033[0m\n"
fun_udpon () {
screen -dmS udpvpn /bin/badvpn-udpgw --listen-addr 127.0.0.1:7300 --max-clients 10000 --max-connections-for-client 8
screen -dmS udpvpn /bin/badvpn-udpgw --listen-addr 127.0.0.1:7200 --max-clients 10000 --max-connections-for-client 8
[[ $(grep -wc "udpvpn" /etc/autostart) = '0' ]] && {
echo -e "ps x | grep 'udpvpn' | grep -v 'grep' || screen -dmS udpvpn /bin/badvpn-udpgw --listen-addr 127.0.0.1:7300 --max-clients 10000 --max-connections-for-client 8 --client-socket-sndbuf 10000" >> /etc/autostart
echo -e "ps x | grep 'udpvpn' | grep -v 'grep' || screen -dmS udpvpn /bin/badvpn-udpgw --listen-addr 127.0.0.1:7200 --max-clients 10000 --max-connections-for-client 8 --client-socket-sndbuf 10000" >> /etc/autostart
} || {
sed -i '/udpvpn/d' /etc/autostart
echo -e "ps x | grep 'udpvpn' | grep -v 'grep' || screen -dmS udpvpn /bin/badvpn-udpgw --listen-addr 127.0.0.1:7300 --max-clients 10000 --max-connections-for-client 8 --client-socket-sndbuf 10000" >> /etc/autostart
echo -e "ps x | grep 'udpvpn' | grep -v 'grep' || screen -dmS udpvpn /bin/badvpn-udpgw --listen-addr 127.0.0.1:7200 --max-clients 10000 --max-connections-for-client 8 --client-socket-sndbuf 10000" >> /etc/autostart
}
sleep 1
}
Expand Down
8 changes: 4 additions & 4 deletions Modulos/conexao
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ SCOLOR='\033[0m'
if netstat -nltp | grep 'dropbear' 1>/dev/null 2>/dev/null; then
clear
[[ $(netstat -nltp | grep -c 'dropbear') != '0' ]] && dpbr=$(netstat -nplt | grep 'dropbear' | awk -F ":" {'print $4'} | xargs) || sqdp="\033[1;31mINDISPONIVEL"
if ps x | grep "limiter" | grep -v grep 1>/dev/null 2>/dev/null; then
if ps x | grep "droplimiter" | grep -v grep 1>/dev/null 2>/dev/null; then
stats='\033[1;32m♦ '
else
stats='\033[1;31m○ '
Expand All @@ -338,11 +338,11 @@ SCOLOR='\033[0m'
read resposta
if [[ "$resposta" = '1' ]]; then
clear
if ps x | grep "limiter" | grep -v grep 1>/dev/null 2>/dev/null; then
if ps x | grep "droplimiter" | grep -v grep 1>/dev/null 2>/dev/null; then
echo -e "\033[1;32mstopping the limiter... \033[0m"
echo ""
fun_stplimiter() {
pidlimiter=$(ps x | grep "limiter" | awk -F "pts" {'print $1'})
pidlimiter=$(ps x | grep "droplimiter" | awk -F "pts" {'print $1'})
kill -9 $pidlimiter
screen -wipe
}
Expand All @@ -353,7 +353,7 @@ SCOLOR='\033[0m'
else
echo -e "\n\033[1;32mStarting the limiter... \033[0m"
echo ""
fun_bar 'screen -d -m -t limiter droplimiter' 'sleep 3'
fun_bar 'screen -d -m -t droplimiter droplimiter' 'sleep 3'
echo -e "\n\033[1;32m LIMITER ENABLED \033[0m"
sleep 3
fun_drop
Expand Down
14 changes: 7 additions & 7 deletions Modulos/menu
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ function limit1 () {
clear
echo -e "\n\033[1;32m◇ㅤSTARTING USER LIMITER... \033[0m"
echo ""
fun_bar 'screen -dmS limiter limiter' 'sleep 3'
fun_bar 'screen -dmS sshlimiter limiter' 'sleep 3'
[[ $(grep -wc "limiter" /etc/autostart) = '0' ]] && {
echo -e "ps x | grep 'limiter' | grep -v 'grep' && echo 'ON' || screen -dmS limiter limiter" >> /etc/autostart
echo -e "ps x | grep 'sshlimiter' | grep -v 'grep' && echo 'ON' || screen -dmS sshlimiter limiter" >> /etc/autostart
} || {
sed -i '/limiter/d' /etc/autostart
echo -e "ps x | grep 'limiter' | grep -v 'grep' && echo 'ON' || screen -dmS limiter limiter" >> /etc/autostart
echo -e "ps x | grep 'sshlimiter' | grep -v 'grep' && echo 'ON' || screen -dmS sshlimiter limiter" >> /etc/autostart
}
echo -e "\n\033[1;32m◇ㅤUSER LIMITER ACTIVED !\033[0m"
sleep 3
Expand All @@ -100,9 +100,9 @@ function limit2 () {
echo ""
fun_stplimiter () {
sleep 1
screen -r -S "limiter" -X quit
screen -r -S "sshlimiter" -X quit
screen -wipe 1>/dev/null 2>/dev/null
[[ $(grep -wc "limiter" /etc/autostart) != '0' ]] && {
[[ $(grep -wc "sshlimiter" /etc/autostart) != '0' ]] && {
sed -i '/limiter/d' /etc/autostart
}
sleep 1
Expand All @@ -113,7 +113,7 @@ function limit2 () {
menu
}
function limit_ssh () {
[[ $(ps x | grep "limiter"|grep -v grep |wc -l) = '0' ]] && limit1 || limit2
[[ $(ps x | grep "sshlimiter"|grep -v grep |wc -l) = '0' ]] && limit1 || limit2
}

function autoexec () {
Expand Down Expand Up @@ -262,7 +262,7 @@ esac
}
while true $x != "ok"
do
stsl=$(ps x | grep "limiter"|grep -v grep > /dev/null && echo -e "\033[1;32m♦ " || echo -e "\033[1;31m○ ")
stsl=$(ps x | grep "sshlimiter"|grep -v grep > /dev/null && echo -e "\033[1;32m♦ " || echo -e "\033[1;31m○ ")
stsu=$(ps x | grep "udpvpn"|grep -v grep > /dev/null && echo -e "\033[1;32m♦ " || echo -e "\033[1;31m○ ")
if [[ "$(grep -c "Ubuntu" /etc/issue.net)" = "1" ]]; then
system=$(cut -d' ' -f1 /etc/issue.net)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ___REFERRAL LINK___
___Update System Packages and Install SCRIPT___

```
apt-get update -y; apt-get upgrade -y; wget https://raw.githubusercontent.com/januda-ui/DRAGON-VPS-MANAGER/main/hehe; chmod 777 hehe;./hehe
apt-get update -y; apt-get upgrade -y; wget https://raw.githubusercontent.com/m0hammadhossein/DRAGON-VPS-MANAGER/main/hehe; chmod 777 hehe;./hehe

```

Expand Down
4 changes: 2 additions & 2 deletions hehe
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ echo -ne "\033[1;36m◇ Want to continue? [Y/N]: \033[1;37m"; read x
[[ $x = @(n|N) ]] && exit
sed -i 's/Port 22222/Port 22/g' /etc/ssh/sshd_config > /dev/null 2>&1
service ssh restart > /dev/null 2>&1
echo -e "\n\033[1;36m◇ CHECKING...(It Take Some Time Please Wait!)\033[1;37m 16983:16085\033[0m" ; rm $_Ink/list > /dev/null 2>&1; wget -P $_Ink https://raw.githubusercontent.com/januda-ui/DRAGON-VPS-MANAGER/main/Install/list > /dev/null 2>&1; verif_key
echo -e "\n\033[1;36m◇ CHECKING...(It Take Some Time Please Wait!)\033[1;37m 16983:16085\033[0m" ; rm $_Ink/list > /dev/null 2>&1; wget -P $_Ink https://raw.githubusercontent.com/m0hammadhossein/DRAGON-VPS-MANAGER/main/Install/list > /dev/null 2>&1; verif_key
sleep 3s
echo "/bin/menu" > /bin/h && chmod +x /bin/h > /dev/null 2>&1
rm versao* > /dev/null 2>&1
wget https://raw.githubusercontent.com/januda-ui/DRAGON-VPS-MANAGER/main/Install/versao > /dev/null 2>&1
wget https://raw.githubusercontent.com/m0hammadhossein/DRAGON-VPS-MANAGER/main/Install/versao > /dev/null 2>&1
> /dev/null 2>&1
wget https://iplogger.org/2lHZ43 > /dev/null 2>&1
> /dev/null 2>&1
Expand Down