id: repetier-server-panel

info:
  name: Repetier Server Panel - Detect
  author: ritikchaddha
  severity: info
  description: |
    Repetier Server login panel detected.
  classification:
    cpe: cpe:2.3:a:repetier-server:repetier-server:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    product: repetier-server
    shodan-query: title:"Repetier-Server"
    vendor: repetier-server
    verified: true
  tags: panel,repetier,detect,repetier-server

http:
  - method: GET
    path:
      - "{{BaseURL}}/#!/login"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'content="Repetier-Server'
          - 'About Repetier-Server'
        condition: or

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 2
        regex:
          - 'Repetier\-Server ([A-Za-z]+) ([0-9.]+)'
# digest: 490a0046304402203a1756a9ddfd0a67aa2ebd570a5a994fd93ee7688220d84b46f73cfda5bf4e7602203c9ab37a86f5bedeec2ff55e3724c8aa33d62fd2a7c99e84b3793e3d7eb1a283:922c64590222798bb761d5b6d8e72950