Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add support for web hook #402

Merged
merged 11 commits into from
Jan 11, 2024
Merged

Add support for web hook #402

merged 11 commits into from
Jan 11, 2024

Conversation

xxcdd
Copy link
Contributor

@xxcdd xxcdd commented Jan 6, 2024

Add support for web hook
Usage:

  1. 钉钉推送: --dingtalk-token xxx --dingtalk-secret xxxx
  2. 企业微信推送: --wx-work-key xxx

推送信息定制修改参考:pocsuite3/plugins/web_hook.py

#378

@wh0am1i
Copy link
Collaborator

wh0am1i commented Jan 9, 2024

能否将钉钉和wx 的token做一个本地存在,不然每次运行的时候都是需要设置 token?

@xxcdd
Copy link
Contributor Author

xxcdd commented Jan 10, 2024

能否将钉钉和wx 的token做一个本地存在,不然每次运行的时候都是需要设置 token?

pocsuite3/plugins/web_hook.py中增加三个字段:
DINGTALK_TOKEN = ""
DINGTALK_SECRET = ""
WX_WORK_KEY = ""
填写后就不需要每次在命令行中指定了

@rungobier rungobier merged commit 5a83196 into knownsec:master Jan 11, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants