-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile.kali
57 lines (49 loc) · 1.29 KB
/
Dockerfile.kali
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
FROM kalilinux/kali-last-release AS deps
RUN apt-get update \
&& DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends --fix-missing \
ca-certificates \
curl \
gdb \
git \
gnupg \
lsb-release \
zip
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --fix-missing \
graphviz \
clang-16 \
clang \
doxygen \
libcurl4-openssl-dev \
llvm-16 \
llvm-16-dev \
llvm \
llvm-dev \
lld \
python3-dev \
python3-pip \
python3-setuptools \
build-essential \
cmake
ENV LLVM_CONFIG=llvm-config-16
FROM deps AS aflpp
# Clone and build AFL++
RUN set -ex \
&& cd /usr/local/src \
&& git clone --depth 1 -b v4.10c https://github.com/AFLplusplus/AFLplusplus.git \
&& cd AFLplusplus \
&& make all \
&& make install \
&& set +ex
FROM aflpp AS vmf
# Clone, build, install VMF
RUN set -ex \
&& cd /usr/local/src \
&& git clone --depth 1 https://github.com/draperlaboratory/vadermodularfuzzer.git vmf\
&& cd vmf \
&& mkdir -p build \
&& cd build \
&& cmake -DCMAKE_INSTALL_PREFIX=/usr/local .. \
&& make -j \
&& make install \
&& set +ex