Skip to content

微步蜜罐HFish

下载模块

shell
wget https://raw.githubusercontent.com/SecAegis/SecAutoBan/main/device/alarm/threatbook_hfish/threatbook_hfish.py

配置说明

安装依赖

shell
pip3 install SecAutoBan requests

配置模块

修改回连核心模块配置

更改脚本第43-45

python
server_ip = "127.0.0.1",
server_port = 80,
sk = "sk-xxx",

配置与蜜罐连接的地址

更改脚本第39

python
"url": "https://xxx.xxx.xxx.xxx:4433",

配置api_key

进入平台管理-系统配置-API配置页面,复制api_key

更改脚本第40

python
"api_key": "xxx"

运行

shell
python3 threatbook_hfish.py