diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ceace59 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,22 @@ +FROM debian:bullseye-slim + +# Update package repositories and install necessary packages +RUN apt-get update && apt-get install -y \ + python3 \ + clang \ + libc6-dev \ + python3-pip \ + gdb \ + nano \ + vim + +COPY src /root/src + +# Install Python packages +RUN python3 -m pip install \ + capstone \ + pwntools + +WORKDIR /root + +ENTRYPOINT ["/bin/bash"] \ No newline at end of file diff --git a/tpattempt/pyscript b/src/pyscript old mode 100755 new mode 100644 similarity index 100% rename from tpattempt/pyscript rename to src/pyscript diff --git a/tpattempt/vun.c b/src/vulnerable.c similarity index 100% rename from tpattempt/vun.c rename to src/vulnerable.c