阅读DVWA系统代码之config.inc.php
2015-01-28 16:07
309 查看
<?php
# 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";
?>
# 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系统代码之dvwaPhpIds.inc.php
- PhpCms系统设置:config.inc.php文件配置说明_PHPCms教程
- prestashop代码分析之config.inc.php
- PhpCms系统设置:config.inc.php文件配置说明
- CodeIgniter 核心代码阅读-配置文件Config.php
- dvwa 源码分析(三) --- config.inc.php分析
- php小型企业库存管理系统的设计与实现代码
- discuz代码分析一 从common.inc.php开始
- 《当老温遭遇C#》之网络棋牌游戏系统架构篇【附演示+代码+全套图】~~极力推荐C#程序员阅读
- 阅读代码,分析现有系统。
- Discuz security.inc.php 代码解释
- phpcms2008 代码简介:include/common.inc.php
- android 音频系统java部分代码阅读
- config.sample.inc.php
- phpMyAdmin配置文件config.inc.php详解
- PHP+MySql简单投票系统代码
- phpMyAdmin 试图连接到 MySQL 服务器,但服务器拒绝连接。您应该检查 config.inc.php 中的主机、用户名和密码
- PHP简单系统查询模块代码打包下载
- 编译php错误代码configure: error: Try adding --with-zlib-dir=. Please check config.log for more information.
- 找不到config.inc.php 没有config.inc.php这个文件