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,discovery
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: 4a0a00473045022100b29c251b1cda3269497ee40a11a1b116e8494b9833ff5340b6e23f519c5bc6b402200a1be2cc6c383e33e031528d07e1520fb5ff30b0d7fe1abb4c7d9c43aaf43b7e:922c64590222798bb761d5b6d8e72950