id: terramaster-login

info:
  name: Terramaster Login Panel - Detect
  author: gy741
  severity: info
  description: Terramaster login panel was detected.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
  metadata:
    max-request: 1
  tags: panel,terramaster,login,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers-condition: or
    matchers:
      - type: word
        words:
          - "<title>TOS Loading</title>"
        part: body

      - type: word
        words:
          - "Server: TOS"
          - "X-Powered-By: TerraMaster"
        condition: or
        part: header
# digest: 4a0a0047304502204013b132ce86694ad88416d6be35a7884449b79d643063d1179868ef82bf885f022100a2d0031b51ae33117d1e6c80f3306748d4facf39a48a3390a804959b7ba787ec:922c64590222798bb761d5b6d8e72950