Skip to content

Commit 4e76a4f

Browse files
committed
ncurses-utils for termux
1 parent e8e7889 commit 4e76a4f

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

zphisher.sh

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
## THANKS TO :
99
## Aditya Shakya - https://github.com/adi1090x
1010
## 1RaY-1 - https://github.com/1RaY-1
11+
## Ali Milani Amin - https://github.com/AliMilani
1112
## Moises Tapia - https://github.com/MoisesTapia
1213
## TheLinuxChoice - https://twitter.com/linux_choice
1314
## DarksecDevelopers - https://github.com/DarksecDevelopers
@@ -187,6 +188,14 @@ dependencies() {
187188
echo -e "\n${GREEN}[${WHITE}+${GREEN}]${CYAN} Installing package : ${ORANGE}proot${CYAN}"${WHITE}
188189
pkg install proot resolv-conf -y
189190
fi
191+
192+
if [[ `command -v tput` ]]; then
193+
printf ''
194+
else
195+
echo -e "\n${GREEN}[${WHITE}+${GREEN}]${CYAN} Installing package : ${ORANGE}ncurses-utils${CYAN}"${WHITE}
196+
pkg install ncurses-utils -y
197+
fi
198+
190199
fi
191200

192201
if [[ `command -v php` && `command -v wget` && `command -v curl` && `command -v unzip` ]]; then
@@ -309,7 +318,7 @@ about() {
309318
${GREEN}Version ${RED}: ${ORANGE}2.2
310319
311320
${REDBG}${WHITE} Thanks : Adi1090x,MoisesTapia,ThelinuxChoice
312-
DarkSecDevelopers,Mustakim Ahmed,1RaY-1 ${RESETBG}
321+
DarkSecDevelopers,Mustakim Ahmed,1RaY-1,AliMilani ${RESETBG}
313322
314323
${RED}Warning:${WHITE}
315324
${CYAN}This Tool is made for educational purpose only ${RED}!${WHITE}
@@ -392,7 +401,7 @@ start_ngrok() {
392401
echo -ne "\n\n${RED}[${WHITE}-${RED}]${GREEN} Launching Ngrok..."
393402

394403
if [[ `command -v termux-chroot` ]]; then
395-
sleep 2 && termux-chroot ./.server/ngrok http "$HOST":"$PORT" > /dev/null 2>&1 & # Thanks to Mustakim Ahmed (https://github.com/BDhackers009)
404+
sleep 2 && termux-chroot ./.server/ngrok http "$HOST":"$PORT" > /dev/null 2>&1 &
396405
else
397406
sleep 2 && ./.server/ngrok http "$HOST":"$PORT" > /dev/null 2>&1 &
398407
fi

0 commit comments

Comments
 (0)