-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
59 lines (46 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
FROM ubuntu:rolling
USER root
ENV DEBIAN_FRONTEND=noninteractive
ENV LC_CTYPE=C.UTF-8
ENV TZ=Asia/Kolkata
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
LABEL maintainer="[email protected]"
RUN dpkg --add-architecture i386
RUN apt-get update &&\
apt-get dist-upgrade -y &&\
apt-get install -y ruby \
build-essential \
git \
python3 \
python3-pip \
ipython3 \
libc6:i386 \
libncurses5:i386 \
libstdc++6:i386 \
socat \
tmux \
strace \
ltrace \
libcapstone-dev \
seccomp \
ruby-dev \
xxd \
netcat \
iproute2 \
vim \
elfutils \
sudo \
binutils-common \
patchelf && \
rm -rf /var/lib/apt/lists/*
RUN gem install one_gadget seccomp-tools
RUN cd /opt &&\
git clone --depth 1 --recurse-submodules https://github.com/pwndbg/pwndbg && \
cd pwndbg &&\
./setup.sh
RUN python3 -m pip install --upgrade pip && \
python3 -m pip install shellen ropgadget ropper
RUN python3 -m pip install git+https://github.com/Gallopsled/pwntools.git@dev
COPY configs/ /root/
RUN git clone https://github.com/mishrasunny174/libc-debug-build.git /opt/libc-debug-build
CMD ["tmux", "-u", "new", "-s" ,"pwn"]