diff --git a/Dockerfile b/Dockerfile index b04b9f7..64dbeb4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,5 +34,7 @@ RUN service mysql start && \ EXPOSE 80 +RUN sed -ri -e "s/^allow_url_include.*/allow_url_include = On/" /etc/php/7.0/apache2/php.ini && sed -ri -e "s/^allow_url_include.*/allow_url_include = On/" /etc/php/7.0/cli/php.ini + COPY main.sh / ENTRYPOINT ["/main.sh"] diff --git a/config.inc.php b/config.inc.php index a39f7d4..2aa4fcf 100644 --- a/config.inc.php +++ b/config.inc.php @@ -26,8 +26,8 @@ # ReCAPTCHA settings # Used for the 'Insecure CAPTCHA' module # You'll need to generate your own keys at: https://www.google.com/recaptcha/admin/create -$_DVWA[ 'recaptcha_public_key' ] = ''; -$_DVWA[ 'recaptcha_private_key' ] = ''; +$_DVWA[ 'recaptcha_public_key' ] = '6LdJJlUUAAAAAH1Q6cTpZRQ2Ah8VpyzhnffD0mBb'; +$_DVWA[ 'recaptcha_private_key' ] = '6LdJJlUUAAAAAM2a3HrgzLczqdYp4g05EqDs-W4K'; # Default security level # Default value for the secuirty level with each session.