nuclei-templates/http/exposures/files/webpack-sourcemap-disclosur...

39 lines
855 B
YAML

id: webpack-sourcemap-disclosure
info:
name: Webpack Sourcemap Disclosure
author: dhiyaneshDk
severity: info
metadata:
max-request: 2
tags: exposure,files
http:
- method: GET
path:
- "{{BaseURL}}"
- "{{RootURL}}/{{Path}}/{{map}}.js.map"
matchers-condition: and
matchers:
- type: word
words:
- '"version":'
- '"file":'
- '"sources":'
condition: and
- type: status
status:
- 200
extractors:
- type: regex
internal: true
name: map
group: 1
regex:
- "sourceMappingURL=([a-z-~0-9.]+).js.map"
# digest: 4a0a0047304502206b892861311859d5f97a16d387c508c2397c7e037dba91de7065752cec64374f02210083fc7808de3987b21dea6ac2aa39660b884949839917c63385a6991b03e6f3e9:922c64590222798bb761d5b6d8e72950