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

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