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