id: default-symfony-page

info:
  name: Symfony Default Page
  author: pussycat0x
  severity: info
  classification:
    cpe: cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: sensiolabs
    product: symfony
    shodan-query: http.title:"Welcome to Symfony"
  tags: tech,symfony,default-page

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Welcome to Symfony!'
          - 'Documentation'
        condition: and

      - type: status
        status:
          - 404

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - "([0-9.]+)</span>"
# digest: 4a0a0047304502206f7fd3e00a2ece7d308648040cb42e2e044ff7abd4049182e3008fccdf20a55f022100be57f3fc15bdee37c780ef7e205bf7ff94ce8a35767d87eb62b3ebc9e089fb48:922c64590222798bb761d5b6d8e72950