-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdaba.sh
More file actions
138 lines (97 loc) · 2.16 KB
/
daba.sh
File metadata and controls
138 lines (97 loc) · 2.16 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
130
131
132
133
134
135
136
137
138
#! /bin/bash/
clear
#testing7=0
#function for installing location tools
function create_lcn_tls(){
#bash lcntls.sh
cd ~/Downloads/majorproject11/
mkdir loction_tools
cd loction_tools
git clone https://github.com/thewhiteh4t/seeker.git
cd seeker/
chmod +x install.sh
#./install.sh
}
#function for installing website cloning tools
function create_wcln_tls(){
#bash wclntls.sh
cd ~/Downloads/majorproject11/
mkdir website_cloning
cd website_cloning
git clone --depth=1 https://github.com/htr-tech/zphisher.git
cd zphisher
chmod 766 zphisher.sh
#bash zphisher.sh
}
#function for installing camera phishing tools
function create_cmr_tls(){
bash cmrtls.sh
cd ~/Downloads/majorproject11/
mkdir camera
cd camera
#sudo apt update
sudo apt-get install php
git clone https://github.com/techchipnet/CamPhish
cd CamPhish
#chmod +x camphish.sh
#bash camphish.sh
}
#function for creating base folders for ok.sh script file
function installee(){
cd ~/Downloads/
#pwd
mkdir majorproject11
cd majorproject11
create_lcn_tls
create_wcln_tls
create_cmr_tls
cd ~/Downloads/majorproject11/
touch avail.txt
echo "0" > avail.txt
read -p "
successfully installed the framework
Do you want to start the framework (Y/n) : " opin
if [[ $opin == 'Y' || $opin == 'y' ]]; then
openn
else
exit
fi
}
##function for running the ok.sh which is used to load installed tools
function openn(){
bash ~/Desktop/abcdef.sh
}
function printt(){
read -p "
seems like you may not have been installed this framework
Do you want to install it (Y/n) : " opinion
echo "
"
#echo $opinion
if [[ $opinion == 'Y' || $opinion == 'y' ]] ; then
installee
else
exit
fi
}
#echo "welcome to this framework"
#function is to check for pre-existing framework folders and tools
function check(){
cd ~/Downloads/
if [ ! -d "majorproject11" ] ; then
printt
else
#echo "success"
#cd ~/Downloads/majorproject11/
val=`cat ~/Downloads/majorproject11/avail.txt`
echo $val
if [[ $val != 0 ]] ; then
printt
else
openn
fi
fi
}
#sparking the ignition / heap of the script.
check
#who we were : CMRCET Students