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

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