id: dokuwiki-panel

info:
  name: Dokuwiki Login Panel - Detect
  author: righettod
  severity: info
  description: |
    Dokuwiki login panel was detected.
  reference:
    - https://www.dokuwiki.org/dokuwiki
  classification:
    cpe: cpe:2.3:a:dokuwiki:dokuwiki:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: dokuwiki
    product: dokuwiki
    shodan-query: http.html:"/dokuwiki/"
  tags: panel,dokuwiki,login

http:
  - method: GET
    path:
      - "{{BaseURL}}/doku.php"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_any(body, "dokuwiki__header", "content=\"DokuWiki", "/dokuwiki/")'
        condition: and
# digest: 4a0a00473045022029034c4bd631545528aef13f10735047e77b1e05e59d712f30ec1db84a34c6c4022100de4788e55546bf148ee2bd510b40358d89a8567651bb92003caef9ea203a4292:922c64590222798bb761d5b6d8e72950