huge commit
This commit is contained in:
20
2026/cscg/pwn/canopysaurus/Dockerfile
Normal file
20
2026/cscg/pwn/canopysaurus/Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM ubuntu:22.04
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt-get update && apt-get install -y \
|
||||
build-essential \
|
||||
python3 \
|
||||
python3-pip \
|
||||
gdb \
|
||||
git \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
RUN pip3 install pwntools
|
||||
RUN git clone https://github.com/pwndbg/pwndbg /opt/pwndbg \
|
||||
&& cd /opt/pwndbg \
|
||||
&& ./setup.sh
|
||||
WORKDIR /challenge
|
||||
COPY ecu_sim.c Makefile ./
|
||||
COPY flag.txt /flag.txt
|
||||
RUN make
|
||||
RUN chmod 444 /flag.txt
|
||||
EXPOSE 18088
|
||||
CMD ["/challenge/ecu_sim"]
|
||||
Reference in New Issue
Block a user