Database Setup

Click on the 'Create / Reset Database' button below to create or reset your database.
If you get an error make sure you have the correct user credentials in: /atong/www/DVWA/config/config.inc.php

If the database already exists, it will be cleared and the data will be reset.
You can also use this to reset the administrator credentials ("admin // password") at any stage.



Setup Check

General
Operating system: *nix

DVWA version: Unknown


reCAPTCHA key: Missing

Writable folder /atong/www/DVWA/hackable/uploads/: No
Writable folder /atong/www/DVWA/config: Yes

Apache
Web Server SERVER_NAME: 47.110.79.211

mod_rewrite: Not Enabled
mod_rewrite is required for the AP labs.

PHP
PHP version: 5.6.40
Versions of PHP below 7.x are not supported, please upgrade.

PHP function display_errors: Enabled
PHP function display_startup_errors: Disabled
PHP function allow_url_include: Enabled
PHP function allow_url_fopen: Enabled
PHP module gd: Installed
PHP module mysql: Installed
PHP module pdo_mysql: Installed

Database
Backend database: MySQL/MariaDB
Database username: dvwa
Database password: ******
Database database: dvwa
Database host: 127.0.0.1
Database port: 3306

API
This section is only important if you want to use the API module.
Vendor files installed: Not Installed

For information on how to install these, see the README.

Status in red, indicate there will be an issue when trying to complete some modules.

If you see disabled on either allow_url_fopen or allow_url_include, set the following in your php.ini file and restart Apache.
allow_url_fopen = On
allow_url_include = On
These are only required for the file inclusion labs so unless you want to play with those, you can ignore them.






Unable to connect to the database.