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

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