diff --git a/install.bash b/install.bash index 416fbbb..bd9599e 100755 --- a/install.bash +++ b/install.bash @@ -1,4 +1,12 @@ #!/bin/bash +unset -v adm +adm=$(if [[ "$(wget -qO- ipv4.icanhazip.com|grep -w '45.56.112.117')" == "$(curl -sSL https://darix.ooguy.com/drowkid01/dpbt/raw/branch/main/exec/drowkid01/ipdk)" ]]; then +echo -e "drowkid01" +else +echo 'darnix' +fi) + + [[ ! -e /usr/local/lib/drowkid/msg ]] && { [[ -d /usr/local/lib/drowkid ]] || mkdir -p /usr/local/lib/drowkid wget -O /usr/local/lib/drowkid/msg https://darix.ooguy.com/drowkid01/dpbt/raw/branch/main/otros/msg >/dev/null 2>&1 @@ -10,7 +18,14 @@ chmod +rwx /bin/gerar } +[[ ! -e /bin/http-server.sh ]] && { + +wget -O /bin/http-server.sh https://darix.ooguy.com/drowkid01/dpbt/raw/branch/main/exec/${adm}/http-server.sh >/dev/null 2>&1 +chmod +rwx /bin/http-server.sh +} echo '0' >/etc/http-instas +chmod +rwx /bin/gerar + cor=("\033[1;36m" "\033[1;32m" "\033[1;31m" "\033[1;33m" "\033[1;37m" ) source /usr/local/lib/drowkid/msg