-
Notifications
You must be signed in to change notification settings - Fork 63
/
Dockerfile
49 lines (42 loc) · 915 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
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 google
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"]