id: proftpd-server-detect

info:
  name: ProFTPD Server Detect
  author: pussycat0x
  severity: info
  description: |
    The File Transfer Protocol (FTP) is a standard network protocol used to transfer computer files between a client and server on a computer network.
  metadata:
    verified: true
    max-request: 1
    shodan-query: product:"ProFTPD"
  tags: network,ftp,proftpd,detect,detection,tcp,discovery
tcp:
  - inputs:
      - data: "\n"
    host:
      - "{{Hostname}}"
    port: 21

    matchers:
      - type: word
        words:
          - "ProFTPD Server"

    extractors:
      - type: regex
        regex:
          - "ProFTPD ([0-9.a-z]+) Server"
# digest: 4a0a00473045022100e18bd77801120508798f2b2868c2a00a45125118ca4f25190a9e2d3a5aa5db3702203e5e9f75201d09d2c295f163447841d1ae6113727a6d843b826a456565cab187:922c64590222798bb761d5b6d8e72950