Created
December 4, 2019 07:38
-
-
Save secfigo/9f2a8ae921dc60a20f503cb5517aab23 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM openjdk:8-jre-alpine | |
RUN apk --update add openssl ca-certificates ttf-dejavu && echo "Success" | |
RUN apk add git && echo "Success" | |
RUN apk add --no-cache python3 && \ | |
python3 -m ensurepip && \ | |
rm -r /usr/lib/python*/ensurepip && \ | |
pip3 install --upgrade pip setuptools && \ | |
if [ ! -e /usr/bin/pip ]; then ln -s pip3 /usr/bin/pip ; fi && \ | |
if [[ ! -e /usr/bin/python ]]; then ln -sf /usr/bin/python3 /usr/bin/python; fi && \ | |
rm -r /root/.cache && echo "Success" | |
ADD config/ /home/user/ | |
WORKDIR /home/burp | |
COPY burp-rest-api-1.0.2.jar /home/burp/burp-rest-api.jar | |
COPY Config.json /root/.BurpSuite/Config.json | |
#COPY prefs.xml /root/.java/.userPrefs/burp/prefs.xml | |
COPY jython-standalone-2.7.0.jar /home/burp | |
COPY burpsettings-proxy.json /home/burp | |
ENTRYPOINT ["java", "-XX:+UnlockExperimentalVMOptions", "-XX:+UseCGroupMemoryLimitForHeap", "-jar", "burp-rest-api.jar", "--user-config-file=/root/.BurpSuite/Config.json", "--config-file=burpsettings-proxy.json"] | |
EXPOSE 8080 8090 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment