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,discovery

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: 4b0a00483046022100da6be1a34e062c434caec904c5e046ea6025a19f4a970c960aa1459a5c331ccb02210081d227c8e3f024308e151d68640129d33673db20d01382bed3ea8cf4ba1a318c:922c64590222798bb761d5b6d8e72950