id: xlight-ftp-service-detect

info:
  name: Xlight FTP Service 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:"Xlight ftpd"
  tags: network,ftp,xlight,detect,detection,tcp
tcp:

  - inputs:
      - data: "\n"
    host:
      - "{{Hostname}}"
    port: 21

    matchers:
      - type: word
        part: body
        words:
          - "Xlight FTP Server"

    extractors:
      - type: regex
        regex:
          - "Xlight FTP Server ([0-9.]+)"
# digest: 490a00463044022012ac5b2bf321f74da239229c46f9c63e79fa49ade4ef6fa477685914f9b21ba702207ee2bd547f0d5715e691275cb492bef11dd51e61b7780863f9172bbeaaacb1bf:922c64590222798bb761d5b6d8e72950