mirror of
https://github.com/deadbeefmonster/docker-binaryexploitation.git
synced 2025-12-29 02:08:28 +01:00
Fix rizinrc file for updated parameter, fix gef installation, add tmux
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
# Run the docker container -> run.sh
|
||||
# Get a shell in the container -> shell.sh
|
||||
|
||||
FROM ubuntu:20.10
|
||||
FROM ubuntu:21.04
|
||||
ENV LC_CTYPE C.UTF-8
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
COPY dot_rizinrc /root/.rizinrc
|
||||
@@ -15,11 +15,13 @@ COPY dot_rizinrc /root/.rizinrc
|
||||
RUN apt-get update && \
|
||||
apt-get install -y build-essential jq strace ltrace curl wget rubygems gcc dnsutils netcat gcc-multilib net-tools \
|
||||
vim gdb gdb-multiarch python python3 python3-pip python3-dev libssl-dev libffi-dev wget git make procps \
|
||||
libpcre3-dev libdb-dev libxt-dev libxaw7-dev emacs-nox && \
|
||||
libpcre3-dev libdb-dev libxt-dev libxaw7-dev emacs-nox tmux && \
|
||||
pip install capstone requests pwntools r2pipe keystone-engine unicorn ropper meson ninja && \
|
||||
mkdir /tools && \
|
||||
cd /tools && git clone https://github.com/JonathanSalwan/ROPgadget && \
|
||||
cd /tools && git clone https://github.com/niklasb/libc-database && \
|
||||
cd /tools && git clone https://github.com/hugsy/gef && sh -c "$(curl -fsSL http://gef.blah.cat/sh)" && \
|
||||
cd /tools && git clone https://github.com/hugsy/gef && \
|
||||
wget -O /root/.gdbinit-gef.py -q https://github.com/hugsy/gef/raw/master/gef.py && \
|
||||
echo source /root/.gdbinit-gef.py >> /root/.gdbinit && \
|
||||
cd /tools && git clone --recurse-submodules https://github.com/rizinorg/rizin && \
|
||||
cd rizin && meson build && ninja -C build && ninja -C build install
|
||||
|
||||
Reference in New Issue
Block a user