2021-10-20 22:51:52 +00:00
|
|
|
id: gruntfile-exposure
|
2021-10-20 16:28:48 +00:00
|
|
|
|
|
|
|
info:
|
2021-10-20 22:51:52 +00:00
|
|
|
name: Gruntfile Exposure
|
2021-10-20 16:28:48 +00:00
|
|
|
author: sbani
|
|
|
|
severity: info
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://gruntjs.com/sample-gruntfile
|
2021-10-20 16:28:48 +00:00
|
|
|
tags: config,exposure
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/Gruntfile.js"
|
|
|
|
- "{{BaseURL}}/Gruntfile.coffee"
|
|
|
|
|
2022-10-07 21:27:25 +00:00
|
|
|
host-redirects: true
|
2021-10-20 22:51:52 +00:00
|
|
|
max-redirects: 2
|
2021-10-20 16:28:48 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
2021-10-20 22:51:52 +00:00
|
|
|
part: body
|
|
|
|
condition: and
|
2021-10-20 16:28:48 +00:00
|
|
|
words:
|
|
|
|
- "module.exports"
|
2021-10-20 22:51:52 +00:00
|
|
|
- "grunt"
|
2021-10-20 16:28:48 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|