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,discovery

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: 4b0a00483046022100e8b09cbef7cbc4d71a2c6fa2058c8655fe2d37d8999ce70e6f9d915bf7cb88a5022100b23f5308b5ac0c8eed3c5045029a4440361e04d09b7b865fb3f27248d6d920a4:922c64590222798bb761d5b6d8e72950