id: apache-cocoon-detect

info:
  name: Apache Cocoon detect
  author: ffffffff0x
  severity: info
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.html:"Apache Cocoon"
    fofa-query: app="APACHE-Cocoon"
  tags: apache,cocoon,tech

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