add paths in old template & update author name

patch-1
Dhiyaneshwaran 2024-01-25 15:24:22 +05:30
parent 660d1cf885
commit cc881f4c85
2 changed files with 4 additions and 38 deletions

View File

@ -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

View File

@ -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