How to install Damn Vulnerable Web Application (DVWA) on Windows using XAMPP
Step1: Download DVWA
https://github.com/digininja/DVWA/archive/master.zip
Step2: Extract the downloaded file: DVWA-master
Step3: Copy the extracted file "DVWA-master" (DVWA-master>DVWA-master) to "C:\xampp\htdocs"
Step4: Rename the file
"C:\xampp\htdocs\DVWA-master\config\config.inc.php.dist"
to
"C:\xampp\htdocs\DVWA-master\config\config.inc.php"
Step 5: Launch XAMPP control panel as an administrator and click on MySQL > Admin : this will open the MySQL admin page
Step 7: Create a new user and password: username: 'dvwa' password: 'p@ssw0rd'
###config from
"C:\xampp\htdocs\DVWA-master\config\config.inc.php"
$_DVWA[ 'db_database' ] = getenv('DB_DATABASE') ?: 'dvwa';
$_DVWA[ 'db_user' ] = getenv('DB_USER') ?: 'dvwa';
$_DVWA[ 'db_password' ] = getenv('DB_PASSWORD') ?: 'p@ssw0rd';
Step 8: Access the DVWA website: http://x.x.x.x/DVWA-master/ or https://x.x.x.x/DVWA-master/
eg.
Comments
Post a Comment