id: opinio-panel

info:
  name: Opinio Login Panel - Detect
  author: righettod
  severity: info
  description: Opinio login panel was detected.
  reference:
    - https://www.objectplanet.com/opinio/
  metadata:
    verified: true
    max-request: 2
    shodan-query: http.title:"Opinio"
  tags: panel,opinio,login,detect,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/admin/folder.do"
      - "{{BaseURL}}"

    host-redirects: true
    max-redirects: 2

    matchers:
      - type: dsl
        dsl:
          - 'status_code_2 == 200'
          - 'contains_any(body_2, "<title>Opinio", ">Opinio ")'
        condition: and

    extractors:
      - type: regex
        part: body_1
        group: 1
        regex:
          - 'Opinio\s+([0-9.]+)'
# digest: 490a00463044022048cc84b02890476b78552b5cf14a93949bb132fdcd8410874ac6b978341a671202206abc7ed979111e356216629719c2883c5bca2a30946b0014a6f872d09ccb4e09:922c64590222798bb761d5b6d8e72950