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

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