diff --git a/Dockerfile b/Dockerfile index bd540d4..ac10154 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/README.md b/README.md index a59420d..11928dd 100644 --- a/README.md +++ b/README.md @@ -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.* ## Packages / Features -- emacs-nox -- rizin with a .radare2rc (rizin compatible?!) +- Ubuntu 21.04 +- emacs-nox, vim, jq, stract, ltrace +- rizin with a .rizinrc - gdb + gef -- libc database +- libc database +- ROPgadget +- pwntools +- ropper +- unicorn ## Usage Build the docker container: `./build.sh` diff --git a/dot_rizinrc b/dot_rizinrc index 55f2815..5ba1368 100644 --- a/dot_rizinrc +++ b/dot_rizinrc @@ -1,5 +1,5 @@ -e asm.cmtright=true -e asm.pseudo = true +e asm.cmt.right=true +e asm.pseudo=true eco darkda -e scr.utf8 = true -e dbg.slow = true \ No newline at end of file +e scr.utf8=true +e dbg.slow=true \ No newline at end of file