id: neocase-hrportal-panel

info:
  name: Neocase HR Portal Login Panel - Detect
  author: righettod
  severity: info
  description: |
    Neocase HR Portal login panel was detected.
  reference:
    - https://www.neocasesoftware.com/neocase-hr-solution/
    - https://www.neocasesoftware.com/self-service-portal-module/
  metadata:
    verified: true
    max-request: 1
  tags: panel,neocase,login,detect,discovery

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

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(to_lower(body), "neocase") && contains(to_lower(body), "hr portal") && contains(to_lower(body), "login")'
        condition: and

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'name="version"\s+content="([0-9\.]+)"'
# digest: 4a0a00473045022100aad4a0382ff4f4e46044841d86ef05137b24784abf4262a16a34e28c86ed62d9022056e1644191dcd92f1183b66a0dd4725b611dca48c67cf35478f8860f98665ecb:922c64590222798bb761d5b6d8e72950