id: woodwing-panel

info:
  name: Woodwing Studio Server Panel - Detect
  author: pdteam,righettod
  severity: info
  reference:
    - https://twitter.com/ynsmroztas/status/1680961398011047936
  metadata:
    verified: true
    max-request: 2
    shodan-query: http.title:"WoodWing Studio Server"
    fofa-query: title=="WoodWing Studio Server"
  tags: woodwing,panel,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/StudioServer/server/apps/login.php"
      - "{{BaseURL}}/server/apps/login.php"

    stop-at-first-match: true
    redirects: true
    max-redirects: 2
    matchers:
      - type: dsl
        dsl:
          - "contains(tolower(body), 'woodwing studio server')"

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '<!---->v([0-9.]+\s+Build\s+[0-9]+)'
# digest: 4b0a0048304602210099c078e6f247de5306505b6ba77a73f48d65c9d541b16d3b102429c62d20cd76022100fc2e798a3da71c24377be5eceb59c245fe5d612b1825a4beb8ad1987661f5e8c:922c64590222798bb761d5b6d8e72950