id: hummingbird-ftp-detect
info:
  name: Hummingbird HCLFTPD Service - Detect
  author: pussycat0x
  severity: info
  description: Hummingbird HCLFTPD service was detected.
  metadata:
    verified: true
    shodan-query: "Hummingbird Ltd. (HCLFTPD)"
    max-request: 1
  tags: network,ftp,hummingbird,detect,tcp,discovery

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

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

    matchers:
      - type: word
        words:
          - "FTP server (Hummingbird Ltd. HCLFTPD)"

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