forked from freelabz/secator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
50 lines (43 loc) · 946 Bytes
/
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
FROM kalilinux/kali-rolling
ENV PATH="${PATH}:/root/go/bin:/root/.local/bin"
RUN apt update -y && \
apt install -y \
curl \
gcc \
git \
golang-go \
make \
pipx \
python3 \
python3-pip \
python3-venv \
ruby-full \
rubygems \
sudo \
vim \
wget \
chromium \
jq \
openssl \
proxychains \
proxychains-ng
# Install Metasploit framework
RUN curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall
RUN chmod 755 msfinstall
RUN ./msfinstall
# Copy code
WORKDIR /code
COPY . /code/
# Install secator
RUN pipx install .
RUN secator install tools
RUN secator install addons worker
RUN secator install addons gdrive
RUN secator install addons gcs
RUN secator install addons mongodb
RUN secator install addons redis
RUN secator install addons dev
# Cleanup
RUN rm -rf /var/lib/apt/lists/*
# Set entrypoint
ENTRYPOINT ["secator"]