id: lanier-ftp-detect
info:
  name: LANIER MP 2555 FTP Service - Detect
  author: pussycat0x
  severity: info
  description: LANIER MP 2555 FTP service was detected.
  metadata:
    verified: true
    shodan-query: "LANIER MP 2555 FTP server"
    max-request: 1
  tags: network,ftp,lanier,detect,tcp,discovery

tcp:
  - inputs:
      - data: 00000000
        type: hex

    host:
      - "{{Hostname}}"
    port: 21
    read-size: 1024

    matchers:
      - type: word
        words:
          - "LANIER MP 2555 FTP server"

    extractors:
      - type: regex
        group: 1
        name: version
        regex:
          - "server ([(0-9.)]+)"
# digest: 4a0a00473045022034678748b3fdab66407c855b54049415b76e32833fd24a4ae18b39dc0f7271bc0221008d603f39f85ce6db211f5c3d18bf59a2c6ec3de73b30e11a786e3802f11193d0:922c64590222798bb761d5b6d8e72950