id: sgp-login-panel

info:
  name: SGP Login Panel - Detect
  author: dhiyaneshDK
  severity: info
  description: SGP login panel was detected.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
  metadata:
    max-request: 1
    shodan-query: http.title:"SGP"
  tags: panel,sgp,discovery

http:
  - method: GET
    path:
      - '{{BaseURL}}/accounts/login?next=/admin/'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<title>SGP</title>'

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - ">Ver\\. ([0-9.A-Z]+)</p>"
# digest: 4b0a004830460221009f84b9e1c28e5a3b6608a0f9b3a34425ff8ed43992e001c503561009f99b559d022100e8388583a38cde836a495cfd949d98c379115a3100425a14775215f056e2c751:922c64590222798bb761d5b6d8e72950