Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
1N3
GitHub Repository: 1N3/Sn1per
Path: blob/master/install.sh
2951 views
1
#!/bin/bash
2
# Install script for Sn1per CE
3
# Created by @xer0dayz - https://sn1persecurity.com
4
5
OKBLUE='\033[94m'
6
OKRED='\033[91m'
7
OKGREEN='\033[92m'
8
OKORANGE='\033[93m'
9
RESET='\e[0m'
10
11
echo -e "$OKRED ____ $RESET"
12
echo -e "$OKRED _________ / _/___ ___ _____$RESET"
13
echo -e "$OKRED / ___/ __ \ / // __ \/ _ \/ ___/$RESET"
14
echo -e "$OKRED (__ ) / / // // /_/ / __/ / $RESET"
15
echo -e "$OKRED /____/_/ /_/___/ .___/\___/_/ $RESET"
16
echo -e "$OKRED /_/ $RESET"
17
echo -e "$RESET"
18
echo -e "$OKORANGE + -- --=[ https://sn1persecurity.com $RESET"
19
echo -e "$OKORANGE + -- --=[ Sn1per CE by @xer0dayz $RESET"
20
echo ""
21
22
INSTALL_DIR=/usr/share/sniper
23
LOOT_DIR=/usr/share/sniper/loot
24
PLUGINS_DIR=/usr/share/sniper/plugins
25
GO_DIR=~/go/bin
26
27
echo -e "$OKRED[>]$RESET This script will install Sn1per under $INSTALL_DIR. Are you sure you want to continue? (Hit Ctrl+C to exit)$RESET"
28
if [[ "$1" != "force" ]]; then
29
read answer
30
fi
31
32
if [[ $EUID -ne 0 ]]; then
33
echo "This script must be run as root"
34
exit 1
35
fi
36
37
mkdir -p $INSTALL_DIR 2> /dev/null
38
chmod 755 -Rf $INSTALL_DIR 2> /dev/null
39
chown root $INSTALL_DIR/sniper 2> /dev/null
40
mkdir -p $LOOT_DIR 2> /dev/null
41
mkdir $LOOT_DIR/domains 2> /dev/null
42
mkdir $LOOT_DIR/screenshots 2> /dev/null
43
mkdir $LOOT_DIR/nmap 2> /dev/null
44
mkdir $LOOT_DIR/reports 2> /dev/null
45
mkdir $LOOT_DIR/output 2> /dev/null
46
mkdir $LOOT_DIR/osint 2> /dev/null
47
cp -Rf * $INSTALL_DIR 2> /dev/null
48
cd $INSTALL_DIR
49
50
sudo cp -a /root/.Xauthority /root/.Xauthority.bak 2> /dev/null
51
sudo cp -a /home/$USER/.Xauthority /root/.Xauthority 2> /dev/null
52
sudo cp -a /home/kali/.Xauthority /root/.Xauthority 2> /dev/null
53
sudo chown root: /root/.Xauthority 2> /dev/null
54
XAUTHORITY=/root/.Xauthority
55
56
# CHECK FOR UBUNTU...
57
UBUNTU_CHECK=$(egrep DISTRIB_ID /etc/lsb-release 2> /dev/null)
58
if [[ $UBUNTU_CHECK == "DISTRIB_ID=Ubuntu" ]]; then
59
cp /root/.Xauthority /root/.Xauthority.bak 2> /dev/null
60
cp -a /run/user/1000/gdm/Xauthority /root/.Xauthority 2> /dev/null
61
cp -a /home/user/.Xauthority /root/.Xauthority 2> /dev/null
62
chown root /root/.Xauthority 2> /dev/null
63
XAUTHORITY=/root/.Xauthority 2> /dev/null
64
snap install chromium 2> /dev/null
65
ln -s /snap/bin/chromium /usr/bin/chromium 2> /dev/null
66
xhost + 2> /dev/null
67
mkdir -p /run/user/0 2> /dev/null
68
add-apt-repository ppa:longsleep/golang-backports
69
sudo apt update
70
apt install golang
71
fi
72
73
echo -e "$OKBLUE[*]$RESET Updating repositories... $OKBLUE[$RESET${OKGREEN}OK${RESET}$OKBLUE]$RESET"
74
curl -fsSL https://archive.kali.org/archive-key.asc | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/kali.gpg --yes
75
76
echo -e "$OKBLUE[*]$RESET Installing package dependencies...$RESET"
77
apt update
78
apt install -y nfs-common
79
apt install -y nodejs
80
apt install -y wafw00f
81
apt install -y xdg-utils
82
apt install -y ruby
83
apt install -y rubygems
84
apt install -y python2
85
apt install -y python3
86
apt install -y python3-paramiko
87
apt purge -y python3-pip
88
apt install -y python3-pip
89
apt install -y dos2unix
90
apt install -y aha
91
apt install -y libxml2-utils
92
apt install -y rpcbind
93
apt install -y cutycapt
94
apt install -y host
95
apt install -y whois
96
apt install -y dnsrecon
97
apt install -y curl
98
apt install -y nmap
99
apt install -y php8.2
100
apt install -y php8.2-curl
101
apt install -y hydra
102
apt install -y sqlmap
103
apt install -y nbtscan
104
apt install -y nikto
105
apt install -y whatweb
106
apt install -y sslscan
107
apt install -y jq
108
apt install -y golang
109
apt install -y adb
110
apt install -y xsltproc
111
apt install -y ldapscripts
112
apt install -y libssl-dev 2> /dev/null
113
apt install -y xmlstarlet
114
apt install -y net-tools
115
apt install -y p7zip-full
116
apt install -y jsbeautifier
117
apt install -y theharvester 2> /dev/null
118
apt install -y phantomjs 2> /dev/null
119
apt install -y chromium 2> /dev/null
120
apt install -y xvfb
121
apt install -y urlcrazy
122
apt install -y iputils-ping
123
apt install -y enum4linux
124
apt install -y dnsutils
125
apt install -y wtmpdb
126
127
echo -e "$OKBLUE[*]$RESET Installing Metasploit...$RESET"
128
rm -f /usr/share/keyrings/metasploit-framework.gpg 2> /dev/null
129
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > /tmp/msfinstall
130
chmod 755 /tmp/msfinstall
131
/tmp/msfinstall
132
133
pip3 install dnspython colorama tldextract urllib3 ipaddress requests
134
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
135
136
echo -e "$OKBLUE[*]$RESET Installing gem dependencies...$RESET"
137
gem install rake 2> /dev/null > /dev/null
138
gem install ruby-nmap 2> /dev/null > /dev/null
139
gem install net-http-persistent 2> /dev/null > /dev/null
140
gem install mechanize 2> /dev/null > /dev/null
141
gem install text-table 2> /dev/null > /dev/null
142
gem install public_suffix 2> /dev/null > /dev/null
143
144
echo -e "$OKBLUE[*]$RESET Setting up Ruby...$RESET"
145
dpkg-reconfigure ruby
146
147
echo -e "$OKBLUE[*]$RESET Upgrading Pip...$RESET"
148
python3 -m pip install --upgrade pip
149
150
echo -e "$OKBLUE[*]$RESET Cleaning up old extensions...$RESET"
151
rm -Rf $PLUGINS_DIR 2> /dev/null
152
mkdir $PLUGINS_DIR 2> /dev/null
153
cd $PLUGINS_DIR
154
mkdir -p $GO_DIR 2> /dev/null
155
156
echo -e "$OKBLUE[*]$RESET Downloading extensions...$RESET"
157
158
# SUBLIST3R INSTALLER
159
echo -e "$OKBLUE[*]$RESET Installing Sublist3r...$RESET"
160
git clone https://github.com/1N3/Sublist3r.git
161
162
# SHOCKER INSTALLER
163
echo -e "$OKBLUE[*]$RESET Installing Shocker...$RESET"
164
git clone https://github.com/nccgroup/shocker.git
165
166
# SSH-AUDIT INSTALLER
167
echo -e "$OKBLUE[*]$RESET Installing SSH-Audit...$RESET"
168
git clone https://github.com/arthepsy/ssh-audit
169
170
# JEXBOSS INSTALLER
171
echo -e "$OKBLUE[*]$RESET Installing Jexboss...$RESET"
172
git clone https://github.com/1N3/jexboss.git
173
174
# WIG INSTALLER
175
echo -e "$OKBLUE[*]$RESET Installing Wig...$RESET"
176
git clone https://github.com/jekyc/wig.git
177
178
# CORSTEST INSTALLER
179
echo -e "$OKBLUE[*]$RESET Installing CORStest...$RESET"
180
git clone https://github.com/RUB-NDS/CORStest.git
181
182
# VULSCAN INSTALLER
183
echo -e "$OKBLUE[*]$RESET Installing Vulscan...$RESET"
184
git clone https://github.com/scipag/vulscan
185
186
# METAGOOFIL INSTALLER
187
echo -e "$OKBLUE[*]$RESET Installing Metagoofil...$RESET"
188
git clone https://github.com/laramies/metagoofil.git
189
190
# SHODAN INSTALLER
191
echo -e "$OKBLUE[*]$RESET Installing Shodan...$RESET"
192
git clone https://github.com/achillean/shodan-python
193
194
# CMSMAP INSTALLER
195
echo -e "$OKBLUE[*]$RESET Installing CMSMap...$RESET"
196
git clone https://github.com/Dionach/CMSmap.git
197
198
# SMUGGLER INSTALLER
199
echo -e "$OKBLUE[*]$RESET Installing Smuggler...$RESET"
200
git clone https://github.com/defparam/smuggler.git
201
202
# DIRSEARCH INSTALLER
203
echo -e "$OKBLUE[*]$RESET Installing Dirsearch...$RESET"
204
cd $PLUGINS_DIR
205
rm -Rf dirsearch/ 2> /dev/null
206
wget https://github.com/maurosoria/dirsearch/archive/refs/tags/v0.4.2.tar.gz
207
tar -zxvf v0.4.2.tar.gz
208
mv dirsearch-0.4.2/ dirsearch/
209
cd dirsearch/
210
pip3 install -r requirements.txt
211
cd $PLUGINS_DIR
212
213
# SECRETFINDER INSTALLER
214
echo -e "$OKBLUE[*]$RESET Installing SecretFinder...$RESET"
215
git clone https://github.com/m4ll0k/SecretFinder.git secretfinder
216
pip install -r $PLUGINS_DIR/secretfinder/requirements.txt
217
218
# LINKFINDER INSTALLER
219
echo -e "$OKBLUE[*]$RESET Installing LinkFinder...$RESET"
220
git clone https://github.com/1N3/LinkFinder
221
cd LinkFinder
222
python3 setup.py install
223
cd ..
224
225
# GITGRABER INSTALLER
226
echo -e "$OKBLUE[*]$RESET Installing GitGrabber...$RESET"
227
git clone https://github.com/hisxo/gitGraber.git
228
pip3 install -r $PLUGINS_DIR/gitGraber/requirements.txt 2> /dev/null
229
230
# CENSYS-SUBDOMAIN-FINDER INSTALLER
231
echo -e "$OKBLUE[*]$RESET Installing Censys-Subdomain-Finder...$RESET"
232
git clone https://github.com/christophetd/censys-subdomain-finder.git
233
pip3 install -r $PLUGINS_DIR/censys-subdomain-finder/requirements.txt
234
235
# DNSCAN INSTALLER
236
echo -e "$OKBLUE[*]$RESET Installing DNScan...$RESET"
237
git clone https://github.com/rbsec/dnscan.git
238
pip3 install -r $PLUGINS_DIR/dnscan/requirements.txt
239
240
# ALTDNS INSTALLER
241
echo -e "$OKBLUE[*]$RESET Installing AltDNS...$RESET"
242
git clone https://github.com/infosec-au/altdns.git
243
cd altdns
244
pip3 install -r requirements.txt
245
python3 setup.py install
246
pip3 install py-altdns
247
cd ..
248
249
# MASSDNS INSTALLER
250
echo -e "$OKBLUE[*]$RESET Installing MassDNS...$RESET"
251
git clone https://github.com/blechschmidt/massdns.git
252
cd massdns
253
make && make install
254
cd ..
255
256
# DNSGEN INSTALLER
257
echo -e "$OKBLUE[*]$RESET Installing DNSGen...$RESET"
258
git clone https://github.com/ProjectAnte/dnsgen
259
cd dnsgen
260
pip3 install -r requirements.txt
261
python3 setup.py install
262
cd ..
263
264
# NUCLEI UPDATES
265
echo -e "$OKBLUE[*]$RESET Installing Nuclei...$RESET"
266
GO111MODULE=on go install github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest
267
ln -fs /root/go/bin/nuclei /usr/local/bin/nuclei 2> /dev/null
268
nuclei --update
269
nuclei
270
271
# INSTALL WEBTECH
272
echo -e "$OKBLUE[*]$RESET Installing WebTech...$RESET"
273
pip3 install -U webtech
274
275
# INSTALL SUBJACK
276
echo -e "$OKBLUE[*]$RESET Installing SubJack...$RESET"
277
cd ~/go/bin/;go install github.com/haccer/subjack@latest
278
279
# INSTALL SUBOVER
280
echo -e "$OKBLUE[*]$RESET Installing SubOver...$RESET"
281
cd ~/go/bin/;go install github.com/Ice3man543/SubOver@latest; mv /root/go/bin/SubOver /usr/local/bin/subover
282
283
# INSTALL FPROBE
284
echo -e "$OKBLUE[*]$RESET Installing FProbe...$RESET"
285
go install github.com/theblackturtle/fprobe@latest; ln -fs ~/go/bin/fprobe /usr/bin/fprobe
286
287
# INSTALL ASNIP
288
echo -e "$OKBLUE[*]$RESET Installing ASnip...$RESET"
289
go install github.com/harleo/asnip@latest; ln -fs ~/go/bin/asnip /usr/bin/asnip
290
291
# GAU INSTALLER
292
echo -e "$OKBLUE[*]$RESET Installing GAU...$RESET"
293
GO111MODULE=on go install github.com/lc/gau@latest
294
rm -f /usr/bin/gau 2> /dev/null
295
ln -fs /root/go/bin/gau /usr/bin/gau 2> /dev/null
296
297
# INSTALL HTTPX
298
echo -e "$OKBLUE[*]$RESET Installing HTTPX...$RESET"
299
go install github.com/projectdiscovery/httpx@latest; ln -fs /root/go/bin/httpx /usr/bin/httpx
300
301
# INSTALL FFUF
302
echo -e "$OKBLUE[*]$RESET Installing FFuF...$RESET"
303
go install github.com/ffuf/ffuf@latest; ln -fs /root/go/bin/ffuf /usr/bin/ffuf
304
305
# GITHUB-ENDPOINTS INSTALLER
306
echo -e "$OKBLUE[*]$RESET Installing Github-Endpoints...$RESET"
307
go install github.com/gwen001/github-endpoints@latest; ln -fs /root/go/bin/github-endpoints /usr/bin/github-endpoints
308
309
# PUREDNS INSTALLER
310
echo -e "$OKBLUE[*]$RESET Installing PureDNS...$RESET"
311
go install github.com/d3mondev/puredns/v2@latest; ln -fs /root/go/bin/puredns /usr/bin/puredns
312
313
# AMASS INSTALLER
314
echo -e "$OKBLUE[*]$RESET Installing AMass...$RESET"
315
go install -v github.com/OWASP/Amass/v3/...@master
316
cd /root/go/bin/
317
318
# SUBFINDER INSTALLER
319
echo -e "$OKBLUE[*]$RESET Installing SubFinder...$RESET"
320
go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest; ln -fs /root/go/bin/subfinder /usr/local/bin/subfinder
321
322
# DIRDAR INSTALLER
323
echo -e "$OKBLUE[*]$RESET Installing DirDar...$RESET"
324
go install github.com/1N3/dirdar@latest; ln -fs /root/go/bin/dirdar /usr/local/bin/dirdar
325
326
# VULNERS NMAP INSTALLER
327
echo -e "$OKBLUE[*]$RESET Installing Vulners...$RESET"
328
cd /usr/share/nmap/scripts/
329
rm -f /usr/share/nmap/scripts/vulners.nse
330
wget https://raw.githubusercontent.com/vulnersCom/nmap-vulners/master/vulners.nse
331
332
# GOBUSTER INSTALLER
333
echo -e "$OKBLUE[*]$RESET Installing GoBuster...$RESET"
334
wget https://github.com/OJ/gobuster/releases/download/v3.0.1/gobuster-linux-amd64.7z -O /tmp/gobuster.7z
335
cd /tmp/
336
7z e gobuster.7z
337
chmod +rx gobuster
338
mv gobuster /usr/bin/gobuster
339
340
# SHODAN INSTALLER
341
echo -e "$OKBLUE[*]$RESET Installing Shodan...$RESET"
342
cd $PLUGINS_DIR
343
cd shodan-python
344
python setup.py install
345
cd ..
346
347
# H8MAIL INSTALLER
348
echo -e "$OKBLUE[*]$RESET Installing H8Mail...$RESET"
349
pip3 install h8mail 2> /dev/null
350
351
# CMSMAP INSTALLER
352
echo -e "$OKBLUE[*]$RESET Installing CMSMap...$RESET"
353
cd $PLUGINS_DIR/CMSmap/ && pip3 install . && python3 setup.py install
354
355
cd $PLUGINS_DIR
356
357
# ARACHNI MANUAL INSTALL
358
echo -e "$OKBLUE[*]$RESET Installing Arachni...$RESET"
359
wget https://github.com/Arachni/arachni/releases/download/v1.5.1/arachni-1.5.1-0.5.12-linux-x86_64.tar.gz -O /tmp/arachni.tar.gz
360
cd /tmp/
361
tar -zxf arachni.tar.gz
362
rm -f /tmp/arachni.tar.gz 2> /dev/null
363
cd arachni-*
364
mkdir -p /usr/share/arachni 2> /dev/null
365
cp -Rf * /usr/share/arachni/ 2> /dev/null
366
cd /usr/share/arachni/bin/
367
for a in `ls`; do ln -fs $PWD/$a /usr/bin/$a; done;
368
369
# REMOVE CVE TEMPLATES (ALL CVEs GOING FORWARD COVERED BY NUCLEI)
370
rm -f /usr/share/sniper/templates/active/CVE*
371
372
# PHANTOMJS MANUAL INSTALL
373
echo -e "$OKBLUE[*]$RESET Installing PhantomJS...$RESET"
374
cd /usr/local/share
375
wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2 2> /dev/null
376
tar xjf phantomjs-1.9.7-linux-x86_64.tar.bz2 2> /dev/null
377
ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/share/phantomjs 2> /dev/null
378
ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs 2> /dev/null
379
ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/bin/phantomjs 2> /dev/null
380
381
# DNS RESOLVERS DOWNLOAD
382
echo -e "$OKBLUE[*]$RESET Installing DNS Resolvers...$RESET"
383
wget https://raw.githubusercontent.com/janmasarik/resolvers/master/resolvers.txt -O /usr/share/sniper/wordlists/resolvers.txt
384
385
# THEHARVESTER KALI SETUP
386
echo -e "$OKBLUE[*]$RESET Installing TheHarvester...$RESET"
387
cp -f /usr/bin/theHarvester /usr/bin/theharvester 2> /dev/null
388
389
# BLACKWIDOW INSTALLER
390
echo -e "$OKBLUE[*]$RESET Installing BlackWidow...$RESET"
391
cd $PLUGINS_DIR
392
git clone https://github.com/1N3/BlackWidow
393
cd $PLUGINS_DIR/BlackWidow/ && bash install.sh force 2> /dev/null
394
395
# BRUTEX INSTALLER
396
echo -e "$OKBLUE[*]$RESET Installing BruteX...$RESET"
397
cd $PLUGINS_DIR
398
git clone https://github.com/1N3/BruteX.git
399
cd $PLUGINS_DIR/BruteX/ && bash install.sh 2> /dev/null
400
401
# FINDSPLOIT INSTALLER
402
echo -e "$OKBLUE[*]$RESET Installing FindSploit...$RESET"
403
cd $PLUGINS_DIR
404
git clone https://github.com/1N3/Findsploit.git
405
cd $PLUGINS_DIR/Findsploit/ && bash install.sh 2> /dev/null
406
407
# GOOHAK INSTALLER
408
echo -e "$OKBLUE[*]$RESET Installing GooHak...$RESET"
409
cd $PLUGINS_DIR
410
git clone https://github.com/1N3/Goohak.git
411
412
echo -e "$OKBLUE[*]$RESET Setting up environment...$RESET"
413
cd $INSTALL_DIR
414
mkdir $LOOT_DIR 2> /dev/null
415
mkdir $LOOT_DIR/screenshots/ -p 2> /dev/null
416
mkdir $LOOT_DIR/nmap -p 2> /dev/null
417
mkdir $LOOT_DIR/domains -p 2> /dev/null
418
mkdir $LOOT_DIR/output -p 2> /dev/null
419
mkdir $LOOT_DIR/reports -p 2> /dev/null
420
chmod +x $INSTALL_DIR/sniper
421
chmod +x $PLUGINS_DIR/Goohak/goohak
422
rm -f /usr/bin/dirsearch
423
ln -s $INSTALL_DIR/sniper /usr/bin/sniper 2> /dev/null
424
ln -s $PLUGINS_DIR/Goohak/goohak /usr/bin/goohak 2> /dev/null
425
ln -s $PLUGINS_DIR/dirsearch/dirsearch.py /usr/bin/dirsearch 2> /dev/null
426
ln -s /usr/share/sniper /sniper 2> /dev/null
427
ln -s /usr/share/sniper /usr/share/sn1per 2> /dev/null
428
ln -s /usr/share/sniper/loot/workspace /workspace 2> /dev/null
429
ln -s /usr/share/sniper/loot/workspace /root/workspace 2> /dev/null
430
ln -s /usr/share/sniper /root/sniper 2> /dev/null
431
ln -s /root/.sniper.conf /usr/share/sniper/conf/sniper.conf 2> /dev/null
432
ln -s /root/.sniper_api_keys.conf /usr/share/sniper/conf/sniper_api_keys.conf 2> /dev/null
433
mv /root/.sniper.conf /root/.sniper.conf.bak 2> /dev/null
434
cp -vf /usr/share/sniper/sniper.conf /root/.sniper.conf 2> /dev/null
435
msfdb init 2> /dev/null
436
437
echo -e "$OKBLUE[*]$RESET Adding start menu and desktop shortcuts... $RESET"
438
cp -f $INSTALL_DIR/sn1per.desktop /usr/share/applications/ 2> /dev/null
439
cp -f $INSTALL_DIR/sn1per.desktop /usr/share/applications/sn1per.desktop 2> /dev/null
440
cp -f $INSTALL_DIR/sn1per.desktop /usr/share/kali-menu/applications/sn1per.desktop 2> /dev/null
441
cp -f $INSTALL_DIR/sn1per.png /usr/share/pixmaps/ 2> /dev/null
442
cp -f $PLUGINS_DIR/BruteX/brutex.desktop /usr/share/applications/ 2> /dev/null
443
cp -f $PLUGINS_DIR/BruteX/brutex.desktop /usr/share/applications/brutex.desktop 2> /dev/null
444
cp -f $PLUGINS_DIR/BruteX/brutex.desktop /usr/share/kali-menu/applications/brutex.desktop 2> /dev/null
445
cp -f $PLUGINS_DIR/BlackWidow/blackwidow.desktop /usr/share/applications/ 2> /dev/null
446
cp -f $PLUGINS_DIR/BlackWidow/blackwidow.desktop /usr/share/applications/blackwidow.desktop 2> /dev/null
447
cp -f $PLUGINS_DIR/BlackWidow/blackwidow.desktop /usr/share/kali-menu/applications/blackwidow.desktop 2> /dev/null
448
cp -f $PLUGINS_DIR/Findsploit/findsploit.desktop /usr/share/applications/ 2> /dev/null
449
cp -f $PLUGINS_DIR/Findsploit/findsploit.desktop /usr/share/applications/findsploit.desktop 2> /dev/null
450
cp -f $PLUGINS_DIR/Findsploit/findsploit.desktop /usr/share/kali-menu/applications/findsploit.desktop 2> /dev/null
451
mkdir -p /usr/share/sniper/loot/workspaces/ 2> /dev/null
452
ln -fs /usr/share/sniper/loot/workspaces/ /home/kali/Desktop/workspaces 2> /dev/null
453
ln -fs /usr/share/sniper/loot/workspaces/ /root/Desktop/workspaces 2> /dev/null
454
455
echo -e "$OKBLUE[*]$RESET Cleaning up installation files... $RESET"
456
rm -Rf /tmp/arachni* /tmp/gobuster* /tmp/msfinstall /tmp/openssl.cnf 2> /dev/null
457
458
echo -e "$OKRED[>]$RESET Done! $RESET"
459
echo -e "$OKRED[>]$RESET To run, type 'sniper'! $RESET"
460
461