45 lines
1011 B
YAML
45 lines
1011 B
YAML
id: blazor-webassembly-detect
|
|
|
|
info:
|
|
name: Blazor WebAssembly - Detect
|
|
author: righettod
|
|
severity: info
|
|
description: |
|
|
Blazor WebAssembly application was detected.
|
|
reference:
|
|
- https://dotnet.microsoft.com/en-us/apps/aspnet/web-apps/blazor
|
|
- https://github.com/righettod/burp-piper-custom-scripts/issues/1
|
|
metadata:
|
|
max-request: 1
|
|
verified: true
|
|
shodan-query: html:"blazor.boot.json"
|
|
tags: blazor,webassembly,detect
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/_framework/blazor.boot.json'
|
|
|
|
stop-at-first-match: true
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- 'dotnet.wasm'
|
|
- '"entryAssembly"'
|
|
- '"Microsoft.JSInterop.WebAssembly.dll"'
|
|
condition: and
|
|
case-insensitive: true
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
group: 1
|
|
regex:
|
|
- 'dotnet.([0-9.]+).[a-z0-9]+.js'
|