rohmadatkha / dvwa

configuring dvwa
0 stars 0 forks source link

DVWA setup PHP function allow_url_include: Disabled #1

Open rohmadatkha opened 8 years ago

rohmadatkha commented 8 years ago
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: C:\XAMPP\htdocs\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

Operating system: Windows
Backend database: MySQL
PHP version: 5.4.16

Web Server SERVER_NAME: localhost

PHP function display_errors: Enabled (Easy Mode!)
PHP function safe_mode: Disabled
PHP function allow_url_include: Disabled
PHP function allow_url_fopen: Enabled
PHP function magic_quotes_gpc: Disabled
PHP module php-gd: Installed

reCAPTCHA key: Missing

Writable folder C:\XAMPP\htdocs\dvwa/hackable/uploads/: Yes)
  Writable file C:\XAMPP\htdocs\dvwa/external/phpids/0.6/lib/IDS/tmp/phpids_log.txt: Yes

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

go to:

C:\xampp\php\php.ini

change:

allow_url_include=Off into allow_url_include=on

go to:

C:\xampp\htdocs\DVWA\config\config.inc.php change:


$_DVWA[ 'recaptcha_public_key' ]  = ' ';

$_DVWA[ 'recaptcha_private_key' ] = ' ';
into

$_DVWA[ 'recaptcha_public_key' ]  = '6LdK7xITAAzzAAJQTfL7fu6I-0aPl8KHHieAT_yJg';

$_DVWA[ 'recaptcha_private_key' ] = '6LdK7xITAzzAAL_uw9YXVUOPoIHPZLfw2K1n5NVQ';

then restart u're xampp

donlino97 commented 4 years ago

Locate php. ini files (for apache2 and client if you use linux) on your system then change url_client=off to on.