forked from Deminarcis/PenBox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install-pentest-tools.sh
415 lines (377 loc) · 20.6 KB
/
install-pentest-tools.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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
#!/bin/bash
read -p "[*]Please enter your username, this will help me fix permissions:" myname
clear
echo "[*]what would be your prefered directory name for the tools? the tools will be installed in /opt/nameyouchose"
clear
read -p "[*]Please enter the directory name you would like:" mydirectory
clear
## Fedora Install 27+
if cat /etc/fedora-release | grep 2*
then
echo "Fedora"
dnf update -y
dnf upgrade -y
dnf remove totem rhythmbox evolution -y
dnf install -y kernel-headers kernel-devel gcc glibc-headers rpm-build
dnf groupinstall -y "C Development Tools and Libraries"
dnf groupinstall -y "Development Tools"
dnf groupinstall -y security-lab
wget -nc https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-28.noarch.rpm
wget -nc https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-28.noarch.rpm
dnf install rpmfusion-free-release-28.noarch.rpm -y
dnf install rpmfusion-nonfree-release-28.noarch.rpm -y
rm rpmfusion-*
dnf install -y nano scalpel foremost scapy srm yersinia hping3 tcpreplay tcpick socat ophcrack gdb stunnel cmake flex eog openconnect gengetopt steghide whois aircrack-ng gimp iw extundelete rpcbind rdesktop sshfs bzip2 gnome-tweak-tool libtool irssi medusa hydra hydra-frontend terminator curl proxychains perl-Image-ExifTool p7zip p7zip-plugins libpcap htop gnupg subversion git traceroute gparted pidgin pidgin-otr ghex ettercap libnetfilter_queue-devel openvpn dsniff tcpdump john nmap nbtscan wireshark java-1.8.0-openjdk vconfig reaver pyrit thc-ipv6 freerdp qemu-kvm binwalk virt-manager qemu-system-x86 gvfs-fuse autoconf postgresql pgadmin3 chromium vlc php-cli
dnf install -y ruby ruby-devel rubygem-bundler rubygem-json rubygem-i18n ruby-irb rubygems rubygem-bigdecimal rubygem-rake rubygem-sqlite3 golang keepass
dnf install -y python python-pip python-setuptools python-libs python-magic python-netaddr python3-netaddr python-inotify python3-configobj python2-configobj python-msgpack python-requests python-pefile pylibpcap python-dns python-cryptography python-devel python-twisted capstone-python python-urllib3 python-pillow python-beautifulsoup python-beautifulsoup4 python2-selenium python3-selenium python-impacket
dnf install -y readline readline-devel capstone libnl3-devel capstone-devel capstone-python3 openssl openssl-devel libxml2 libxml2-devel libxslt libxslt-devel libyaml libyaml-devel libffi libffi-devel libssh libssh-devel libpqxx libpqxx-devel libsqlite3x libsqlite3x-devel libpcap libpcap-devel pcre libcurl-devel libnfnetlink libnfnetlink-devel libnetfilter_queue-devel zlib-devel zlibrary xz-devel zlibrary-devel postgresql-devel libidn libidn-devel ncurses-libs ncurses ncurses-devel libappindicator libindicator m2crypto
wget -nc https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
dnf install -y google-chrome-stable_current_x86_64.rpm
rm google-chrome-stable_current_x86_64.rpm
## Ubuntu Install 18+
elif cat /etc/lsb-release | grep 18.*
then
echo "Ubuntu"
apt-get update -y
apt-get upgrade -y
apt-get dist-upgrade -y
apt-get remove -y --purge rhythmbox ekiga totem transmission-gtk thunderbird apport
export DEBIAN_FRONTEND=noninteractive
apt-get install -yq aptitude vlan reaver pyrit thc-ipv6 netwox nmap phantomjs nbtscan wireshark-qt tshark vlan dsniff tcpdump openjdk-8-jre p7zip openvpn libwebkitgtk-1.0-0 libssl-dev libmysqlclient-dev libjpeg-dev libnetfilter-queue-dev ettercap-text-only ghex pidgin pidgin-otr traceroute lft gparted autopsy subversion git gnupg htop ssh libpcap0.8-dev libimage-exiftool-perl aptitude p7zip-full proxychains curl terminator hydra hydra-gtk medusa irssi gnome-tweak-tool libtool build-essential rdesktop sshfs bzip2 extundelete rpcbind nfs-common gimp iw ldap-utils ntfs-3g samba-common samba-common-bin steghide whois aircrack-ng gnome-screenshot eog laptop-mode-tools openconnect gengetopt byacc flex cmake ophcrack gdb stunnel4 socat chromium-browser swftools hping3 tcpreplay tcpick gufw xtightvncviewer scalpel foremost unrar rar secure-delete yersinia vmfs-tools net-tools gstreamer1.0-plugins-bad freerdp-x11 libxfreerdp-client1.1 qemu-kvm qemu-utils binwalk qemu-system-x86 gvfs-fuse xdg-user-dirs gnome-applets-data gnome-applets git-core autoconf postgresql pgadmin3 screen keepass2
apt-get install -y python-yara python-paramiko python-distorm3 python-beautifulsoup python-pygresql python-pil python-pycurl python-magic python-pyinotify python-configobj python-pexpect python-msgpack python-requests python-pefile python-ipy python-openssl python-pypcap python-dns python-dnspython python-crypto python-cryptography python-dev python-twisted python-nfqueue python-scapy python-capstone python-setuptools python-urllib3 python3-pip python-pip ruby ruby-dev ruby-bundler php7.2-cli php7.2-curl python-notify python-impacket golang-go
apt-get install -y libappindicator1 libreadline-dev libcapstone3 libcapstone-dev libssl-dev zlib1g-dev libxml2-dev libxslt1-dev libyaml-dev libffi-dev libssh-dev libpq-dev libsqlite-dev libsqlite3-dev libpcap-dev libgmp3-dev libpcap-dev libpcre3-dev libidn11-dev libcurl4-openssl-dev libpq5 libreadline5 libappindicator1 libindicator7 libnss3 libxss1 libssl1.0.0 libncurses5-dev libncurses5
wget -nc https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
dpkg -i google-chrome-stable_current_amd64.deb
rm google-chrome-stable_current_amd64.deb
else
echo "Will be used later"
fi
#install of gems (should work on both systems)
gem install snmp
gem install pcaprub
gem install rake
echo "[*]create default core tools directory"
mkdir /opt/$mydirectory
cd /opt/$mydirectory/
mkdir /opt/$mydirectory/cheatsheets
mkdir /opt/$mydirectory/network
mkdir /opt/$mydirectory/webapps
mkdir /opt/$mydirectory/exploits
mkdir /opt/$mydirectory/mobile
mkdir /opt/$mydirectory/wordlists
mkdir /opt/$mydirectory/escalation
mkdir /opt/$mydirectory/pwcracking
mkdir /opt/$mydirectory/reverse
mkdir /opt/$mydirectory/recon
mkdir /opt/$mydirectory/wireless
mkdir /opt/$mydirectory/windows
mkdir /opt/$mydirectory/linux
mkdir /opt/$mydirectory/postexploitation
mkdir /opt/$mydirectory/social_engineering
echo "[*]gather the metasploit repository"
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && \
chmod 755 msfinstall && \
./msfinstall
echo "[*]other exploit tools"
cd /opt/$mydirectory/exploits
git clone https://github.com/longld/peda.git
git clone https://github.com/govolution/avet
git clone https://github.com/g0tmi1k/exe2hex.git
git clone https://github.com/huntergregal/mimipenguin
git clone https://github.com/lockfale/meterpreterjank.git
git clone https://github.com/PenturaLabs/Linux_Exploit_Suggester.git
git clone https://github.com/vulnersCom/getsploit
git clone https://github.com/trustedsec/unicorn
cd /opt/$mydirectory
echo "[*]wordlists gathering"
cd /opt/$mydirectory/wordlists
git clone https://github.com/danielmiessler/SecLists.git
wget -nc http://downloads.skullsecurity.org/passwords/rockyou.txt.bz2
wget -nc http://www.tekdefense.com/downloads/wordlists/1aNormusWL.zip
wget -nc http://www.tekdefense.com/downloads/wordlists/KippoWordlist.txt
git clone https://github.com/digininja/CeWL.git
cd /opt/$mydirectory
echo "[*]install burpfree"
cd /opt/$mydirectory/webapps
mkdir /opt/$mydirectory/webapps/burp_proxy
cd /opt/$mydirectory/webapps/burp_proxy
curl https://portswigger.net/DownloadUpdate.ashx?Product=Free -o burpsuite_free.jar
cd /opt/$mydirectory
echo "[*]misc scripts"
cd /opt/$mydirectory
mkdir /opt/$mydirectory/misc
cd /opt/$mydirectory/misc
git clone https://github.com/ChrisTruncer/PenTestScripts.git
cd /opt/$mydirectory
echo "[*]install torbrowser"
mkdir /opt/$mydirectory/network/torbrowser
cd /opt/$mydirectory/network/torbrowser
wget -nc https://github.com/TheTorProject/gettorbrowser/releases/download/v7.5.3/tor-browser-linux64-7.5.3_en-US.tar.xz
tar -xf tor-browser-linux64-7.5.3_en-US.tar.xz
rm -rf tor-browser-linux64-7.5.3_en-US.tar.xz
cd /opt/$mydirectory
echo "[*]gathering php reverse shell"
mkdir /opt/$mydirectory/network/reverse_shells
cd /opt/$mydirectory/network/reverse_shells
wget -nc http://pentestmonkey.net/tools/php-reverse-shell/php-reverse-shell-1.0.tar.gz
tar -xf /opt/$mydirectory/network/reverse_shells/php-reverse-shell-1.0.tar.gz
cd /opt/$mydirectory
echo "[*]install privesc tools"
cd /opt/$mydirectory/escalation
git clone https://github.com/mattifestation/PowerSploit.git
git clone https://github.com/putterpanda/mimikittenz.git
git clone https://github.com/PowerShellEmpire/PowerTools.git
git clone https://github.com/Kevin-Robertson/Inveigh.git
git clone https://github.com/xan7r/kerberoast.git
git clone https://github.com/breenmachine/RottenPotatoNG
cd /opt/$mydirectory
echo "[*]install post-exploitation tools"
cd /opt/$mydirectory/postexploitation
git clone https://github.com/AlessandroZ/LaZagne.git
git clone https://github.com/CoreSecurity/impacket.git
pip install ldap3
git clone https://github.com/EmpireProject/Empire.git
cd /opt/$mydirectory
echo "[*]install volatility framework"
mkdir /opt/$mydirectory/forensics
cd /opt/$mydirectory/forensics
git clone https://github.com/volatilityfoundation/volatility.git
cd /opt/$mydirectory
echo "[*]installing other reconnaissance tools"
cd /opt/$mydirectory/recon
git clone https://github.com/guelfoweb/knock.git
git clone https://github.com/laramies/theHarvester.git
git clone https://github.com/eth0izzle/bucket-stream
git clone https://github.com/dmuhs/pastebin-scraper.git
git clone https://github.com/breenmachine/httpscreenshot
git clone https://github.com/mschwager/gitem
git clone https://github.com/hardikvasa/google-images-download.git
git clone https://github.com/m0rtem/CloudFail
git clone https://github.com/laramies/metagoofil
git clone https://github.com/TheRook/subbrute.git
git clone https://github.com/ejcx/subdomainer.git
git clone https://github.com/aboul3la/Sublist3r.git
git clone https://github.com/ChrisTruncer/EyeWitness.git
git clone https://github.com/hatRiot/clusterd.git
git clone https://github.com/dmuhs/pastebin-scraper
git clone https://github.com/nyxgeek/o365recon
git clone https://github.com/darkoperator/dnsrecon.git
git clone https://github.com/urbanadventurer/WhatWeb.git
git clone https://github.com/leebaird/discover.git
git clone https://github.com/Mr-Un1k0d3r/RedTeamPowershellScripts.git
git clone https://github.com/makefu/dnsmap.git
cd /opt/$mydirectory/recon/dnsmap
make
cd /opt/$mydirectory
echo "[*]install pwcracking tools"
cd /opt/$mydirectory/pwcracking/
git clone https://github.com/lanjelot/patator.git
git clone https://github.com/mikesiegel/ews-crack
git clone https://github.com/galkan/crowbar
git clone https://github.com/magnumripper/JohnTheRipper.git
cd /opt/$mydirectory/pwcracking/JohnTheRipper/src
./configure
make
cd /opt/$mydirectory
mkdir /opt/$mydirectory/pwcracking/hashcat
cd /opt/$mydirectory/pwcracking/hashcat
wget https://hashcat.net/files/hashcat-4.0.1.7z
7z x hashcat-4.0.1.7z
mkdir /opt/$mydirectory/pwcracking/crunch
cd /opt/$mydirectory/pwcracking/crunch
wget -nc "http://downloads.sourceforge.net/project/crunch-wordlist/crunch-wordlist/crunch-3.6.tgz?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fcrunch-wordlist%2F&ts=1473785126&use_mirror=pilotfiber" -O crunch-3.6.tgz
cd /opt/$mydirectory
echo "[*]install arachni and other webapp tools"
cd /opt/$mydirectory/webapps
wget http://testssl.sh/testssl.sh
mkdir /opt/$mydirectory/webapps/arachni
cd /opt/$mydirectory/webapps/arachni
wget -nc https://github.com/Arachni/arachni/releases/download/v1.5.1/arachni-1.5.1-0.5.12-linux-x86_64.tar.gz
tar -xf arachni-1.5.1-0.5.12-linux-x86_64.tar.gz
rm arachni-1.5.1-0.5.12-linux-x86_64.tar.gz
cd /opt/$mydirectory/webapps
git clone https://github.com/XiphosResearch/exploits.git
git clone https://github.com/UltimateHackers/XSStrike
git clone https://github.com/nahamsec/JSParser.git
git clone https://github.com/wpscanteam/wpscan.git
git clone https://github.com/spinkham/skipfish.git
git clone https://github.com/joaomatosf/jexboss.git
git clone https://github.com/internetwache/GitTools.git
git clone https://github.com/OsandaMalith/LFiFreak
git clone https://github.com/maurosoria/dirsearch.git
git clone https://github.com/D35m0nd142/LFISuite.git
git clone https://github.com/P0cL4bs/Kadimus
git clone https://github.com/stasinopoulos/commix.git
git clone https://github.com/kost/dvcs-ripper
git clone https://github.com/mandatoryprogrammer/xssless.git
git clone https://github.com/tennc/fuzzdb.git
git clone https://github.com/tennc/webshell
git clone https://github.com/swisskyrepo/PayloadsAllTheThings
git clone https://github.com/CaledoniaProject/AxisInvoker.git
git clone https://github.com/vs4vijay/heartbleed.git
git clone https://github.com/beefproject/beef
git clone https://github.com/Dionach/CMSmap.git
git clone https://github.com/droope/droopescan.git
git clone https://github.com/gfoss/attacking-drupal.git
git clone https://github.com/sullo/nikto.git
git clone https://github.com/gabtremblay/tachyon.git
git clone https://github.com/sqlmapproject/sqlmap.git
git clone https://github.com/WebBreacher/tilde_enum.git
git clone https://github.com/epinna/weevely3.git
git clone https://github.com/eschultze/URLextractor.git
git clone https://github.com/mazen160/struts-pwn_CVE-2017-9805
git clone https://github.com/leonjza/wordpress-shell
wget -nc "https://downloads.sourceforge.net/project/dirb/dirb/2.22/dirb222.tar.gz?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fdirb%2Ffiles%2F&ts=1503500072&use_mirror=astuteinternet" -O dirb222.tar.gz
tar -xf dirb222.tar.gz
chmod -R 755 dirb222/
cd dirb222
./configure
make
cd /opt/$mydirectory/webapps
wget -nc "http://downloads.sourceforge.net/project/dirbuster/DirBuster%20%28jar%20%2B%20lists%29/1.0-RC1/DirBuster-1.0-RC1.tar.bz2?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fdirbuster%2Ffiles%2FDirBuster%2520%2528jar%2520%252B%2520lists%2529%2F1.0-RC1%2F&ts=1443459199&use_mirror=iweb" -O DirBuster-1.0-RC1.tar.bz2
bunzip2 DirBuster-1.0-RC1.tar.bz2
tar -xf DirBuster-1.0-RC1.tar
rm DirBuster-1.0-RC1.tar
cd /opt/$mydirectory/webapps/weevely3
pip install -r requirements.txt
cd /opt/$mydirectory
echo "[*]installing tools for mitm/network/scada"
cd /opt/$mydirectory/network/
wget https://raw.githubusercontent.com/vulnersCom/nmap-vulners/master/vulners.nse -O /usr/share/nmap/scripts/vulners.nse
git clone https://github.com/scadastrangelove/SCADAPASS.git
git clone https://github.com/SySS-Research/Seth
git clone https://github.com/DanMcInerney/icebreaker.git
git clone https://github.com/byt3bl33d3r/DeathStar.git
git clone https://github.com/DanMcInerney/creds.py.git
git clone https://github.com/inquisb/keimpx
git clone https://github.com/mlazarov/ddos-stress.git
git clone https://github.com/sensepost/DET.git
git clone https://github.com/DanMcInerney/LANs.py.git
git clone https://github.com/lgandx/Responder
git clone https://github.com/tintinweb/striptls
git clone https://github.com/arthepsy/ssh-audit.git
git clone https://github.com/DanMcInerney/net-creds.git
git clone https://github.com/covertcodes/multitun.git
git clone https://github.com/byt3bl33d3r/MITMf.git
git clone https://github.com/byt3bl33d3r/CrackMapExec.git
git clone https://github.com/nccgroup/redsnarf
git clone https://github.com/m57/ARDT.git
git clone https://github.com/vanhauser-thc/thc-ipv6.git
git clone https://github.com/nccgroup/vlan-hopping.git
git clone https://github.com/Hood3dRob1n/Reverser.git
git clone https://github.com/SpiderLabs/ikeforce.git
go get github.com/bettercap/bettercap
mv /home/$myname/go /opt/$mydirectory/network/bettercap
git clone https://github.com/robertdavidgraham/masscan.git
cd /opt/$mydirectory/network/masscan/bin
make
cd /opt/$mydirectory/network/MITMf
pip install BeautifulSoup4
pip install -r requirements.txt
pip install mysql-python
cd /opt/$mydirectory/network/MITMf/libs/bdfactory/
git clone https://github.com/secretsquirrel/the-backdoor-factory.git .
cd /opt/$mydirectory/network/CrackMapExec
pip install -r requirements.txt
python setup.py install
cd /opt/$mydirectory
echo "[*]installing tools for social engineering"
cd /opt/$mydirectory/social_engineering
git clone https://github.com/trustedsec/social-engineer-toolkit.git
git clone https://github.com/philwantsfish/shard
git clone https://github.com/mwrlabs/XRulez.git
git clone https://github.com/dafthack/MailSniper.git
git clone https://github.com/ustayready/CredSniper
wget -nc https://github.com/gophish/gophish/releases/download/v0.5.0/gophish-v0.5.0-linux-64bit.zip
cd /opt/$mydirectory
echo "[*]installing tools for reverse engineering"
cd /opt/$mydirectory/reverse/
git clone https://github.com/Gallopsled/pwntools.git
git clone https://github.com/hasherezade/shellconv.git
git clone https://github.com/botherder/viper.git
wget -nc "https://github.com/java-decompiler/jd-gui/releases/download/v1.4.0/jd-gui-1.4.0.jar"
git clone https://github.com/mirror/firmware-mod-kit.git
cd /opt/$mydirectory
echo "[*]installing exploit related tools"
cd /opt/$mydirectory/exploits
git clone https://github.com/offensive-security/exploit-database
git clone https://github.com/toolswatch/vFeed.git
git clone https://github.com/secretsquirrel/the-backdoor-factory
git clone https://github.com/FuzzySecurity/PowerShell-Suite.git
git clone https://github.com/peewpw/Invoke-PSImage
git clone https://github.com/madmantm/powershell
wget --header="Accept: text/html" --user-agent="MOZILLA" https://www.shellterproject.com/Downloads/Shellter/Latest/shellter.zip
cd /opt/$mydirectory
echo "[*]installing tools for priv escalation"
cd /opt/$mydirectory/escalation
git clone https://github.com/samratashok/nishang.git
git clone https://github.com/rebootuser/LinEnum.git
git clone https://github.com/huntergregal/mimipenguin.git
mkdir /opt/$mydirectory/escalation/mimikatz
cd /opt/$mydirectory/escalation/mimikatz
wget -nc http://blog.gentilkiwi.com/downloads/mimikatz_trunk.zip
unzip -o mimikatz_trunk.zip
rm -rf mimikatz_trunk.zip
cd /opt/$mydirectory
echo "[*]installing the veil framework"
cd /opt/$mydirectory/exploits
git clone https://github.com/Veil-Framework/Veil-Evasion.git
git clone https://github.com/Veil-Framework/Veil-PowerView.git
echo "[*]gathering cheatsheets"
cd /opt/$mydirectory/cheatsheets
git clone https://github.com/HarmJ0y/CheatSheets
git clone https://github.com/aramosf/sqlmap-cheatsheet.git
git clone https://github.com/wsargent/docker-cheat-sheet.git
git clone https://github.com/paragonie/awesome-appsec.git
git clone https://github.com/enaqx/awesome-pentest
git clone https://github.com/GrrrDog/Java-Deserialization-Cheat-Sheet
git clone https://github.com/bluscreenofjeff/Red-Team-Infrastructure-Wiki
cd /opt/$mydirectory
echo "[*]installing tools to identify hashes"
mkdir /opt/$mydirectory/crypto
cd /opt/$mydirectory/crypto
git clone https://github.com/SmeegeSec/HashTag.git
git clone https://github.com/psypanda/hashID.git
cd /opt/$mydirectory
echo "[*]installing wireless et wps tools"
cd /opt/$mydirectory/wireless
git clone https://github.com/DanMcInerney/wifijammer.git
git clone https://github.com/derv82/wifite.git
git clone https://github.com/OpenSecurityResearch/hostapd-wpe.git
git clone https://github.com/sophron/wifiphisher.git
git clone https://github.com/s0lst1c3/eaphammer.git
git clone https://github.com/Tylous/SniffAir.git
git clone https://github.com/tehw0lf/airbash.git
cd /opt/$mydirectory
echo "[*]requirements for wpscan"
cd /opt/$mydirectory/webapps/wpscan
bundle install
cd /opt/$mydirectory
echo "[*]Installing OWASP ZAP proxy"
mkdir /opt/$mydirectory/webapps/zap_proxy
cd /opt/$mydirectory/webapps/zap_proxy
wget -nc "https://github.com/zaproxy/zaproxy/releases/download/2.7.0/ZAP_2.7.0_Linux.tar.gz"
gunzip ZAP_2.7.0_Linux.tar.gz
tar -xf ZAP_2.7.0_Linux.tar
rm -rf ZAP_2.7.0_Linux.tar.gz
cd /opt/$mydirectory
echo "[*]windows tools just in case no internets / also might be flagged by pesky webfiltering systems"
mkdir /opt/$mydirectory/windows/win_tools
cd /opt/$mydirectory/windows/win_tools
wget -nc "http://www.oxid.it/downloads/ca_setup.exe"
wget -nc "http://sniff.su/Intercepter-NG.v1.0.zip"
wget -nc "http://downloads.metasploit.com/data/releases/metasploit-latest-windows-installer.exe"
wget -nc "http://www.ollydbg.de/odbg200.zip"
wget -nc "http://www.ollydbg.de/odbg110.zip"
wget -nc "https://out7.hex-rays.com/files/idafree70_windows.exe"
wget -nc "https://download.sysinternals.com/files/SysinternalsSuite.zip"
wget -nc "https://download.sysinternals.com/files/PSTools.zip"
wget -nc "https://download.sysinternals.com/files/Procdump.zip"
echo "[*]linux tools just in case no internets"
mkdir /opt/$mydirectory/linux/lin_tools
cd /opt/$mydirectory/linux/lin_tools
wget -nc "http://downloads.metasploit.com/data/releases/metasploit-latest-linux-x64-installer.run"
wget -nc "https://out7.hex-rays.com/files/idafree70_linux.run"
echo "[*]correcting user-rights"
cd /
chown -R $myname:$myname /opt/$mydirectory