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

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

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

    matchers:
      - type: word
        words:
          - "PrNET FTP server"

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