id: openssl-detect

info:
  name: Openssl Detect
  author: h4kux,princechaddha
  severity: info
  classification:
    cpe: cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: openssl
    product: openssl
    shodan-query: OpenSSL
  tags: tech,openssl,discovery

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

    matchers-condition: and
    matchers:
      - type: word
        part: server
        words:
          - "OpenSSL"

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: header
        regex:
          - 'OpenSSL\/([0-9.a-z]+)'
# digest: 4a0a0047304502200bd6da996fa37a4f29ceaa903e7834573cf41ed54328a7b1956c70c888cced2e022100d51448e547d651dcd45c220f620c4bbd72373dab9bc39b7898c9609051d1e56d:922c64590222798bb761d5b6d8e72950