id: microfocus-lifecycle-panel

info:
  name: Micro Focus Application Lifecycle Management - Panel
  author: righettod
  severity: info
  description: |
    Micro Focus Application Lifecycle Management login panel was detected.
  reference:
    - https://www.opentext.com/products/alm-quality-center
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.html:"Micro Focus Application Lifecycle Management"
  tags: panel,microfocus,login,detect

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

    redirects: true
    max-redirects: 2

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_any(to_lower(body), "micro focus application lifecycle management", "<div class=\"alm_name\">application lifecycle", "<p class=\"alm_header\">application lifecycle")'
        condition: and

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '(?i)Micro\s+Focus\s+Application\s+Lifecycle\s+Management\s+([0-9.]+)'
# digest: 490a00463044022061fb6af701b7a3ffbed3767b1dbfcb898062a28ac36ae1935c9640fd64c326350220156dd67878a035d0a5664faa272776fd8dbbaae6e3fbdbfd00c83561e07cfbd0:922c64590222798bb761d5b6d8e72950