HFish/config.ini
SanJin 60d7580cea 1. ~ 修复 Mysql 三次握手不主动关闭连接异常问题
2. ~ 日记格式完善
3. ~ 暗网钓鱼支持
4. ~ UI 优化
5. ~ 支持分页
6. ~ 筛选
7. ~ 提供黑名单IP接口
8. ~ 邮件发送支持编辑器
9. ~ 支持 ip 地理信息
2019-08-09 10:13:54 +08:00

40 lines
2.4 KiB
INI
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.

[admin]
addr = 127.0.0.1:9001 # 管理后台启动地址
account = admin # 登录账号
password = admin # 登录密码
[api]
status = 1 # 是否启动 API 1 启动 0 关闭
url = /api/v1/post/report # 管理后台启动地址
sec_key = 9cbf8a4dcb8e30682b927f352d6559a0 # API 认证秘钥
[web]
status = 1 # 是否启动 WEB 1 启动 0 关闭, 启动 API 后 WEB 方可上报结果
addr = 0.0.0.0:9000 # WEB 启动地址0.0.0.0 对外开放127.0.0.1 对内开放 可走 Nginx 反向代理
template = wordPress/html # WEB 模板路径
static = wordPress/static # WEB 静态文件路径 注意必须存在两个目录html 文件 和静态文件 不能平级
url = / # WEB 访问目录,默认 / 可更改成 index.html index.asp index.php
[dark_net]
status = 0 # 是否启动 暗网 1 启动 0 关闭, 启动 API 后 方可上报结果
addr = 0.0.0.0:9002 # 暗网 WEB 启动地址
template = github/html # 暗网 WEB 模板路径
static = github/static # 暗网 WEB 静态文件路径 注意必须存在两个目录html 文件 和静态文件 不能平级
url = / # 暗网 WEB 访问目录,默认 / 可更改成 index.html index.asp index.php
[ssh]
status = 1 # 是否启动 SSH 1 启动 0 关闭
addr = 0.0.0.0:22 # SSH 服务端地址 注意端口冲突,请先关闭服务器 openssh 服务 或 修改端口
[redis]
status = 1 # 是否启动 Redis 1 启动 0 关闭
addr = 0.0.0.0:6379 # Redis 服务端地址 注意端口冲突
[mysql]
status = 1 # 是否启动 Mysql 1 启动 0 关闭
addr = 0.0.0.0:3306 # Mysql 服务端地址 注意端口冲突
files = /etc/passwd,/etc/group # Mysql 服务端读取客户端任意文件; 多写逗号分隔,会随机取
[http]
status = 0 # 是否启动 HTTP 正向代理 1 启动 0 关闭
addr = 0.0.0.0:7878 # HTTP 服务端地址 注意端口冲突