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,discovery

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