-
Notifications
You must be signed in to change notification settings - Fork 0
/
tools-parrot-install.sh
397 lines (321 loc) · 17.4 KB
/
tools-parrot-install.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
#!/usr/bin/bash -
#color variables
Black='\033[30m'
R='\033[31m'
BRIGHTRED='\033[31;1m' #16-colors
# RESET= '\033[0m'
G='\033[32m'
O='\033[33m'
B='\033[34m'
M='\033[35m'
C='\033[36m'
W='\033[37m'
# 256-colors
echo ""
echo -e "\033[38;5;198m Hi $USER" # General Way "\033[38;5;${id}m HELLO ROOT"
#CLEARBLUF="-y 1> /dev/null"
anim=(
' --------------- [3]'
' ---------- [2]'
' ----- [1]'
' ')
spin(){
A=0
if [ "$A" -lt "4" ]
then
for i in "${anim[@]}"
do
echo -ne "\r${i}" #$(figlet -f small ${i})"
sleep 1
done
A=A+1
fi
}
#03426285083
#echo "-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------"
echo -e "\n${R}[${O}${R}]${B} Installing Your Tools in ${C}"; #$spini ${C}";
spin #function call
#echo ""
#echo -e "\n{B}[~] Let's Begin.. ${O} \n
# ﱨ ﮚ ﮙ 履 ﱮ 梅 海 甆 ﭮ (heartbeat) (diamond) ﲎ ﴂ ﴢ ﲮ ㉿ ✔ ✘ 滛 滋 望 歹 摒 敖 " $W;
sudo apt update
echo -e "\n${B}[+] Do you want to install Zsh Plugins? ${C}(y/n): " $W;
read REPLY;
if [[ "$REPLY" =~ ^[y/Y]$ ]];
then
echo -e "\n${B}[+] Installing Zsh Plugins... " $W;
echo -e "\n{B}[*] First installing oh-my-zsh (plugin manager)... " $W;
git clone https://github.com/ohmyzsh/ohmyzsh ~/.oh-my-zsh/;
echo -e "\n{B}[*] Now, installing Plugins... " $W;
git clone https://github.com/zsh-users/zsh-syntax-highlighting ~/.oh-my-zsh/plugins/zsh-syntax-highlighting;
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/plugins/zsh-autosuggestions;
git clone https://github.com/zsh-users/zsh-completions ~/.oh-my-zsh/plugins/completions; cd ~
echo -e "\n{B}[*] Now, installing Theme: p10k-zsh ... " $W;
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $HOME/.oh-my-zsh/themes/powerlevel10k
# Worthy steps
#cp .p10k.zsh ~/.p10k.zsh
#cp zshrc-modified-omz ~/.zshrc
#echo -e "\n{B}[~] Let's make Zsh your default shell!" $W;
#echo -e "\n{B}[~] Enter /bin/zsh below, if you don't want (or it's already /bin/zsh) then press ENTER to make it stay as it is" $W;
chsh -s zsh && echo -e "\n{B}[~] Now, Zsh is your default shell!" $W && echo -e "\n${G}[✔] Everything done.\n"
fi
echo -e "\n${B}[+] Do you want to install Nvidia Drivers now? ${C}(y/n): " $W;
read REPLY;
if [[ "$REPLY" =~ ^[y/Y]$ ]];
then
echo -e "\n${B}[+] Installing Nvidia Drivers... " $W;
echo -e "\n${B}[*] Blacklisting Nouveau Drivers... " $W;
sudo touch /etc/modprobe.d/blacklist-nvidia-nouveau.conf
echo "blacklist nouvea" | sudo tee /etc/modprobe.d/blacklist-nvidia-nouveau.conf
echo "options nouveau modeset=0" | sudo tee -a /etc/modprobe.d/blacklist-nvidia-nouveau.conf
echo -e "\n${B}[*] Updating Kernle module... " $W;
sudo update-initramfs -u
echo -e "\n${B}[*] Installing Nvidia-legacy-340xx... " $W;
sudo apt install xserver-xorg-video-nvidia-legacy-340xx && echo -e "\n${G}[✔] Installed. Reboot Your PC.\n"
fi
echo -e "\n${B}[+] Do you want to install Some Awesome Tools? ${C}(y/n): "$W;
read REPLY;
if [[ "$REPLY" =~ ^[y/Y]$ ]];
then
echo -e "\n${G}[*] Installing..."
echo -e "${B}[*] Search That Hash"$W
pip3 install search-that-hash
echo -e "${B}[*] Hakrawler"$W
go get github.com/hakluke/hakrawler
echo -e "${B}[*] WayBackurls"$W
go get github.com/tomnomnom/waybackurls
echo -e "${B}[*] Interlace"$W
git clone https://github.com/codingo/Interlace.git ~/toolies
echo -e "${B}[*] Pwncat"$W
pip install git+https://github.com/calebstewart/pwncat.git
echo -e "${B}[*] Arjun"$W
git clone https://github.com/s0md3v/Arjun.git && cd Arjun && python3 setup.py install && cd ..
echo -e "${B}[*] Osmedius"$W
git clone https://github.com/j3ssie/Osmedeus && cd Osmedeus && ./install && cd ..
# echo -e "${B}[*] Autorecon"$W
# git clone https://github.com/Tib3rius/AutoRecon.git && cd AutoRecon && pip3 install -r requirements.txt && cd ..
echo -e "${B}[*] Volatility 3"$W
git clone https://github.com/volatilityfoundation/volatility3.git && echo -e "${O}[+] Just Cloned, Install Manually."$W
echo -e "${B}[*] Rustscan"$W
cargo install rustscan
echo -e "${B}[*] Xsrfprobe"$W
pip3 install xsrfprobe
echo -e "\n${B}[*] Want to get SecLists ? ${C}(y/n): "$W;
read REPLY;
if [[ "$REPLY" =~ ^[y/Y]$ ]];
then
wget https://github.com/danielmiessler/SecLists/archive/master.zip && echo -e "${G}[*] Done."$W
fi
echo -e "\n${G}[✔] All Installed.\n"
fi
echo -e "\n${G}[*] Installing..."
echo -e "${B}[*] lsd (glorious ls)"$W && sudo apt install lsd -y && echo -e "${B}[*] batcat (cat with syntax highlightening and numbering)"$W && sudo apt install batcat -y && echo -e "${B}[*] duf (improved du, df)"$W && sudo apt install duf -y && echo -e "${G}[✔] Installed\n"
# echo -e "\n${B}[+] Installing Diodon(clipboard)..." $W;
# sudo apt install diodon -y 1> /dev/null && echo -e "${G}[✔] Installed\n"
# echo -e "\n${B}[+] Installing Flameshot..." $W;
# sudo apt install flameshot -y 1> /dev/null && echo -e "${G}[✔] Installed\n"
# echo -e "\n${B}[+] Installing MPlayer & Kylin-video... "$W;
# sudo apt install kylin-video mplayer -y 1> /dev/null && echo -e "${G}[✔] Installed\n"
echo -e "\n${B}[+] Installing Terminator... " $W;
if [ -f /bin/terminator ]; then
echo -e "\n${G}[✔] Terminator is already installed. " $W;
else
sudo apt install terminator -y 1> /dev/null && echo -e "${G}[✔] Installed\n"
fi
echo -e "\n${B}[+] Do you want to install Terminator themes ? ${C}(y/n): " $W;
read REPLY;
if [[ "$REPLY" =~ ^[y/Y]$ ]];
then
echo -e "\n${B}[+] Installing... " $W;
mkdir -p $HOME/.config/terminator/plugins
wget https://git.io/v5Zww -O $HOME"/.config/terminator/plugins/terminator-themes.py"
echo -e "${G}[✔] Installed\n"
fi
# echo -e "\n${B}[+] Do you want to install Nvidia Drivers now? ${C}(y/n): " $W;
# read REPLY;
# if [[ "$REPLY" =~ ^[y/Y]$ ]];
# then
# echo -e "\n${B}[+] Installing Nvidia Drivers... " $W;
# echo -e "${G}[✔] Installed\n"
# fi
echo -e "\n${B}[+] Installing Sublime-Text... " $W;
if [ -f /bin/subl ]; then
echo -e "\n${G}[✔] Sublime-Text is already installed. " $W;
else
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
sudo apt-get install apt-transport-https
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt update -y 1> /dev/null
sudo apt install sublime-text -y && echo -e "${G}[✔] Installed\n"
fi
# echo -e "\n${B}[+] Installing Anonsurf-cli... " $W;
# sudo apt install anonsurf-cli -y 1> /dev/null
echo -e "\n${B}[+] Installing Albert (app-launcher)... " $W;
if [ -f /bin/albert ]; then
echo -e "\n${G}[✔] Albert is already installed. " $W;
else
curl https://build.opensuse.org/projects/home:manuelschneid3r/public_key | sudo apt-key add -
echo 'deb http://download.opensuse.org/repositories/home:/manuelschneid3r/xUbuntu_20.04/ /' | sudo tee /etc/apt/sources.list.d/home:manuelschneid3r.list
sudo wget -nv https://download.opensuse.org/repositories/home:manuelschneid3r/xUbuntu_20.04/Release.key -O "/etc/apt/trusted.gpg.d/home:manuelschneid3r.asc"
sudo apt update 1> /dev/null
sudo apt install albert -y 1> /dev/null && echo -e "${G}[✔] Installed\n"
fi
echo -e "\n${B}[+] Installing Plank (an awesome dock)... " $W;
if [ -f /bin/plank ]; then
echo -e "\n${G}[✔] Plank is already installed. " $W;
else
sudo apt install plank -y 1> /dev/null && echo -e "${G}[✔] Installed\n"
# Plank themes :P
fi
echo -e "\n${B}[+] Installing Flatpak... " $W;
if [ -f /bin/flatpak ]; then
echo -e "\n${G}[✔] Already installed. " $W;
else
sudo apt install flatpak -y 1> /dev/null && echo -e "${G}[✔] Installed" && flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo && echo -e "${G}[✔] Repository added.\n"
fi
echo -e "\n${B}[+] Installing Notion... " $W;
if [ -f /bin/notion-desktop ]; then
echo -e "\n${G}[✔] Already installed. " $W;
else
wget https://notion.davidbailey.codes/notion-linux.list
sudo mv notion-linux.list /etc/apt/sources.list.d/notion-linux.list
sudo apt update && sudo apt install notion-desktop -y 1> /dev/null && echo -e "${G}[✔] Installed\n"
fi
echo -e "\n${B}[+] Installing Pompem (Exploit and Vulnerability Finder) and Searchsploit/exploitdb (some must have)... " $W;
sudo apt install pompem exploitdb && echo -e "${G}[✔] Installed\n"
# echo -e "\n${B}[+] Installing Brave (a nice web broser)... " $W;
# if [ -f /bin/brave-browser ]; then
# echo -e "\n${G}[✔] Brave is already installed. " $W;
# else
# sudo apt install apt-transport-https curl gnupgn
# curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add -
# echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main" | sudo tee /etc/apt/sources.list.d/brave-browser-release.list
# sudo apt update 1> /dev/null
# sudo apt install brave-browser -y && echo -e "${G}[✔] Installed\n"
# fi
echo -e "\n${B}[+] Installing Nautilus (an awesome file browser) and some extensions... " $W;
if [ -f /bin/nautilus ]; then
echo -e "\n${G}[✔] Already installed. " $W;
else
sudo apt install nautilus nautilus-admin nautilus-wipe -y 1> /dev/null && echo -e "${G}[✔] Installed\n"
fi
echo -e "\n${B}[+] Installing KTouch..." $W;
if [ -f /bin/ktouch ]; then
echo -e "\n${G}[✔] KTouch is already installed. " $W;
else
sudo apt install ktouch -y 1> /dev/null && echo -e "${G}[✔] Installed\n"
fi
echo -e "\n${B}[+] Installing Global AppMenu(Mate)..." $W;
sudo apt install mate-applet-appmenu mate-hud -y 1> /dev/null
xfconf-query -c xsettings -p /Gtk/ShellShowsMenubar -n -t bool -s true && xfconf-query -c xsettings -p /Gtk/ShellShowsAppmenu -n -t bool -s true && echo -e "${G}[✔] Installed\n" # xfce4-appmenu-plugin
echo -e "\n${B}[+] Installing BpyTop..." $W;
sudo apt install bpytop -y 1> /dev/null && echo -e "${G}[✔] Installed\n"
# echo -e "\n${B}[+] Installing HPing3 (an Active Network Smashing Tool)... "$W;
# sudo apt install hping3
# echo -e "\n${B}[+] Installing Vlc... "$W;
# sudo apt install vlc -y 1> /dev/null
# echo -e "\n${B}[+] Installing Vim and some of its required things... " $W;
# sudo apt install vim vim-addon-manager vim-syntax-gtk vim-runtime vim-scripts vim-asciidoc 1> /dev/null
# echo -e "\n${B}[+] Installing Compiz (Nice & Lite Window Manager)
# for MATE... " $W;
# if [ -f /bin/compiz ]; then
# echo -e "\n${G}[✔] You didn't tell me Compiz is already installed. " $W;
# else
# sudo apt install compiz compiz-mate compiz-boxmenu compiz-plugins-default fusion-icon compiz-plugins-extra -y 1> /dev/null
# echo -e "\n${G}[✔] Compiz has got Installed " $G
# echo -e "\n${C} ~ ${O} Remember to put the Configs! " $G
# fi
# echo -e "\n${B}[+] Installing Kate (a very awesome and powerful text-editor)... " $W;
# if [ -f /bin/kate ]; then
# echo -e "\n${G}[✔] Kate is already installed. " $W;
# else
# sudo apt install kate -y 1> /dev/null
# echo -e "\n${G}[✔] Kate has been Installed " $G
# fi
echo -e "\n${O}[*] You have Lin&Win PEAS. Right " $W;
# echo -e "\n${B}[+] Fetching Linpeas and LinEnum (Linux PrivEsc scripts).." $W;
# if [ -f ~/linpeas.sh ]; then
# echo -e "\n${G}[✔] Linpeas already fetched. " $W;
# else
# wget https://raw.githubusercontent.com/carlospolop/privilege-escalation-awesome-scripts-suite/master/linPEAS/linpeas.sh
# fi
# if [ -f ~/LinEnum.sh ]; then
# echo -e "\n${G}[✔] LinEnum already fetched. " $W;
# else
# wget https://raw.githubusercontent.com/rebootuser/LinEnum/master/LinEnum.sh
# fi
# echo -e "\n${B}[+] Installing Plug (a vim-addon-manager)... " $W;
#
# curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
# https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
#
# echo -e "\n${B}[+] Installing Grub Customizer... " $W;
# sudo apt install grub-customizer -y 1> /dev/null
echo -e "\n${B}[+] Installing Ranger (a terminal-based file browser)... " $W;
sudo apt install ranger -y 1> /dev/null && echo -e "${G}[✔] Installed\n"
echo -e "\n${B}[+] Installing Neofetch, Figlet, Cmatrix, Hollywood, Lolcat and Global (source code search)... " $W;
sudo apt install neofetch figlet cmatrix global hollywood -y 1> /dev/null
if [ -f /bin/lolcat ]; then
echo -e "\n${G}[✔] Lolcat is already installed. " $W;
else
pip3 install lolcat && echo -e "${G}[✔] Installed\n"
fi
# echo -e "\n${B}[+] Installing Lightdm Gtk Greeter... " $W;
# sudo apt install lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings -y 1> /dev/null
# echo -e "\n${B}[+] Installing Mate-Applets.. " $W; #\n And some Education Apps... " $W;
# sudo apt install mate-window-applets-common mate-netbook mate-window-buttons-applet mate-applet-appmenu mate-desktop-environment mate-window-title-applet monajat-applet #education-desktop-mate
# echo -e "\n${B}[+] Installing Sddm and some themes... " $W;
# sudo apt install sddm sddm-theme-maya sddm-theme-debian-breeze sddm-theme-breeze
# echo -e "\n${B}[+] Installing Dwm, Bspwm (tiling window managers)... " $W;
# sudo apt install dwm bspwm
# echo -e "\n${B}[+] Installing KWin and some themes... " $W;
# sudo apt install kwin-x11 kwin-common kwin-data kwin-addons kwayland-integration kwin-style-breeze
echo -e "\n${B}[+] Installing Lynx (terminal based web browser)...
and MuTT (terminal based email client)" $W;
sudo apt install lynx mutt
# echo -e "\n${B}[+] Installing Gimp and some necessary plugins (best free alternative to Photoshop)... " $W;
# sudo apt install gimp gimp-plugin-registry gimp-data-extras gimp-gap gimp-dds gimp-gmic
# echo -e "\n${B}[+] Installing Photo-Flare (enhance Pics) and Shotwell (organize photos)... " $W;
# sudo apt install photoflare shotwell
# echo -e "\n${B}[+] Installing Darktable (a free alternative to Lightroom)... " $W;
# sudo apt install darktable
# echo -e "\n${B}[+] Installing Krita (a nice software for digital painting)... " $W;
# sudo apt install krita krita-gmic
# echo -e "\n${B}[+] Installing Inkscape (another software for digital painting)... " $W;
# sudo apt install inkscape inkscape-open-symbols inkscape-speleo inkscape-survex-export inkscape-textext inkscape-textext-doc inkscape-tutorials
# echo -e "\n${B}[+] Installing Imagemagic, Luminance-hdr, Fotoxx and Games-content-dev... " $W;
# sudo apt install imagemagick luminance-hdr fotoxx games-content-dev
echo -e "\n${B}[+] Installing Kdenlive (an awesome video editor, from KDE)... " $W;
sudo apt install kdenlive && echo -e "${G}[✔] Installed\n"
# echo -e "\n${B}[+] Installing Flowblade Openshot Shortcut Lives Pitivi (video editors)... " $W;
# sudo apt install flowblade openshot shortcut lives pitivi
echo -e "\n${B}[+] Installing Audacity (an awesome cross-platform audio editor)... " $W;
sudo apt install audacity && echo -e "${G}[✔] Installed\n"
# echo -e "\n${B}[+] Installing Lutris (play games on linux)... " $W;
# sudo apt install lutris
echo -e "\n${B}[+] Installing VirtualBox... " $W;
sudo apt install virtualbox && echo -e "${G}[✔] Installed\n"
echo -e "\n${B}[+] Cleaning... " $W;
sudo apt autoclean && sudo apt autoremove
echo -e "\n${B}[+] Installing ${C}:" $W;
echo -e "${C}[*] Yersinia (Network vulnerabilities check software)..."
echo -e "${C}[*] Uniscan (LFI, RFI, and RCE vulnerability scanner)... " $W;
echo -e "${C}[*] Vuls (Vulnerability scanner for Linux, agentless)... " $W;
echo -e "${C}[*] Wapiti (web application vulnerability scanner)... " $W;
echo -e "${C}[*] Webscarab (Web application review tool)... " $W;
echo -e "${C}[*] Debsecan (Debian Security Analyzer)... " $W;
echo -e "${C}[*] Dotdotpwn (Directory Traversal Fuzzer).... " $W;
echo -e "${C}[*] Changeme (Default credential scanner)... " $W;
echo -e "${C}[*] And Flawfinder (examines source code and looks for security weaknesses)... \n" $W;
sudo apt install yersinia uniscan vuls wapiti webscarab debsecan dotdotpwn changeme flawfinder;
# echo -e "\n${B}[+] Installing Telegram-Desktop ${C}..." $W;
# sudo apt install telegram-desktop && echo -e "${G}[✔] Installed\n"
echo -e "\n${R}[${O}~${R}] !!${O} Things To Do Manually ${R}!!" $W;
echo -e "\n${B}[+] Install ${G}Nessus${B}, ${G}Vega ${C}(web vulnerability scanner) ${B}and ${G}WPS Office ${R}Yourself !!" $W;
echo -e "${B}[+] Place the ${G}xorg.conf ${B} in (DIR) as ${C}/etc/X11/xorg.conf.d/xorg.conf ${R}!" $W;
echo -e "${B}[+] And place the ${G}terminator-configs.txt ${B} in (DIR) as ${C}~/.config/terminator/config ${R}!" $W;
echo -e "\n${B}[~] Time to go${R}!${B} Its all I could do.";
echo -e "${G}[~] AllahHafiz \n" $W;
# except KeyboardInterrupt:
# echo -e "\n${B}[+] Everthing is Done ${O}!${B} Its all I could do.\n{B}[~] AllahHafiz 🤗" $W;
# exit