id: okiko-sfiler-portal

info:
  name: OKIOK S-Filer Portal Login Panel - Detect
  author: johnk3r
  severity: info
  description: OKIOK S-Filer Portal 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:"S-Filer"
  tags: okiko,panel

http:
  - method: GET
    path:
      - "{{BaseURL}}/sfiler/Login.action"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "<title>S-Filer Portal - Login</title>"
        part: body

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '<br\/>S\-Filer\/([A-Za-z 0-9.]+)<\/p>'
# digest: 4a0a00473045022100cc5011a4b2c8c108db1b333d2a48fe52d1ae5d028193e6f3239326b0193c91c3022078d03d63dae3e6e73f883a2dba4269beb27432a23ea127caff5566caf41bf38c:922c64590222798bb761d5b6d8e72950