id: tp-print-ftp-detect
info:
  name: TP Print FTP Service - Detect
  author: pussycat0x
  severity: info
  description: TP Print FTP service was detected.
  metadata:
    shodan-query: "TP print service"
    max-request: 1
  tags: network,ftp,tp-print,detect,tcp,discovery

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

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

    matchers:
      - type: word
        words:
          - "TP print service:V-"

    extractors:
      - type: regex
        group: 1
        name: version
        regex:
          - "TP print service:V-([0-9.]+)"
# digest: 4b0a004830460221009a1825c0a85295d8034b13cb0609abece3f8a6c2447ec61bec82fcbdbcab6642022100d2b27b360b78270bd3e77e72ace2696e4a3680af5ce6c5669c2210235a4660eb:922c64590222798bb761d5b6d8e72950