add paths in old template & update author name
parent
660d1cf885
commit
cc881f4c85
|
@ -2,7 +2,7 @@ id: reactapp-env-js
|
|||
|
||||
info:
|
||||
name: React App Environment Js
|
||||
author: random-robbie
|
||||
author: random-robbie,rinolock
|
||||
severity: unknown
|
||||
metadata:
|
||||
verified: true
|
||||
|
@ -15,7 +15,10 @@ http:
|
|||
path:
|
||||
- "{{BaseURL}}/env.js"
|
||||
- "{{BaseURL}}/config.js"
|
||||
- "{{BaseURL}}/config/env.js"
|
||||
- "{{BaseURL}}/config/runtime-env.js"
|
||||
|
||||
stop-at-first-match: true
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: word
|
||||
|
|
|
@ -1,37 +0,0 @@
|
|||
id: reactapp-env-files
|
||||
|
||||
info:
|
||||
name: React App Environment Files
|
||||
author: rinolock
|
||||
severity: high
|
||||
metadata:
|
||||
verified: true
|
||||
max-request: 2
|
||||
github-query: "REACT_APP_"
|
||||
tags: react,exposure,config,js,javascript
|
||||
|
||||
http:
|
||||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}/config/env.js"
|
||||
- "{{BaseURL}}/config/runtime-env.js"
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- "REACT_APP_"
|
||||
|
||||
- type: word
|
||||
part: header
|
||||
words:
|
||||
- "application/octet-stream"
|
||||
- "application/javascript"
|
||||
- "text/plain"
|
||||
condition: or
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
||||
|
Loading…
Reference in New Issue