-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
36 lines (31 loc) · 1.1 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
# A docker for ctfs
FROM debian
# Metadata
LABEL version="1.0.2"
LABEL author="Lucas Cruz dos Reis"
LABEL description="A personal docker image to help in ctfs"
# Default configuration
WORKDIR /workspace
RUN apt-get update && apt-get install apt-utils build-essential
strace ltrace gdb vim wget curl dnsutils git python3 python3-pip \
python3-setuptools python3-dev jq tidy whois default-jdk nmap net-tools \
tcpdump unzip \
-y \
--no-install-recommends
# Graphical utilities
RUN pip3 install pwntools
# Compilation Settings
WORKDIR src
RUN git clone https://github.com/slimm609/checksec.sh checksec && \
ln -s $(pwd)/checksec/checksec /bin
RUN git clone https://github.com/radareorg/radare2 radare2 && \
radare2/sys/install.sh && r2pm init && r2pm install r2ghidra-dec
RUN git clone https://github.com/offensive-security/exploitdb.git \
exploit-database && ln -s $(pwd)/exploit-database/searchsploitz \
/bin && cp -n $(pwd)/exploit-database/.searchsploit_rc ~/
# For graphical programs
ENV _JAVA_AWT_WM_NONREPARENTING=1
# Workflow files
COPY .vimrc /root/
WORKDIR ..
CMD ["/bin/bash"]