id: macosx-ftp-detect
info:
  name: Mac OS X Server FTP Service - Detect
  author: pussycat0x
  severity: info
  description: Mac OS X Server FTP service was detected.
  metadata:
    verified: true
    shodan-query: "Mac OS X Server's FTP server"
    max-request: 1
  tags: network,ftp,macosx,detect,tcp,discovery

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

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

    matchers:
      - type: word
        words:
          - "Mac OS X Server's FTP server"
# digest: 4a0a00473045022037234a1aae3373a990e86f0e30372bf30416d0a5491a16439df95a81b2a58833022100e3b04b749dfa4e2df71b0ad0ea9b56edbb6157d21bfab0d5e8532d7afcf9d5a4:922c64590222798bb761d5b6d8e72950