12 lines
411 B
Text
12 lines
411 B
Text
FROM ubuntu:latest
|
|
RUN mkdir /PWD
|
|
RUN apt-get -y update
|
|
RUN apt-get -y upgrade
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
RUN apt-get -y install gdb gdbserver python3 python3-pip python-is-python3 libc6-i386
|
|
RUN pip install pwntools
|
|
ADD spawn-on-host-tmux.sh /bin/spawn-on-host-tmux.sh
|
|
RUN chmod +x /bin/spawn-on-host-tmux.sh
|
|
RUN ln -s /bin/spawn-on-host-tmux.sh /bin/pwntools-terminal
|
|
WORKDIR /PWD
|
|
ENTRYPOINT ["bash"]
|