Merge pull request #5621 from projectdiscovery/babel-config-exposure

Create babel-config-exposure.yaml
patch-1
Prince Chaddha 2022-10-11 13:16:43 +05:30 committed by GitHub
commit b05717f785
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
id: babel-config-exposure
info:
name: Babel Configuration Exposure
author: DhiyaneshDK
severity: info
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