id: yapi-detect

info:
  name: YApi Detect
  author: pikpikcu
  severity: info
  classification:
    cpe: cpe:2.3:a:ymfe:yapi:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: ymfe
    product: yapi
    shodan-query: http.title:"YApi"
  tags: tech,yapi,discovery

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>YApi-高效、易用、功能强大的可视化接口管理平台</title>"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022070282a0c945f9f0bd3c07889200d8fa23f92930cd5511c267183923b353dfe47022100bfba89b06d5aa585f0d5b7dad58e49945f26bd5e036047c714313aa27bfa0360:922c64590222798bb761d5b6d8e72950