id: algonomia-panel

info:
  name: Algonomia Leaf Platform Panel - Detect
  author: righettod
  severity: info
  description: |
    Algonomia Leaf Platform login panel was detected.
  reference:
    - https://algonomia.com/
  metadata:
    max-request: 1
    verified: true
  tags: tech,algonomia,detect

http:
  - method: GET
    path:
      - "{{BaseURL}}/assets/i18n/en.json"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(to_lower(body), "logincomponent\":")'
          - 'contains_any(to_lower(body), "leafplatform", "leaf platform")'
          - 'contains(header, "application/json")'
        condition: and
# digest: 4a0a00473045022100ff5536d3dfdcb976dcd4503accb90ac13151051a893b39f39700d80c2000ba4f02202687865badadf7416daf098d666637171508ee9b0865f3b18c3391f8448e49d1:922c64590222798bb761d5b6d8e72950