Add support for updating the prompt and logging all commands to the host via script

This commit is contained in:
sog 2020-04-18 10:28:14 -04:00
parent 1a9bed2fa8
commit f99aa2226f
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ FROM ubuntu:19.10
ENV LC_CTYPE C.UTF-8
ENV DEBIAN_FRONTEND=noninteractive
COPY dot_radare2rc /root/.radare2rc
COPY dot_bashrc /root/.bashrc
RUN dpkg --add-architecture i386 && \
apt-get update && \
apt-get install -y build-essential jq strace ltrace curl wget rubygems gcc dnsutils netcat gcc-multilib net-tools \

2
run.sh
View File

@ -1,2 +1,2 @@
#!/bin/sh
docker run --rm -v "$(pwd):/pwd" --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -d --name docker-binaryexploitation -i docker-binaryexploitation:ubuntu19.10
docker run --rm -v "$(pwd):/pwd" -v "$(pwd)/logs:/logs" --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -d --name docker-binaryexploitation -i docker-binaryexploitation:ubuntu19.10