id: xenforo-detect

info:
  name: XenForo Forum Detection
  author: dhiyaneshDk,daffainfo
  severity: info
  classification:
    cpe: cpe:2.3:a:xenforo:xenforo:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: xenforo
    product: xenforo
    shodan-query: http.title:"XenForo"
  tags: tech,xenforo

http:
  - method: GET
    path:
      - '{{BaseURL}}/index.php'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<html id="XenForo"'
          - '<html id="XF"'
        condition: or

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