id: nucleus-ftp-detect
info:
  name: Nucleus FTP Service - Detect
  author: pussycat0x
  severity: info
  description: Nucleus FTP service was detected.
  metadata:
    verified: true
    shodan-query: "Nucleus FTP Server"
    max-request: 1
  tags: network,ftp,nucleus,detect,tcp,discovery

tcp:
  - inputs:
      - data: 00000000
        type: hex

    host:
      - "{{Hostname}}"
    port: 21
    read-size: 1024

    matchers:
      - type: word
        words:
          - "Nucleus FTP Server"

    extractors:
      - type: regex
        group: 1
        name: version
        regex:
          - "Version ([0-9.]+)"
# digest: 490a004630440220385f0a1b4679a6f19a3cdd6df9e8bda72bf8e094f3c705bc67118ba7df14cff402205654e9fa58eb16cac7c3f279d6475039ea428458d38f317c86140c4f75b87a62:922c64590222798bb761d5b6d8e72950