id: pronote-panel

info:
  name: PRONOTE Login Panel - Detect
  author: righettod
  severity: info
  description: |
    PRONOTE products was detected.
  reference:
    - https://www.index-education.com/fr/logiciel-gestion-vie-scolaire.php
  metadata:
    max-request: 1
    shodan-query: http.title:"PRONOTE"
  tags: panel,pronote,login

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

    host-redirects: true

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_any(to_lower(body), "<title>pronote", "content=\"pronote\"")'
        condition: and

    extractors:
      - type: regex
        part: header
        group: 1
        regex:
          - '(?i)Server:\s+PRONOTE\s+([0-9.\s\-]+)'
# digest: 4a0a0047304502210097421f922e37a9eb303a01309fd131e218bd5f0c5ed6d398094110de4383773a02206f53c76331461bf6f76ed94c27b2b575836e3c0e089ddb0e8429554ee923d0ad:922c64590222798bb761d5b6d8e72950