id: apache-cocoon-detect

info:
  name: Apache Cocoon detect
  author: ffffffff0x
  severity: info
  classification:
    cpe: cpe:2.3:a:apache:cocoon:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: apache
    product: cocoon
    shodan-query: http.html:"Apache Cocoon"
    fofa-query: app="APACHE-Cocoon"
  tags: apache,cocoon,tech,discovery

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

    host-redirects: true
    max-redirects: 2
    matchers:
      - type: word
        part: header
        words:
          - "X-Cocoon-Version"

    extractors:
      - type: regex
        part: header
        regex:
          - 'X\-Cocoon\-Version:([ 0-9.]+)'
# digest: 4a0a0047304502202184bf25142f8426ff54b71c010a841cb0829b06c9cf0c7d001f012f896f530f022100a11982cc17ab2119d0402498c141b707656123fbf28ba93ecf68c96866e45a72:922c64590222798bb761d5b6d8e72950