码迷,mamicode.com
首页 > 其他好文 > 详细

堡垒机直接调用RUN

时间:2019-09-04 21:53:59      阅读:109      评论:0      收藏:0      [点我收藏+]

标签:creat   net   echo   图片   off   art   info   调用   log   

两个脚本

技术图片

 

 

 Run.vbe   参考https://blog.csdn.net/skypeGNU/article/details/12708221

set ws=wscript.createobject("wscript.shell")  
ws.run "CmdCalled.bat /start",0

 

被调用脚本:CmdCalled.bat

@echo off
mstsc

 

双击执行 Run.vbe后

技术图片

 

堡垒机直接调用RUN

标签:creat   net   echo   图片   off   art   info   调用   log   

原文地址:https://www.cnblogs.com/hanshanxiaoheshang/p/11461233.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!