id: wechat-corpsecret-key

info:
  name: Enterprise WeChat Corpsecret Key
  author: N0el4kls
  severity: info
  reference:
    - https://xz.aliyun.com/t/11092
  metadata:
    verified: true
    max-request: 1
  tags: wechat,exposure,tencent

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    extractors:
      - type: regex
        part: body
        regex:
          - (?i)corpsecret\s*[:=]\s*["']?([a-z0-9\-]+)["']?
# digest: 4a0a00473045022100c42dd0bede43387d3ac61aa2c9ac98866258fda80185fa9777e25b542ace2de4022034a752e9203f6dabb4514c3ff8d55d8d73a8afbaa7537f41d79277eb9651df30:922c64590222798bb761d5b6d8e72950