-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
166 lines (113 loc) · 6.56 KB
/
Copy pathinstall.sh
File metadata and controls
166 lines (113 loc) · 6.56 KB
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
#!/bin/bash
# Clear the terminal and retain existing scroll up history
clear -x
# Set the text color to blue
echo -e "\033[34m"
# Print the splash screen
cat << "EOF"
________________________________________________
/ version == 15012023 \
| _________________________________________ |
| | | |
| | ┌──(kali㉿kali)-[~] | |
| | └─$ I am a Noob. | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| |_________________________________________| |
| |
\_________________________________________________/
\___________________________________/
___________________________________________
_-' .-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. --- `-_
_-'.-.-. .---.-.-.-.-.-.-.-.-.-.-.-.-.-.-.--. .-.-.`-_
_-'.-.-.-. .---.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-`__`. .-.-.-.`-_
_-'.-.-.-.-. .-----.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-----. .-.-.-.-.`-_
_-'.-.-.-.-.-. .---.-. .-------------------------. .-.---. .---.-.-.-.`-_
:-------------------------------------------------------------------------:
`---._.-------------------------------------------------------------._.---'
EOF
echo "######################################"
echo "# #"
echo "# Welcome to the kali install script #"
echo "# #"
echo "######################################"
cat << "EOF"
| .-.
| / \ .-.
| / \ / \ .-. .-. _ _
+--/-------\-----/-----\-----/---\---/---\---/-\-/-\/\/---
| / \ / \ / '-' '-'
|/ '-' '-'
EOF
read -p "Key points:
- You will be asked to reset your password
- Your Kali user will be placed into the sudoers group to avoid having to enter a password prompt for each sudo command
- Read install.sh for a full list of what will be added
- This will take about 15 minutes to run
- You will need an API key for shell-gpt to work
"
# Reset the text color
echo -e "\033[0m"
#!/bin/bash
read -p "Run this immediately after first boot. Press any key to continue or Ctrl+C to quit. "
read -p "FIRST CHANGE THE DEFAULT PASSWORD....."
sudo passwd kali
echo
read –p "for recon-ng MANUALLY run recon-ng and then marketplace install all"
read -p "NEXT UPDATE KALI. PRESS ENTER...."
sudo apt update -y
#sudo apt full-upgrade –y
read –t 10 -p "INSTALLING TOOLS..."
sudo apt install -y gobuster
sudo apt install -y gedit
#sudo apt install -y hcxdumptool
#sudo apt install -y hcxtools
#sudo apt install -y airgeddon
#sudo apt install -y bettercap
#sudo apt install -y hostapd-wpe
#sudo apt install -y mdk4
#sudo apt install -y lighttpd
#sudo apt install -y isc-dhcp-server
#sudo apt install -y asleap
#sudo apt install -y beef-xss
echo 'kali ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
sudo timedatectl set-timezone Europe/London
sudo gzip -d /usr/share/wordlists/rockyou.txt.gz
#github tools
cd /opt && sudo mkdir tools && cd tools && sudo wget https://gist.githubusercontent.com/superkojiman/11076951/raw/74f3de7740acb197ecfa8340d07d3926a95e5d46/namemash.py && sudo chmod +x namemash.py
#cd /opt/tools && sudo git clone https://github.com/hacker3983/pyrit-installer && cd pyrit-installer && sudo bash install.sh
cd /opt/tools && sudo git clone --depth 1 https://github.com/drwetter/testssl.sh.git
cd /opt/tools && sudo git clone https://github.com/nabla-c0d3/sslyze && pip install --upgrade pip setuptools wheel
cd /opt/tools && sudo git clone https://github.com/t3l3machus/psudohash
cd /opt/tools/psudohash && chmod +x psudohash.py
cd /opt/tools && sudo git clone https://github.com/TheR1D/shell_gpt && pip install shell-gpt
cd /opt/tools && sudo git clone https://github.com/IvanGlinkin/Domain_checker.git && sudo chmod +x domain_checker.sh
cd /opt/tools && sudo mkdir AD
cd /opt/tools/AD && sudo git clone https://github.com/c3c/ADExplorerSnapshot.py.git
cd /opt/tools/AD/ADExplorerSnapshot.py && pip3 install --user .
cd /opt/tools/AD && sudo git clone https://github.com/helpsystems/nanodump.git
cd /opt/tools/AD && sudo git clone https://github.com/topotam/PetitPotam
cd /opt/tools/AD/PetitPotam && sudo chmod +x PetitPotam.py
cd /opt/tools/AD && mkdir printnightmare
cd /opt/tools/AD/printnightmare && sudo git clone https://github.com/nemo-wq/PrintNightmare-CVE-2021-34527
sudo chmod +x /opt/tools/AD/printnightmare/PrintNightmare-CVE-2021-34527/CVE-2021-34527.py
cd /opt/tools/AD && wget https://github.com/ropnop/kerbrute/releases/download/v1.0.3/kerbrute_linux_386 && chmod +x kerbrute_linux_386
cd /opt/tools/AD && wget https://github.com/ropnop/kerbrute/releases/download/v1.0.3/kerbrute_windows_amd64.exe
cd /opt/tools/AD && python3 -m pip install impacket && python3 -m pip install .
cd /opt/tools && sudo git clone https://github.com/danielmiessler/SecLists.git
cd /opt/tools/AD && sudo mkdir cheatsheet && cd /opt/tools/AD/cheatsheet && sudo wget https://github.com/S1ckB0y1337/Active-Directory-Exploitation-Cheat-Sheet
cd /opt/tools/AD/cheatsheet && sudo wget https://github.com/harr-sudo/installscript/raw/main/ad_cheatsheet_by_orange-cyberdefense.pdf
cd /opt/tools && sudo git clone https://github.com/D3Ext/AORT && cd AORT && pip3 install -r requirements.txt && sudo chmod +x AORT.py
cd /opt/tools && sudo git clone https://github.com/harr-sudo/privilege-escalation-awesome-scripts-suite
cd /opt/tools && sudo git clone https://github.com/21y4d/nmapAutomator
cd /opt/tools && sudo git clone https://github.com/rasta-mouse/Sherlock
cd /opt/tools && sudo git clone https://github.com/t3l3machus/hoaxshell && cd hoaxshell && sudo chmod +x hoaxshell.py && pip3 install -r requirements.txt
cd /opt/tools && sudo git clone https://github.com/t3l3machus/wwwtree && cd wwwtree && sudo chmod +x wwwtree.py