-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploy.sh
executable file
·64 lines (52 loc) · 2.68 KB
/
deploy.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
# Author: Maleick
# Version: 2.61
# Update: 5/05/21
# Deploy Kali image setup
cat << "EOF"
██████╗ ███████╗██████╗ ██╗ ██████╗ ██╗ ██╗ ███████╗██╗ ██╗
██╔══██╗██╔════╝██╔══██╗██║ ██╔═══██╗╚██╗ ██╔╝ ██╔════╝██║ ██║
██║ ██║█████╗ ██████╔╝██║ ██║ ██║ ╚████╔╝ ███████╗███████║
██║ ██║██╔══╝ ██╔═══╝ ██║ ██║ ██║ ╚██╔╝ ╚════██║██╔══██║
██████╔╝███████╗██║ ███████╗╚██████╔╝ ██║ ██╗███████║██║ ██║
╚═════╝ ╚══════╝╚═╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
EOF
# Colors
blue=$'\e[0;94m'
green=$'\e[1;92m'
red=$'\e[0;91m'
white=$'\e[0m'
# Updates
echo "$green Deploying Updates $white"
apt update
apt install at bc bloodhound build-essential chromium gss-ntlmssp mingw-w64 openjdk-11-jdk powershell python3-pip seclists -y
apt full-upgrade -y
apt autoremove
# Pip install
echo "$green Deploying Pip $white"
pip3 install mitm6 pypykatz
# Clone all the things
echo "$green Deploy the Clones $white"
git clone https://github.com/SecureAuthCorp/impacket.git /opt/impacket; cd /opt/impacket; pip3 install .
git clone https://github.com/FortyNorthSecurity/Egress-Assess.git /opt/Egress-Assess
git clone https://github.com/carlospolop/privilege-escalation-awesome-scripts-suite.git /opt/winPEAS
git clone https://github.com/threatexpress/malleable-c2.git /opt/malleable-c2
git clone https://github.com/threatexpress/random_c2_profile.git /opt/random_c2; cd /opt/random_c2; pip3 install -r requirements.txt
git clone https://github.com/lgandx/Responder.git /opt/Responder
git clone https://github.com/PowerShellMafia/PowerSploit.git /opt/PowerSploit
gem install evil-winrm
# Setup SSH
echo "$green Deploy SSH $white"
systemctl enable ssh.service
rm /etc/ssh/ssh_host_*
dpkg-reconfigure openssh-server
# Enumerate
echo "$green Deploy Enumerate $white"
git clone https://github.com/Maleick/Enumerate.git /opt/Enumerate; sh /opt/Enumerate/install.sh
# Dotfiles
echo "$green Deploy Dotfiles $white"
git clone https://github.com/Maleick/dotfiles /opt/dotfiles
# Reboot countdown
echo "$red Rebooting in 10 seconds. $white"
sleep 10s
reboot