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:
    verified: true
    max-request: 1
    vendor: repetier-server
    product: repetier-server
    shodan-query:
      - title:"Repetier-Server"
      - http.title:"repetier-server"
    fofa-query: title="repetier-server"
    google-query: intitle:"repetier-server"
  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: 4a0a004730450220357eb849f1257c64fd86ea81fac38fd4a8e06c9944aeba7ab8842ff2be087b03022100c5b6878200723866be6569e43f212d721ed3a4997625f5f85c4f4ea4fa7672ba:922c64590222798bb761d5b6d8e72950