id: proftpd-config

info:
  name: ProFTPD Configuration File - Detect
  author: sheikhrishad
  severity: info
  description: ProFTPD configuration file was detected.
  reference: http://www.proftpd.org/docs/howto/ConfigFile.html
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
  metadata:
    max-request: 1
  tags: config,exposure,proftpd

http:
  - method: GET
    path:
      - "{{BaseURL}}/proftpd.conf"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "ProFTPD"
          - "ServerName"
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a00473045022048fa58984528fd532d540c2698a251b970cb54376dfa9344e84289d939790aed022100ab6885552bf9f868b9ab0903cf28d735ac42f9e9df8f65bc1b055322e88e1883:922c64590222798bb761d5b6d8e72950