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:
    verified: true
    max-request: 1
    shodan-query: product:"GNU Inetutils FTPd"
  tags: network,ftp,smartgateway,gnu,inetutils,detect,detection,tcp
tcp:
  - inputs:
      - data: "\n"
    host:
      - "{{Hostname}}"
    port: 21
    matchers:
      - type: word
        words:
          - "SmartGateway FTP server"

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