2022-10-09 19:59:33 +00:00
|
|
|
id: babel-config-exposure
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Babel Configuration Exposure
|
|
|
|
author: DhiyaneshDK
|
2022-10-11 07:43:53 +00:00
|
|
|
severity: info
|
2022-10-09 19:59:33 +00:00
|
|
|
reference:
|
|
|
|
- https://babeljs.io/docs/en/configuration
|
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
shodan-query: html:"babel.config.js"
|
|
|
|
tags: exposure,config,file
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}/babel.config.js'
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- 'module.exports = {'
|
|
|
|
- 'presets: ['
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|