Skip to content

Commit e2a7980

Browse files
committed
add allow_url_include=on in docker file and add the key
1 parent 67fb593 commit e2a7980

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,7 @@ RUN service mysql start && \
3434

3535
EXPOSE 80
3636

37+
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
38+
3739
COPY main.sh /
3840
ENTRYPOINT ["/main.sh"]

config.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
# ReCAPTCHA settings
2727
# Used for the 'Insecure CAPTCHA' module
2828
# You'll need to generate your own keys at: https://www.google.com/recaptcha/admin/create
29-
$_DVWA[ 'recaptcha_public_key' ] = '';
30-
$_DVWA[ 'recaptcha_private_key' ] = '';
29+
$_DVWA[ 'recaptcha_public_key' ] = '6LdJJlUUAAAAAH1Q6cTpZRQ2Ah8VpyzhnffD0mBb';
30+
$_DVWA[ 'recaptcha_private_key' ] = '6LdJJlUUAAAAAM2a3HrgzLczqdYp4g05EqDs-W4K';
3131

3232
# Default security level
3333
# Default value for the secuirty level with each session.

0 commit comments

Comments
 (0)