diff --git a/activemq/CVE-2016-3088/Dockerfile b/activemq/CVE-2016-3088/Dockerfile new file mode 100644 index 0000000000..dbaf9ae6f2 --- /dev/null +++ b/activemq/CVE-2016-3088/Dockerfile @@ -0,0 +1,11 @@ +FROM vulhub/openjdk:7-jre + +MAINTAINER phithon + +RUN apt-get update \ + && apt-get install cron --no-install-recommends \ + && rm -r /var/lib/apt/lists/* + +COPY entrypoint.sh /usr/local/bin/ + +CMD ["/bin/sh", "/usr/local/bin/entrypoint.sh"] \ No newline at end of file diff --git a/activemq/CVE-2016-3088/entrypoint.sh b/activemq/CVE-2016-3088/entrypoint.sh new file mode 100644 index 0000000000..992e069b51 --- /dev/null +++ b/activemq/CVE-2016-3088/entrypoint.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +/usr/sbin/service cron start + +/bin/sh bin/activemq console \ No newline at end of file