漏洞描述
The vite.config.js file is used to customize the behavior of Vite and specify various settings for your project.
id: vite-config
info:
name: Vite Configuration - File Exposure
author: DhiyaneshDk
severity: low
description: |
The vite.config.js file is used to customize the behavior of Vite and specify various settings for your project.
reference:
- https://vitejs.dev/config/
metadata:
verified: true
max-request: 1
shodan-query: html:"vite.config.js"
tags: devops,exposure,files,vite,config
http:
- method: GET
path:
- "{{BaseURL}}/vite.config.js"
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'export default defineConfig'
- 'plugins:'
- 'laravel'
condition: and
- type: status
status:
- 200
# digest: 4b0a0048304602210096e22194c4f9db1948c1f1fd5b5e89e8e6f12c558339452315d42f63d26b787a022100ec7dd51a097eed9dc1ada697ee4a37abb4d06cf0b87e723c86921113dba6bd38:922c64590222798bb761d5b6d8e72950