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,discovery

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