id: dxplanning-panel

info:
  name: DXPlanning Panel - Detect
  author: righettod
  severity: info
  description: |
    DXPlanning was detected.
  reference:
    - https://www.dedalus.com/fr/wp-content/uploads/sites/13/2022/05/Catalogue-formations-DxCare-2022.pdf
  metadata:
    verified: true
    max-request: 1
  tags: panel,dxplanning,login,detect

http:
  - method: GET
    path:
      - '{{BaseURL}}/DxPlanning/WebBooking/Version'

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - "contains(tolower(body), 'dxplanning/webbooking/')"
          - "contains(body, 'Webbooking</title>')"
          - "status_code==200"
        condition: and

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '<td>([0-9.]+)</td>'
# digest: 490a00463044022063a81e98bb0dc4359cf41b4e3ae1f06d041822dfa5cb56619806e52edae50aa802200dd565ed6d2350cee33e7e3576509200c7f1c6561a3d0f47393cb3bb1b3358e7:922c64590222798bb761d5b6d8e72950