id: 3com-ftp-detect
info:
  name: 3Com 3CDaemon FTP Service - Detect
  author: pussycat0x
  severity: info
  description: 3Com 3CDaemon FTP service was detected.
  metadata:
    verified: true
    shodan-query: 3Com 3CDaemon FTP
    max-request: 1
  tags: network,ftp,3com,detect,tcp,discovery

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

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

    matchers:
      - type: word
        words:
          - "3Com 3CDaemon FTP"

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