id: openssl-detect

info:
  name: Openssl Detect
  author: h4kux,princechaddha
  severity: info
  metadata:
    verified: true
    max-request: 1
    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: 4a0a0047304502205fbd61c0077f560dc3a416c2305bbc1083e9cb1abc25e153a25f3d8be7b4f3fe022100c2bdd41379638b755afffb1d9dcb02030af1c445086b03c38868e7e42e47fefb:922c64590222798bb761d5b6d8e72950
