通过cmd指令调用powershell实现下载并运行网上程序

指令:

(echo powershell "($client = new-object System.Net.WebClient) -and ($client.DownloadFile('https://www.pdcblog.tk/pan/data/User/admin/home/test.vbs', 'test.vbs')) -and (exit)") | cmd && wscript test.vbs

里面包含了一个vbs helloworld的例子

一条评论 新建你的

  1. Whoah this weblog is wonderful i like studying your posts.
    Stay up the great paintings! You recognize, lots of persons are searching round
    for this information, you can help them greatly. http://flyto.us/purelycraftedturmeric754701

发表评论

电子邮件地址不会被公开。 必填项已用*标注