id: hcpanywhere-detect

info:
  name: HCP Anywhere - Detect
  author: righettod
  severity: info
  description: |
    HCP Anywhere was detected.
  reference:
    - https://hcpanywhere.hds.com/portal/public/help-complete/en/cp_hcpaw_what_is.html
  metadata:
    verified: true
    max-request: 1
    shodan-query: icon_hash="915499123"
  tags: tech,hcpanywhere

http:
  - method: GET
    path:
      - "{{BaseURL}}/userportal/documentation/mapping.json"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_any(body, "brandedUrl", "helpId", "url") && contains(body, "hcpaw")'
        condition: and
# digest: 4b0a004830460221008e85555c5e31ba1ca3c2601689403fdb03dd35f8ff8a5cff04d9cdcdc9eb240e0221008b0afb77662c91c01efdaf2b7fa1ba233e35c7b06d437b26c81284da3008ceb8:922c64590222798bb761d5b6d8e72950