当前位置:首页 > 编程笔记 > 正文
已解决

钉钉漏洞通知脚本dingtalkBot—配套Automated_bounty_Hunter

来自网友在路上 166866提问 提问时间:2023-09-21 02:23:04阅读次数: 66

最佳答案 问答题库668位专家为你答疑解惑

目录

1.前言

2.dingtalkBot.py


1.前言

        该脚本主要对接Xray的xray_webhook 将消息回传到钉钉bot,实现xray的漏扫钉钉机器人通知。

2.dingtalkBot.py

from flask import Flask, request
import requests
import datetime
import jsonapp = Flask(__name__)#钉钉webhook接口
def DingWebhook(message):#SRC_Bot access_tokenurl='https://oapi.dingtalk.com/robot/send?access_token=xxx'#need with keyword,此处是钉钉机器人使用的关键字设置program={"markdown": {"title": "afei00123","text": message+"afei00123"
查看全文

99%的人还看了

猜你感兴趣

版权申明

本文"钉钉漏洞通知脚本dingtalkBot—配套Automated_bounty_Hunter":http://eshow365.cn/6-10367-0.html 内容来自互联网,请自行判断内容的正确性。如有侵权请联系我们,立即删除!