id: wiki-js-detect

info:
  name: Wiki.js - Detect
  author: righettod
  severity: info
  description: |
    Wiki.js was detected.
  reference:
    - https://js.wiki/
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.html:"wiki.js"
  tags: tech,wiki-js,detect

http:
  - method: GET
    path:
      - "{{BaseURL}}/_assets/js/app.js"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_all(to_lower(body), "wiki.js - wiki.js.org", "window.wiki")'
        condition: and
# digest: 4b0a0048304602210093024eb1ae92681d7675730c54f2c260021b5b96f7dd676c42da0d373d59c1c3022100a9a07148f9ace379c086b307b82f9c8cd5498ce8a74e43f02670e237d2e1c4f9:922c64590222798bb761d5b6d8e72950