wget https://raw.githubusercontent.com/sec-report/SecAutoBan/main/device/alarm/threatbook_hfish/threatbook_hfish.py
pip3 install SecAutoBan requests
更改脚本第46
-48
行
server_ip = "127.0.0.1",
server_port = 8080,
sk = "sk-xxx",
更改脚本第44
行
"url": "https://xxx.xxx.xxx.xxx:4433",
进入平台管理-系统配置-API配置
页面,复制api_key
更改脚本第45
行
"api_key": "xxx"
python3 threatbook_hfish.py