id: sphinxonline-panel

info:
  name: SphinxOnline Panel - Detect
  author: righettod
  severity: info
  description: |
    SphinxOnline Login Panel was detected.
  reference:
    - https://www.lesphinx-developpement.fr/
  metadata:
    max-request: 1
    shodan-query: http.title:"Connection - SphinxOnline"
    verified: true
  tags: panel,sphinxonline,login,detect

http:
  - method: GET
    path:
      - '{{BaseURL}}/SphinxAuth/Account/Login'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<title>Connection - SphinxOnline</title>'
          - 'SphinxOnline</span>'
        condition: or
        case-insensitive: true

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'Sphinxonline ([a-f0-9.]+)</a>'
# digest: 4a0a0047304502202c147be5636fb2e2a528ae8bf8b7083993f9b072ab8c3a963ae495e4038cd6dd022100953c8ed52aa65b237db00848d094a6bd01a6274fff305c4ce72377118b2023a0:922c64590222798bb761d5b6d8e72950