id: microfocus-iprint-detect

info:
  name: Micro Focus iPrint Appliance - Detect
  author: righettod
  severity: info
  description: |
    Micro Focus iPrint Appliance was detected.
  reference:
    - https://www.opentext.com/products/enterprise-server
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.html:"Micro Focus iPrint Appliance"
  tags: tech,microfocus,detect,discovery

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

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_any(to_lower(body), "micro focus iprint appliance", "/ippdocs/clients/", "micro focus iprint", "iprint appliance")'
        condition: and

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '(?i)/welcome/css/core([0-9]+).css'
# digest: 4b0a0048304602210099cc412564655fe77e1f2276db20596bb752ba3c3a1f536bde889aa7f59ea3b0022100b8bbe3cadeda8106ec09f4a5480998ea0c60e8f5a00276cc8e14d131c94ff417:922c64590222798bb761d5b6d8e72950