-
Notifications
You must be signed in to change notification settings - Fork 17
/
install.sh
64 lines (64 loc) · 2.61 KB
/
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
#!/bin/bash
clear
TRANS='\e[0m'
BLUE='\e[1;34m'
RED='\e[38;5;124m'
YELLOW='\e[38;5;226m'
GREEN='\e[38;5;46m'
PURPLE='\e[38;5;200m'
LIGHTBLUE='\e[38;5;44m'
echo -e "${GREEN}"
echo " ██╗ ██╗ █████╗ ██████╗██╗ ██╗ ██████╗ ██╗"
echo " ██║ ██║██╔══██╗██╔════╝██║ ██╔╝ ██╔══██╗██║"
echo " ███████║███████║██║ █████╔╝ ██████╔╝██║"
echo " ██╔══██║██╔══██║██║ ██╔═██╗ ██╔═══╝ ██║"
echo " ██║ ██║██║ ██║╚██████╗██║ ██╗ ██║ ██║"
echo " ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝"
echo -e "${NC}"
echo -e "${YELLOW} Update, Upgrade, Autologin, AutoVNC and Hacking Tools ${TRANS}"
echo ""
echo -e "${RED} This Script Must Run As R00T | thehackingsage.github.io ${TRANS}"
echo ""
echo "-----------------------------------------------------------"
echo ""
echo -e "${BLUE} [>] Press ENTER to Continue, CTRL+C to Abort.. ${TRANS}"
read INPUT
echo ""
echo -e "${TRANS}"
echo -e "${GREEN}Performing Update.....${TRANS}"
echo ""
apt-get update
#apt-get full-upgrade
echo -e "${TRANS}"
echo -e "${GREEN}Installing XFCE4 GUI.....${TRANS}"
echo ""
apt-get install kali-defaults kali-root-login desktop-base xfce4 xfce4-places-plugin xfce4-goodies -y
apt-get install lightdm -y
dpkg-reconfigure lightdm
echo -e "${TRANS}"
echo -e "${GREEN}Installing Tight VNC.....${TRANS}"
echo ""
apt-get install tightvncserver -y
echo -e "${TRANS}"
echo -e "${GREEN}Making Autorun VNC Script.....${TRANS}"
echo ""
cp tightvncserver /etc/init.d/tightvncserver
chmod 755 /etc/init.d/tightvncserver
update-rc.d tightvncserver defaults
echo -e "${TRANS}"
echo -e "${GREEN}VNC Password Setting.....${TRANS}"
echo ""
vncpasswd
sudo /etc/init.d/tightvncserver start
echo "VNC Autorun On Startup Done..!!!"
echo -e "${TRANS}"
echo -e "${GREEN}Enabling AutoLogin.....${TRANS}"
echo ""
mv /etc/lightdm/lightdm.conf /etc/lightdm/lightdm.conf.bak
mv /etc/pam.d/lightdm-autologin /etc/pam.d/lightdm-autologin.bak
cp lightdm.conf /etc/lightdm/lightdm.conf
cp lightdm-autologin /etc/pam.d/lightdm-autologin
echo -e "${TRANS}"
echo -e "${GREEN}All Done...!!! Thanks For Using This Tool...!!!${TRANS}"
echo -e "${GREEN}Visit : https:/thehackingsage.github.io for more.. ${TRANS}"
echo " "