first commit
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
This commit is contained in:
16
phpmailer/CVE-2017-5223/Dockerfile
Normal file
16
phpmailer/CVE-2017-5223/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM vulhub/php:5.6-apache
|
||||
|
||||
LABEL maintainer="phithon <root@leavesongs.com>"
|
||||
|
||||
COPY www/* /var/www/html/
|
||||
|
||||
RUN set -ex \
|
||||
&& rm /etc/apt/sources.list \
|
||||
&& echo "deb [trusted=yes] http://archive.debian.org/debian-security jessie/updates main" >> /etc/apt/sources.list.d/jessie.list \
|
||||
&& echo "deb [trusted=yes] http://archive.debian.org/debian jessie main" >> /etc/apt/sources.list.d/jessie.list \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y --no-install-recommends git \
|
||||
&& cd /var/www/html/ \
|
||||
&& curl -sSL https://getcomposer.org/installer | php \
|
||||
&& php composer.phar install \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
Reference in New Issue
Block a user