-
Notifications
You must be signed in to change notification settings - Fork 21
/
Dockerfile
41 lines (29 loc) · 1.14 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
40
41
FROM openjdk:11-jre-slim@sha256:93af7df2308c5141a751c4830e6b6c5717db102b3b31f012ea29d842dc4f2b02
LABEL maintainer="Koen Rouwhorst <[email protected]>"
ARG PORTSWIGGER_EMAIL_ADDRESS
ARG PORTSWIGGER_PASSWORD
ENV BURP_SUITE_PRO_VERSION="2023.10.2.3"
ENV BURP_SUITE_PRO_CHECKSUM="83f17e843b347991b5be9f1450ba26f92417d8325ccc27d18f15d1cd9221b5f2"
ENV HOME /home/burp
ENV JAVA_OPTS "-Dawt.useSystemAAFontSettings=gasp "\
"-Dswing.aatext=true "\
"-Dsun.java2d.xrender=true" \
"-XX:+UnlockExperimentalVMOptions "\
"-XX:+UseCGroupMemoryLimitForHeap "\
"-XshowSettings:vm"
RUN apt update && apt install -y curl openssl ca-certificates \
fontconfig libxext6 libxrender1 libxtst6
COPY ./download.sh ./entrypoint.sh /home/burp/
RUN chmod +x /home/burp/download.sh /home/burp/entrypoint.sh && \
/home/burp/download.sh && \
mv "$HOME/burpsuite_pro_v$BURP_SUITE_PRO_VERSION.jar" /home/burp/burpsuite_pro.jar
RUN addgroup --system burp && \
adduser --system --ingroup burp burp
RUN mkdir -p .java/.userPrefs
USER burp
WORKDIR $HOME
# Burp Proxy
EXPOSE 8080
# Burp REST API
EXPOSE 1337
ENTRYPOINT ["/home/burp/entrypoint.sh", "/home/burp/burpsuite_pro.jar"]