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