final changes

This commit is contained in:
OPSXCQ 2017-01-02 19:03:54 -02:00
parent a81bea0aeb
commit 778233671e
No known key found for this signature in database
GPG Key ID: 9AD730FE9CDE5661
3 changed files with 9 additions and 4 deletions

View File

@ -5,6 +5,10 @@ MAINTAINER opsxcq <opsxcq@thestorm.com.br>
RUN apt-get update && \
apt-get upgrade -y && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
debconf-utils && \
echo mysql-server-5.5 mysql-server/root_password password vulnerables | debconf-set-selections && \
echo mysql-server-5.5 mysql-server/root_password_again password vulnerables | debconf-set-selections && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
apache2 \
mysql-server \
php5 \

View File

@ -15,7 +15,7 @@ $_DVWA = array();
$_DVWA[ 'db_server' ] = '127.0.0.1';
$_DVWA[ 'db_database' ] = 'dvwa';
$_DVWA[ 'db_user' ] = 'root';
$_DVWA[ 'db_password' ] = 'p@ssw0rd';
$_DVWA[ 'db_password' ] = 'vulnerables';
# Only used with PostgreSQL/PGSQL database selection.
$_DVWA[ 'db_port '] = '5432';
@ -23,8 +23,9 @@ $_DVWA[ 'db_port '] = '5432';
# 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' ] = '';
# Thanks to http://stackoverflow.com/questions/34274492/dvwa-setup-php-function-allow-url-include-disabled
$_DVWA[ 'recaptcha_public_key' ] = '6LdK7xITAAzzAAJQTfL7fu6I-0aPl8KHHieAT_yJg';
$_DVWA[ 'recaptcha_private_key' ] = '6LdK7xITAzzAAL_uw9YXVUOPoIHPZLfw2K1n5NVQ';
# Default security level
# Default value for the secuirty level with each session.

View File

@ -9,5 +9,5 @@ service apache2 start
while true
do
tail -f /var/log/apache2/*.log
sleep 10;
exit 0
done