Skip to content

Instantly share code, notes, and snippets.

@Forgo7ten
Last active February 8, 2022 05:31
Show Gist options
  • Save Forgo7ten/9f30b53e0c94b0541858a348c3b2dcd1 to your computer and use it in GitHub Desktop.
Save Forgo7ten/9f30b53e0c94b0541858a348c3b2dcd1 to your computer and use it in GitHub Desktop.
隐藏.bat运行窗口
DIM objShell
DIM command
set objShell=wscript.createObject("wscript.shell")
' 相关运行的cmd命令
command="java -javaagent:BurpLoaderKeygen.jar -noverify -jar burpsuite_pro_v2021.7.jar"
iReturn=objShell.Run(command, 0, TRUE)
CreateObject("WScript.Shell").Run "cmd /c [要启动的bat文件].bat",0
if "%1" == "h" goto begin
mshta vbscript:createobject("wscript.shell").run("""%~nx0"" h",0)(window.close)&&exit
:begin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment