Files
BlueLotus_XSSReceiver/config.php
firesun 9f62aefe3d Version 3.1.0
添加邮件提醒,如需要此功能请在config.php中开启并配置相关信息
2016-01-25 12:42:19 +08:00

27 lines
1.1 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
if(!defined('IN_XSS_PLATFORM')) {
exit('Access Denied');
}
define('PASS', '2a05218c7aa0a6dbd370985d984627b8');//后台登录密码默认密码bluelotus
define('DATA_PATH', 'data');//xss记录、封禁ip列表存放目录
define('JS_TEMPLATE_PATH', 'template');//js模板存放目录
define('MY_JS_PATH', 'myjs');//我的js存放目录
define('ENABLE_ENCRYPT', true);//是否加密“xss记录封禁ip列表js描述”
define('ENCRYPT_PASS', "bluelotus");//加密密码
define('ENCRYPT_TYPE', "RC4");//加密方法AES或RC4
define('KEEP_SESSION', true);//是否启用KEEP_SESSION功能需要外部定时访问keepsession.php
define('IPDATA_PATH', "qqwry.dat");//ip归属地数据库地址
/*邮件通知相关配置*/
define('MAIL_ENABLE', false);//开启邮件通知
define('SMTP_SERVER', "smtp.xxx.com");//smtp服务器
define('SMTP_PORT', 465);//端口
define('SMTP_SECURE', "ssl");
define('MAIL_USER', "xxx@xxx.com");//发件人用户名
define('MAIL_PASS', "xxxxxx");//发件人密码
define('MAIL_FROM', "xxx@xxx.com");//发件人地址(需真实,不可伪造)
define('MAIL_RECV', "xxxx@xxxx.com");//接收通知的邮件地址
?>