You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
435 B
19 lines
435 B
FROM ubuntu:latest
|
|
|
|
RUN apt-get update && \
|
|
apt install -y python3 gcc musl-dev python3-pip && \
|
|
python3 -m pip install ROPgadget && \
|
|
python3 -m pip install capstone
|
|
|
|
COPY Bufferoverflow /root/Bufferoverflow
|
|
COPY ROPgadget /root/ROPgadget
|
|
|
|
WORKDIR /root/Bufferoverflow
|
|
|
|
RUN gcc main.c -o binaire -fno-stack-protector
|
|
|
|
WORKDIR /root
|
|
|
|
ENTRYPOINT ["/bin/bash"]
|
|
|
|
#python3 ROPgadget/ROPgadget.py --binary Bufferoverflow/binaire |