27 lines
642 B
YAML
27 lines
642 B
YAML
|
id: javascript-env
|
||
|
|
||
|
info:
|
||
|
name: JavaScript Environment Detection
|
||
|
author: pdp
|
||
|
severity: low
|
||
|
description: Detects common JavaScript environment configuration files.
|
||
|
tags: javascript,config,exposure
|
||
|
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "{{BaseURL}}/env.js"
|
||
|
- "{{BaseURL}}/env.development.js"
|
||
|
- "{{BaseURL}}/env.production.js"
|
||
|
- "{{BaseURL}}/env.test.js"
|
||
|
- "{{BaseURL}}/env.dev.js"
|
||
|
- "{{BaseURL}}/env.prod.js"
|
||
|
matchers-condition: and
|
||
|
matchers:
|
||
|
- type: status
|
||
|
status:
|
||
|
- 200
|
||
|
- type: word
|
||
|
part: header
|
||
|
words:
|
||
|
- "application/javascript"
|