Skip to content
Snippets Groups Projects
Unverified Commit e71b590d authored by Ryan Dewhurst's avatar Ryan Dewhurst Committed by GitHub
Browse files

Merge pull request #268 from digininja/master

fixed path issue that stopped buttons from working
parents 7244d08f 6b739389
No related branches found
No related tags found
No related merge requests found
......@@ -96,13 +96,19 @@ Note, if you are using MariaDB rather than MySQL (MariaDB is default in Kali), t
mysql> create database dvwa;
Query OK, 1 row affected (0.00 sec)
mysql> grant all on dvwa.* to dvwa@localhost identified by 'xxx';
mysql> grant all on dvwa.* to dvwa@localhost identified by 'SuperSecretPassword99';
Query OK, 0 rows affected, 1 warning (0.01 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
```
You will then need to update the config file, the new entries will look like this:
```php
$_DVWA[ 'db_user' ] = 'dvwa';
$_DVWA[ 'db_password' ] = 'SuperSecretPassword99';
$_DVWA[ 'db_database' ] = 'dvwa';
```
### Other Configuration
......
......
......@@ -330,7 +330,7 @@ function dvwaHtmlEcho( $pPage ) {
<div id=\"footer\">
<p>Damn Vulnerable Web Application (DVWA) v" . dvwaVersionGet() . "</p>
<script src='/dvwa/js/add_event_listeners.js'></script>
<script src='" . DVWA_WEB_PAGE_TO_ROOT . "/dvwa/js/add_event_listeners.js'></script>
</div>
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment