id: shopware-detect

info:
  name: Shopware CMS detect
  author: cyllective,pascalheidmann
  severity: info
  description: Detects Shopware CMS
  reference:
    - https://github.com/shopware/shopware
    - https://github.com/shopware/platform
  metadata:
    verified: true
    max-request: 2
    shodan-query: title:"shopware AG"
  tags: tech,shopware,cms

http:
  - method: GET
    path:
      - "{{BaseURL}}/admin"
      - "{{BaseURL}}/backend"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Realisiert mit Shopware'
          - 'Realised with Shopware'
          - 'Shopware Administration (c) shopware AG'
          - '<title>Shopware 5 - Backend (c) shopware AG</title>'
          - 'Shopware.Application.start'
        condition: or

      - type: status
        status:
          - 200

# digest: 4b0a00483046022100f5dedd7b164741bfc8676fe3df4689ec6b74c8c244be4938643ad3ab1806755e02210093c10795b77bb72b7baafa642dca97b240e8c8ebfbf98e9c42e51c1c4cfc6697:922c64590222798bb761d5b6d8e72950
