本模块不会对IP进行封禁,仅作为向钉钉机器人推送通知
wget https://raw.githubusercontent.com/SecAegis/SecAutoBan/main/device/block/dingtalk_robot/dingtalk_robot.pypip3 install SecAutoBan requests创建机器人后,安全设置选择加签
server_ip=127.0.0.1 server_port=80 sk=sk-xxx webhook="https://oapi.dingtalk.com/robot/send?access_token=xxx" secret=xxx python3 dingtalk_robot.py| 变量名 | 样例 | 描述 |
|---|---|---|
| server_ip | 127.0.0.1 | 平台IP |
| server_port | 80 | 平台端口 |
| sk | sk-xxx | 连接密钥 |
| webhook | https://oapi.dingtalk.com/robot/send?access_token=xxx | Webhook地址 |
| secret | xxx | 加签的值 |
