id: apache-detect

info:
  name: Apache Detection
  author: philippedelteil
  severity: info
  description: Some Apache servers have the version on the response header. The OpenSSL version can be also obtained
  metadata:
    max-request: 1
  tags: tech,apache,discovery

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

    matchers-condition: and
    matchers:
      - type: regex
        part: header
        regex:
          - "Apache+"

      - type: status
        status:
          - 200

    extractors:
      - type: kval
        part: header
        kval:
          - Server
# digest: 4a0a00473045022100ba79259e193b4f27fe4ef6965d1c9506422c7680de5c65e110911bfb778a878902207180adcbbacf30d41942c9d30f1d270ca94f2db26d2e296f9d4c8ed8c3e8b875:922c64590222798bb761d5b6d8e72950