-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
39 lines (32 loc) · 1.3 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
FROM ubuntu:16.04
RUN apt-get update \
&& apt-get -y upgrade \
&& apt-get -y install build-essential gcc-multilib g++-multilib binutils-multiarch gdb strace ltrace netcat vim-tiny less wget git socat nmap \
&& apt-get clean
# rp++
RUN wget https://github.com/0vercl0k/rp/releases/download/v1/rp-lin-x64 \
&& wget https://github.com/0vercl0k/rp/releases/download/v1/rp-lin-x86 \
&& chmod +x rp-lin-x64 rp-lin-x86 \
&& mv rp-lin-x64 rp-lin-x86 /usr/local/bin
# peda
RUN apt-get install -y nasm \
&& git clone https://github.com/longld/peda.git ~/peda \
&& echo "source ~/peda/peda.py" >> ~/.gdbinit
# angr, z3py
RUN apt-get install -y python-dev libffi-dev python-pip \
&& apt-get clean \
&& pip install angr
# pin
RUN wget http://software.intel.com/sites/landingpage/pintool/downloads/pin-3.0-76991-gcc-linux.tar.gz \
&& tar xvf pin-3.0-76991-gcc-linux.tar.gz
# qira
RUN apt-get install -y sudo \
&& apt-get clean \
&& wget -qO- https://github.com/BinaryAnalysisPlatform/qira/archive/v1.2.tar.gz | tar zx && cd qira-1.2 && ./install.sh
# afl
RUN apt-get install -y libtool-bin \
&& apt-get clean \
&& wget http://lcamtuf.coredump.cx/afl/releases/afl-latest.tgz \
&& tar xvf afl-latest.tgz \
&& cd afl-* && make \
&& cd qemu_mode && ./build_qemu_support.sh