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:
    max-request: 1
    shodan-query: product:"ProFTPD"
    verified: true
  tags: network,ftp,proftpd,detect

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: 4b0a00483046022100a4d95024ab4246acf55b6dcfb77a28a747a0526f8b184ac42d039769fa5ca867022100ae8fd7baf1a8508a82106a74e33b198053e0cab7d12df07e7ed0eb4d62e2d011:922c64590222798bb761d5b6d8e72950