2,接上面如何填写filedata
我们这里以计算器为例,我们想最终让用户自动下载弹出计算器,作为POC
首先我们确定电脑中计算器的位置是C:\Windows\System32\calc.exe
然后我们打开powershell输入下面的命令$base64string = [Convert]::ToBase64String([IO.File]::ReadAllBytes('C:\Windows\System32\calc.exe'))
然后我们可以去输入命令的目录下,查看temporary.log文件
将里面的内容复制到""双引号中间
filedata = ""//这里需要填文件数据
原创还是我猪哥(猪头,猪猪侠)



举报 0