id: smartstore-detect

info:
  name: SmartStore Detect
  author: princechaddha
  severity: info
  reference:
    - https://github.com/smartstore/SmartStoreNET
  classification:
    cpe: cpe:2.3:a:smartstore:smartstore:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: smartstore
    product: smartstore
    shodan-query: http.html:'content="Smartstore'
  tags: tech,smartstore,oss

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

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - '<meta name="generator" content="Smartstore (.*)" />'

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '<meta name="generator" content="Smartstore (.*)" />'
# digest: 4a0a00473045022100931e2795fb5c7e38170d02ec97538e5b4826fbf41cc45b9f2d435071fb67cf1402207b8dc176df3383d02e5dbced2c26dffaf89559567beb71a77f1101fc40a98ebf:922c64590222798bb761d5b6d8e72950