-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabcdef.sh
More file actions
129 lines (85 loc) · 1.69 KB
/
abcdef.sh
File metadata and controls
129 lines (85 loc) · 1.69 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
#! /bin/bash/
clear
echo "Welcome to this Framework "
#used to clearing the screen before and after the framework tools launch
function starting(){
echo "starting the tool "
for(( i=0;i<10;i++)) do
echo -n "====="
sleep 0.1s
done
sleep 1s
clear
}
#this funtion displays the avaliable location-phishing tools in the framework.
function location(){
cd ~/Downloads/majorproject11/loction_tools/seeker/
starting
python3 seeker.py
clear
}
#this funtion displays the avaliable camera-phishing tools in the framework.
function camera(){
cd ~/Downloads/majorproject11/camera/CamPhish
starting
bash camphish.sh
clear
}
#this funtion displays the avaliable website-cloning tools in the framework.
function website(){
cd ~/Downloads/majorproject11/website_cloning/zphisher
starting
bash zphisher.sh
clear
}
#redirect is for redirecting the respective categories tools
function redirect(){
case $1 in
1)
location
;;
2)
website
;;
3)
camera
;;
*)
echo "Invalid"
;;
esac
}
#selectt is used to read the input from user.
function selectt(){
read -p "Enter: " a
if [[ $a -lt 1 || $a -gt 4 ]]; then
clear
sleep 0.5s
echo "Please! enter the valid option "
elif [[ $a -eq 4 ]] ; then
echo "Exiting from frame work "
sleep 1.3s
op=1
else
clear
sleep 1s
redirect $a
op=1
fi
}
#options is used to display the different types of options that avaliable.
function options(){
echo "
1.Location Tools
2.website cloning Tools
3.camera phishing tools
4.Exit
"
}
#op ==> variable for detecting and running until the exiting the framework.
op=0
until [[ $op -eq 1 ]];do
options
selectt
done
#Who we are : CMRCET Students.