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