Browse Source

fix: pimps fixed

master
QuentinN42 8 months ago
parent
commit
82a94b5b4c
Signed by: number42 GPG Key ID: 2CD7D563712B3A50
  1. 10
      hackers/pimps.Dockerfile

10
hackers/pimps.Dockerfile

@ -1,9 +1,13 @@
FROM alpine:3.14.0
ENV repo JNDI-Exploit-Kit
RUN apk add git maven
RUN git clone https://github.com/pimps/JNDI-Exploit-Kit.git hack
RUN git clone https://github.com/pimps/${repo}.git
WORKDIR hack
WORKDIR ${repo}
RUN mvn clean package -DskipTests
ENTRYPOINT ["java", "-jar", "target/JNDI-Injection-Exploit-1.0-SNAPSHOT-all.jar"]
RUN echo -e "#!/bin/sh\njava -jar target/${repo}-1.0-SNAPSHOT-all.jar" > /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

Loading…
Cancel
Save