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

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

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

      - type: status
        status:
          - 200
# digest: 490a004630440220280f329722b118ea6ad0bb80e1c7ba4ba7fafa8f3ea1861d5c0f9bd05ce6713202207f6bedf75d0259320490b43299f6dbb21e2032bb28619df7887b8d449ae1c10b:922c64590222798bb761d5b6d8e72950