id: kodexplorer-detect

info:
  name: KodExplorer-detect
  author: ffffffff0x
  severity: info
  classification:
    cpe: cpe:2.3:a:kodcloud:kodexplorer:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: kodcloud
    product: kodexplorer
    fofa-query: app="Powered-by-KodExplorer"
  tags: kodexplorer,tech,discovery

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

    host-redirects: true
    max-redirects: 2
    matchers:
      - type: regex
        part: body
        regex:
          - '(?i)<title>.* - Powered by KodExplorer</title>'

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'Powered by KodExplorer ([a-z0-9.]+) \|'
# digest: 4a0a0047304502210080308ae8c85ece11aad07714c835394aac103df5773cf6b686375e05c319199c022077f0fff54736494781ced09d284faa35567f1e723af92ea8ac29027378549b95:922c64590222798bb761d5b6d8e72950