id: mysql-detect

info:
  name: MySQL - Detect
  author: pussycat0x
  severity: info
  description: |
    MySQL instance was detected.
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
  metadata:
    max-request: 1
    shodan-query: product:"MySQL"
    verified: true
  tags: network,mysql,db,detect

tcp:
  - inputs:
      - data: "\n"

    host:
      - "{{Hostname}}"
    port: 3306

    matchers:
      - type: word
        part: body
        words:
          - "mysql"
        case-insensitive: true
# digest: 4a0a0047304502201d1a8c8108b1b115ca05e868ee2b1717307853bfde89943a094484ae3f692b060221009ee87ce424ac718e5555a8bd019faf1f30ff457e9de2537d6411545cc552eb02:922c64590222798bb761d5b6d8e72950