id: outsystems-servicecenter-panel

info:
  name: OutSystems Service Center Login Panel - Detect
  author: righettod
  severity: info
  description: |
    OutSystems Service Center login panel was detected.
  reference:
    - https://www.outsystems.com/
  classification:
    cpe: cpe:2.3:a:outsystems:platform_server:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: outsystems
    product: platform_server
    shodan-query: "http.html:\"outsystems\""
  tags: panel,outsystems,login,detect

http:
  - method: GET
    path:
      - "{{BaseURL}}/Login.aspx"
      - "{{BaseURL}}/ServiceCenter/Login.aspx"

    host-redirects: true
    max-redirects: 2
    stop-at-first-match: true
    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "Enter your OutSystems credentials")'
        condition: and

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'environmentName:.?([a-z0-9A-Z\s]+).?'
# digest: 4a0a00473045022100f66494104331e0cda7f020621ec308a8b572ebb34a2e0b360d466d7fa86efa9902205febe8d7bf961d70e7982b433092afddbfb28430798bee5d76ead88c976472a6:922c64590222798bb761d5b6d8e72950