mirror of
https://github.com/deadbeefmonster/docker-binaryexploitation.git
synced 2025-11-08 19:43:57 +01:00
Fix rizinrc file for updated parameter, fix gef installation, add tmux
This commit is contained in:
parent
f4cd1991be
commit
fd8beb3df3
@ -7,7 +7,7 @@
|
|||||||
# Run the docker container -> run.sh
|
# Run the docker container -> run.sh
|
||||||
# Get a shell in the container -> shell.sh
|
# Get a shell in the container -> shell.sh
|
||||||
|
|
||||||
FROM ubuntu:20.10
|
FROM ubuntu:21.04
|
||||||
ENV LC_CTYPE C.UTF-8
|
ENV LC_CTYPE C.UTF-8
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
COPY dot_rizinrc /root/.rizinrc
|
COPY dot_rizinrc /root/.rizinrc
|
||||||
@ -15,11 +15,13 @@ COPY dot_rizinrc /root/.rizinrc
|
|||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y build-essential jq strace ltrace curl wget rubygems gcc dnsutils netcat gcc-multilib net-tools \
|
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 \
|
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 && \
|
pip install capstone requests pwntools r2pipe keystone-engine unicorn ropper meson ninja && \
|
||||||
mkdir /tools && \
|
mkdir /tools && \
|
||||||
cd /tools && git clone https://github.com/JonathanSalwan/ROPgadget && \
|
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/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 /tools && git clone --recurse-submodules https://github.com/rizinorg/rizin && \
|
||||||
cd rizin && meson build && ninja -C build && ninja -C build install
|
cd rizin && meson build && ninja -C build && ninja -C build install
|
||||||
|
|||||||
@ -4,10 +4,15 @@ Create a docker container that is purpose-built for binary exploitation using Li
|
|||||||
*Still working on getting this fully set up.*
|
*Still working on getting this fully set up.*
|
||||||
|
|
||||||
## Packages / Features
|
## Packages / Features
|
||||||
- emacs-nox
|
- Ubuntu 21.04
|
||||||
- rizin with a .radare2rc (rizin compatible?!)
|
- emacs-nox, vim, jq, stract, ltrace
|
||||||
|
- rizin with a .rizinrc
|
||||||
- gdb + gef
|
- gdb + gef
|
||||||
- libc database
|
- libc database
|
||||||
|
- ROPgadget
|
||||||
|
- pwntools
|
||||||
|
- ropper
|
||||||
|
- unicorn
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
Build the docker container: `./build.sh`
|
Build the docker container: `./build.sh`
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
e asm.cmtright=true
|
e asm.cmt.right=true
|
||||||
e asm.pseudo = true
|
e asm.pseudo=true
|
||||||
eco darkda
|
eco darkda
|
||||||
e scr.utf8 = true
|
e scr.utf8=true
|
||||||
e dbg.slow = true
|
e dbg.slow=true
|
||||||
Loading…
x
Reference in New Issue
Block a user