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

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: 490a00463044022017e7dcb2896b18b9aa19455f30f7683e37666243a3195b4f17776eec92a168e1022016385e0602b697f5fb3848000c62bf52148a686269677e3ef101fea86c125521:922c64590222798bb761d5b6d8e72950