首页 > 后端开发 > php教程 > 阅读DVWA系统代码之config.inc.php

阅读DVWA系统代码之config.inc.php

WBOY
发布: 2016-08-08 09:30:25
原创
1626 人浏览过

# If you are having problems connecting to the MySQL database and all of the variables below are correct
# try changing the 'db_server' variable from localhost to 127.0.0.1. Fixes a problem due to sockets.
# Thanks to digininja for the fix.
# Database management system to use
$DBMS = 'MySQL';

#$DBMS = 'PGSQL';

//定义变量DBMS,标识数据库类型MySQL


# Database variables
# WARNING: The database specified under db_database WILL BE ENTIRELY DELETED during setup. 
# Please use a database dedicated to DVWA.
$_DVWA = array();
$_DVWA[ 'db_server' ] = 'localhost';
$_DVWA[ 'db_database' ] = 'dvwa';
$_DVWA[ 'db_user' ] = 'root';
$_DVWA[ 'db_password' ] = '123456';
# Only needed for PGSQL

$_DVWA[ 'db_port' ] = '5432'; 

//定义数组_DVWA,标识数据库的连接信息


# ReCAPTCHA Settings
# Get your keys at https://www.google.com/recaptcha/admin/create
$_DVWA['recaptcha_public_key'] = "";
$_DVWA['recaptcha_private_key'] = "";
# Default Security Level
# The default is high, you may wish to set this to either low or medium.
# If you specify an invalid level, DVWA will default to high.
$_DVWA['default_security_level'] = "high";
?>

以上就介绍了阅读DVWA系统代码之config.inc.php,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。

相关标签:
来源:php.cn
本站声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板