id: writebook-detect

info:
  name: Writebook - Detect
  author: hahwul
  severity: info
  reference:
    - https://once.com/writebook
    - https://books.37signals.com/2/the-writebook-manual
  metadata:
    max-request: 1
    verified: true
    shodan-query: html:"Writebook"
  tags: writebook,tech

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/session/new"

    stop-at-first-match: true
    matchers-condition: or
    matchers:
      - type: word
        part: header
        words:
          - "Set-Cookie: _writebook_session"

      - type: word
        part: body
        words:
          - "Made with Writebook"
          - "Writebook</h1>"
        condition: or
# digest: 4b0a00483046022100c7330429e131bf9cfeb594c7a05f6f2abdc6b178fa5f2b28d5d0bf1519bb2836022100e4578a687d43e11e25f4fd1a47a9b645c77f60e75a6ac5c1394b6a6ef7b66408:922c64590222798bb761d5b6d8e72950