forked from marciopocebon/Tishna
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Kali_Installer.sh
182 lines (170 loc) · 8.4 KB
/
Kali_Installer.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
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
# *************************************************************************************** #
# ---------------------------------- EULA NOTICE ---------------------------------------- #
# Agreement between "Haroon Awan" and "You"(user). #
# ---------------------------------- EULA NOTICE ---------------------------------------- #
# 1. By using this piece of software your bound to these point. #
# 2. This an End User License Agreement (EULA) is a legal between a software application #
# author "Haroon Awan" and (YOU) user of this software. #
# 3. This software application grants users rights to use for any purpose or modify and #
# redistribute creative works. #
# 4. This software comes in "is-as" warranty, author "Haroon Awan" take no responsbility #
# what you do with by/this software as your free to use this software. #
# 5. Any other purpose(s) that it suites as long as it is not related to any kind of #
# crime or using it in un-authorized environment. #
# 6. You can use this software to protect and secure your data information in any #
# environment. #
# 7. It can also be used in state of being protection against the unauthorized use of #
# information. #
# 8. It can be used to take measures achieve protection. #
# *************************************************************************************** #
#!/bin/bash
red="\e[0;31m"
green="\e[0;32m"
off="\e[0m"
function banner() {
clear
echo " ";
echo " ";
echo " ";
echo " ....###########...########....######....##...##....##.......##....########.... ";
echo " .......##...........##.......##..##....##...##....##.#.....##....##....##....... ";
echo " ...##...........##.......##........##...##....##..#....##....##....##... ";
echo " ..##...........##.......######....#######....##...##..##....########.. ";
echo " ...##...........##...........##....##...##....##.....#.##....##....##... ";
echo " .......##...........##.......##..##....##...##....##......###....##....##....... ";
echo " ....##........########....######....##...##....##.......##....##....##.... ";
echo " Powerful and A.I. Based Web Security Swiss Knife Version 1.0a ";
echo " [Coded By: Haroon Awan] ";
echo " [Contact: [email protected]] ";
echo " ";
echo " ";
echo " ";
}
function linux() {
echo -e "$red [$green+$red]$off Installing Perl ...";
sudo apt-get install -y perl
echo -e "$red [$green+$red]$off Installing JSON Module ...";
cpan install JSON
echo -e "$red [$green+$red]$off Installing Extra Perl Modules ...";
echo "y" | cpan install WWW::Mechanize
echo "y" | cpan install use HTML::TokeParser
echo "y" | cpan install Term::ANSIColor
echo "y" | cpan install HTML::LinkExtor
echo "y" | cpan install use Data::Dumper;
echo "y" | cpan install HTML::TreeBuilder;
echo "y" | cpan install WWW::Mechanize::Firefox;
echo "y" | cpan install WWW::Mechanize::TreeBuilder;
echo "y" | cpan install HTTP::Cookies;
echo "y" | cpan install HTML::XSSLint;
echo "y" | cpan install LWP;
echo "y" | cpan install LWP::Simple;
echo "y" | cpan install URI::URL;
echo "y" | cpan install HTML::XSSLint;
echo "y" | cpan install HTML::Form::XSS;
echo "y" | cpan install CGI;
echo "y" | cpan install HTTP::Request::Common;
echo "y" | cpan install WWW::Mechanize::Link;
echo "y" | cpan install HTTP::Request;
echo "y" | cpan install HTTP::Request::Common;
echo "y" | cpan install HTTP::Status;
echo "y" | cpan install HTML::Form;
echo "y" | cpan install IO::Socket;
echo "y" | cpan install IO::Socket::SecureSocks
echo "y" | cpan install URI::URL;
echo "y" | cpan install Mojo::DOM
echo "y" | cpan install Data::Dumper
echo "y" | cpan install Win32::Console::ANSI
echo "y" | cpan install HTML::TableExtract
echo "y" | cpan install Data::Validate::Domain
echo "y" | cpan install LWP::Protocol::https
echo "y" | cpan install Mozilla::CA
echo "y" | cpan install Bundle::LWP
echo -e "$red [$green+$red]$off Checking directories..."
if [ -d "/usr/share/tishna" ]; then
echo -e "$red [$green+$red]$off A Directory tishna Was Found! Do You Want To Replace It? [Y/n]:" ;
read replace
if [ "$replace" = "Y" ]; then
sudo rm -r "/usr/share/tishna"
sudo rm "/usr/share/icons/tishna.png"
sudo rm "/usr/share/applications/tishna.desktop"
sudo rm "/usr/local/bin/tishna"
else
echo -e "$red [$green+$red]$off If You Want To Install You Must Remove Previous Installations";
exit
fi
fi
echo -e "$red [$green+$red]$off Installing ...";
echo -e "$red [$green+$red]$off Creating Symbolic Link ...";
echo -e "#!/bin/bash
perl /usr/share/tishna/tishna.pl" '${1+"$@"}' > "tishna";
chmod +x "tishna";
sudo mkdir "/usr/share/tishna"
sudo cp "installer.sh" "/usr/share/tishna"
sudo cp "tishna.pl" "/usr/share/tishna"
sudo cp "config/tishna.jpeg" "/usr/share/icons"
sudo cp "config/tishna.desktop" "/usr/share/applications"
sudo cp "tishna" "/usr/local/bin/"
rm "tishna";
echo -e "$red [$green+$red]$off Installing dependencies..."
echo "y" | apt-get install xdg-utils
echo "y" | apt-get install cargo
echo "y" | apt-get install python-yaml
echo "y" | apt-get install hping3
echo "y" | apt-get install python2.7
echo "y" | apt-get install python3
echo "y" | apt-get install x11-utils xutils-dev imagemagick libxext-dev xspy
echo "y" | apt-get install golang
echo "y" | apt-get install curl
echo "y" | apt-get install jq
echo "y" | apt-get install nfs-common
echo "y" | apt-get install smbclient
echo "y" | apt-get install perl-LWP-Protocol-https
echo "y" | git clone https://github.com/tijme/angularjs-csti-scanner.git
echo "y" | git clone https://github.com/maxwellkoh/2FAssassin.git
echo "y" | git clone https://github.com/ticarpi/jwt_tool.git
echo "y" | git clone https://github.com/almandin/fuxploider.git
echo "y" | git clone https://github.com/epinna/tplmap.git
echo "y" | git clone https://github.com/In3tinct/See-SURF.git
echo "y" | git clone https://github.com/r0oth3x49/Xpath.git
echo "y" | git clone https://github.com/0xInfection/XSRFProbe.git
echo "y" | git clone https://github.com/swisskyrepo/SSRFmap.git
echo "y" | git clone https://github.com/BuffaloWill/oxml_xxe.git
echo "y" | git clone https://github.com/enjoiz/XXEinjector.git
echo "y" | git clone https://github.com/1N3/Wordpress-XMLRPC-Brute-Force-Exploit.git
echo "y" | git clone https://github.com/haroonawanofficial/cobra.git
echo "y" | git clone https://github.com/haroonawanofficial/maahro.git
echo "y" | git clone https://github.com/haroonawanofficial/ShaheenX.git
echo "y" | git clone https://github.com/haroonawanofficial/vasl.git
echo "y" | apt-get install nmap
echo "y" | apt-get install xrdp
echo "y" | apt-get install python-pip
echo "y" | apt-get install python3-pip
echo "y" | apt-get install python-setuptools
echo "y" | pip install setuptools
python setup.py install
pip install jsbeautifier
pip install argparse
pip install requests
pip install request
pip install colorlog
chmod u+x *.sh
cp * -r /usr/share/tishna
cp *.sh /usr/share/tishna
if [ -d "/usr/share/tishna" ] ;
then
echo -e "$red [$green+$red]$off tishna Successfully Installed, Starting";
sleep 2;
tishna
else
echo -e "$red [$green+$red]$off tishna Cannot Be Installed. Trying using Portable Edition !";
exit
fi
}
if [ -d "/usr/bin/" ];then
banner
echo -e "$red [$green+$red]$off tishna Will Be Installed In Your System";
linux
else
echo -e "$red [$green+$red]$off tishna Cannot Be Installed. Trying using Portable Edition !";
exit
fi