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

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