id: gnu-inetutils-ftpd-detect

info:
  name: GNU Inetutils FTPd 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:"GNU Inetutils FTPd"
    verified: true
  tags: network,ftp,smartgateway,gnu,inetutils,detect

tcp:
  - inputs:
      - data: "\n"
    host:
      - "{{Hostname}}"
    port: 21
    matchers:
      - type: word
        words:
          - "SmartGateway FTP server"

    extractors:
      - type: regex
        regex:
          - "GNU inetutils ([0-9.]+)"
# digest: 4b0a00483046022100d53fa5917b995c96a5a67ec835489ab217df163b9d8cd5d622fe78fe0123691b02210092872705de2a111ebb1b733f3362471c49194ba90fa9ce471465477ea3fed700:922c64590222798bb761d5b6d8e72950