-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
78 lines (68 loc) · 1.75 KB
/
Dockerfile
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
FROM kalilinux/kali-rolling
ENV DEBIAN_FRONTEND noninteractive
RUN echo 'root:wi03Ho9RpG3s4iFWrcHrOkQLzWwrjOd0HH' | chpasswd
RUN apt update && apt install -yqq kali-linux-large
# Update all the things, then install my personal faves
RUN apt update && apt upgrade -y && apt dist-upgrade -y && apt install -y \
cadaver \
cupp \
ffuf \
gdb \
git \
hashcat \
hydra \
iproute2 \
iputils-ping \
john \
man-db \
medusa \
nano \
nikto \
nuclei \
nmap \
openssh-server \
proxychains \
python3-impacket \
python3-pip \
socat \
sqlmap \
sslscan \
sublist3r \
tcpdump \
tor \
vnstat \
wafw00f \
wapiti \
wireshark \
webshells \
wget \
wordlists \
wpscan \
zaproxy
# Install ngrok
RUN curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc | sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null && \
echo "deb https://ngrok-agent.s3.amazonaws.com buster main" | sudo tee /etc/apt/sources.list.d/ngrok.list && \
apt update && apt install ngrok
# SSH config
RUN mkdir -p /root/.ssh && \
rm /etc/ssh/sshd_config
COPY config/sshd_config /etc/ssh
COPY config/id_rsa.pub /root/.ssh
RUN mv /root/.ssh/id_rsa.pub /root/.ssh/authorized_keys
# Config RDP
RUN wget https://gitlab.com/kalilinux/recipes/kali-scripts/-/raw/main/xfce4.sh
RUN chmod +x xfce4.sh
RUN ./xfce4.sh
COPY config/xrdp.ini /etc/xrdp
RUN apt install -y dbus-x11
# Repos github
RUN cd /root && \
mkdir REPOSITORIOS && \
cd REPOSITORIOS && \
z
RUN gzip -d /usr/share/wordlists/rockyou.txt.gz
RUN updatedb.plocate
# Install pip2.7
# RUN wget https://bootstrap.pypa.io/pip/2.7/get-pip.py
# RUN python2.7 ./get-pip.py
CMD service ssh start && /etc/init.d/xrdp restart && bash