gpt4 book ai didi

VBS Runas 自动输入密码, 明文

转载 作者:qq735679552 更新时间:2022-09-29 22:32:09 25 4
gpt4 key购买 nike

CFSDN坚持开源创造价值,我们致力于搭建一个资源共享平台,让每一个IT人在这里找到属于你的精彩世界.

这篇CFSDN的博客文章VBS Runas 自动输入密码, 明文由作者收集整理,如果你对这篇文章有兴趣,记得点赞哟.

复制代码 代码如下

Set Shell = CreateObject("WScript.Shell") Shell.Run "cmd /c @runas /user:administrator CMD" WScript.Sleep 2000 Shell.SendKeys "password{ENTER}exit{ENTER}" WScript.Sleep 1000 Shell.SendKeys "@echo off&cls&net stop messenger&net start messenger&exit{ENTER}" 。

@echo off echo dim WshShell,cmd >> %3runas.vbs echo cmd="%SystemRoot%\system32\cmd.exe" >> %3runas.vbs echo Set WshShell=WScript.CreateObject("WScript.Shell") >> %3runas.vbs echo WshShell.Run cmd >> %3runas.vbs echo WScript.Sleep 500 >> %3runas.vbs echo WshShell.SendKeys"runas /user:Administrators\%1 %3Bcmd.bat" >> %3runas.vbs echo WshShell.SendKeys"{ENTER}" >> %3runas.vbs echo WScript.Sleep 1000 >> %3runas.vbs echo WshShell.SendKeys"%2" >> %3runas.vbs echo WshShell.SendKeys"{ENTER}" >> %3runas.vbs echo WScript.Sleep 500 >> %3runas.vbs echo WshShell.SendKeys"exit" >> %3runas.vbs echo WshShell.SendKeys"{ENTER}" >> %3runas.vbs echo @echo off >> %3Bcmd.bat echo %4 %5 %6 %7 %8 %9 >> %3Bcmd.bat echo del %3runas.vbs >> %3Bcmd.bat echo del %3Bcmd.bat >> %3Bcmd.bat %3\runas.vbs 以上保存为BAT 。

复制代码 代码如下

dim WshShell,cmd cmd="%SystemRoot%\system32\cmd.exe" Set WshShell=WScript.CreateObject("WScript.Shell") WshShell.Run cmd WScript.Sleep 500 WshShell.SendKeys"runas /user:Administrators\用户名 密码 命令" WshShell.SendKeys"{ENTER}" WScript.Sleep 1000 WshShell.SendKeys"%2" WshShell.SendKeys"{ENTER}" WScript.Sleep 500 WshShell.SendKeys"exit" WshShell.SendKeys"{ENTER}" 。

以上保存为VBS Runas 只有在通过自动登陆读到密码时才有用 。

最后此篇关于VBS Runas 自动输入密码, 明文的文章就讲到这里了,如果你想了解更多关于VBS Runas 自动输入密码, 明文的内容请搜索CFSDN的文章或继续浏览相关文章,希望大家以后支持我的博客! 。

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com