天融信防火墙
天融信防火墙封禁模块
下载模块
shell
wget https://raw.githubusercontent.com/SecAegis/SecAutoBan/main/device/block/topsec_firewall/topsec_firewall.py配置天融信防火墙
需要关闭验证码登录
配置模块
安装依赖
shell
pip3 install SecAutoBan requests修改配置
修改回连核心模块配置
更改脚本第120-122行
python
server_ip = "127.0.0.1",
server_port = 80,
sk = "sk-xxx",修改与天融信防火墙连接的地址
更改脚本第114行
python
"url": "http://xxx.xxx.xxx.xxx",填写天融信防火墙用户名密码
更改脚本第115-117行
python
"username": "xxx",
"password": "xxxxx==",
"pwdlen": 6以上信息可通过登录页面抓包获取:

运行
shell
python3 topsec_firewall.py