id: olympic-panel

info:
  name: OLYMPIC Banking System Login Panel - Detect
  author: righettod
  severity: info
  description: OLYMPIC Banking System was detected.
  reference:
    - https://www.olympicbankingsystem.com/en/
  metadata:
    max-request: 2
    shodan-query: http.title:"olympic banking system"
  tags: panel,olympic,login,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/Connect.do"
      - "{{BaseURL}}/javaScript/responsive/portal.js"

    stop-at-first-match: true
    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_any(to_lower(body), "olympic banking system", "olympic.action=")'
        condition: and

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '&#169;([0-9]+)-'
# digest: 4b0a00483046022100fc8e468a8c8521c7784efda70209d9b8d042ee5cdd3e88c8b1dd9feeee53c787022100d7d41f824f3809c9dcf86f9050251f6995a743ceb8579b1993ad65f7a679e326:922c64590222798bb761d5b6d8e72950