-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKali.sh
executable file
·94 lines (84 loc) · 2.35 KB
/
Kali.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
#!/bin/bash
echo
"
________ __________.__
\______ \____________ ____ ____ ____\______ \__| ____ ____
| | \_ __ \__ \ / ___\ / _ \ / \| _/ |/ ___\/ __ \
| | \ | \// __ \_/ /_/ > <_> ) | \ | \ \ \__\ ___/
/_______ /__| (____ /\___ / \____/|___| /____|_ /__|\___ >___ >
\/ \//_____/ \/ \/ \/ \/
"
sudo apt update
sudo apt upgrade
# Social Media
if test -e /files/hexchat/OFTC.pem; then
sudo apt install hexchat
hexchat
sleep 5
mkdir ~/.config/hexchat/certs
cp /files/hexchat/OFTC.pem ~/.config/hexchat/certs/OFTC.pem
sudo apt install telegram-desktop
fi
# Install Discord
echo "Installing discord"
sleep 3
wget -O discord.deb -P ~/Downloads "https://discord.com/api/download?platform=linux&format=deb"
sudo apt install ~/Downloads/discord.deb
rm ~/Downloads/discord.deb
discord
echo "Dont Forget to login to discord"
sleep 3
# Android Development
echo "Installing android tools"
sleep 3
sudo apt install fastboot
sudo apt install adb
# SDR
if test -e /files/gqrx/bookmarks.csv; then
echo "Installing radio tools"
sleep 3
sudo apt install gqrx
cp /files/gqrx/bookmarks.csv ~/.config/gqrx/bookmarks.csv
else
echo "bookmarks.csv does not exist"
sleep 3
fi
# Install profile picture
if test -e /files/.face; then
echo "Installing profile picture"
sleep 3
DE=$XDG_CURRENT_DESKTOP
if [ "$DE" == "KDE" ] || [ "$DE" == "XFCE" ]; then
cp /files/.face ~/.face
fi
else
echo ".face does not exist"
sleep 3
fi
# Import SSH Cert
echo "Importing SSH Certificate"
sleep 3
sudo apt install ssh-import-id
ssh-import-id GuildedThorn
sudo systemctl enable ssh --now
# Import GPG Key
if test -e /files/gpg/GuildedThorn.asc; then
echo "Installing gpg key"
sleep 3
sudo apt -y install gnupg2 gnupg-agent
gpg --import /files/gpg/GuildedThorn.asc
git config --global user.signingkey 9B2C68FFF679499C
git config --global commit.gpgsign true
else
echo "GPG Key does not exist"
sleep 3
fi
# Copy firmware for my devices into their proper location
if test -d /files/firmware; then
echo "Installing custom firmware"
sleep 3
cp /files/firmware/BCM20702B0-19ff-0239.hcd /lib/firmware/brcm
fi
# TODO: Pull and install either KDE theme or XFCE theme when its finished
# TODO: Pull and install ThornShell when its finished
reboot