id: monstracms-detect

info:
  name: MonstraCMS Detection
  author: ritikchaddha
  severity: info
  reference:
    - https://github.com/monstra-cms/monstra/
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.favicon.hash:419828698
    product: monstra_cms
    vendor: monstra
    fofa-query: icon_hash=419828698
  tags: tech,monstra,monstracms

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'content="Powered by Monstra'

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'content="Powered by Monstra ([0-9.]+)'
# digest: 4b0a004830460221009d9bd9c665853ca0655060cdc826d9cef167150ac32a12daee544f1bbf8ba94f022100f663a6eeca2d762a5fce01cde75fd20381c614bf6e720cb1beb28c3e1c30dc3b:922c64590222798bb761d5b6d8e72950