-
-
[求助]有人可以帮我看看这个代码什么意思吗
-
发表于: 2005-8-8 11:03 6214
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0029)http://www.kb11.com/fcc/ui.htm -->
<HTML xmlns:IE>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
<META content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<STYLE>INPUT {
FONT-SIZE: 12px; WIDTH: 100%
}
TABLE {
FONT-SIZE: 12px
}
.Edit {
BORDER-RIGHT: #99cccc 1px solid; BORDER-TOP: #99cccc 1px solid; BORDER-LEFT: #99cccc 1px solid; BORDER-BOTTOM: #99cccc 1px solid; BACKGROUND-COLOR: #f7ffff
}
.MouseOnEdit {
BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid; BACKGROUND-COLOR: #f7ffff
}
.Result {
BORDER-RIGHT: #99cccc 1px solid; BORDER-TOP: #99cccc 1px solid; OVERFLOW-Y: scroll; SCROLLBAR-FACE-COLOR: #dcffb9; LEFT: 0px; SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; BORDER-LEFT: #99cccc 1px solid; WIDTH: 100%; SCROLLBAR-SHADOW-COLOR: #dcffb9; SCROLLBAR-3DLIGHT-COLOR: #58be1a; SCROLLBAR-ARROW-COLOR: #000000; SCROLLBAR-TRACK-COLOR: #eeeeee; BORDER-BOTTOM: #99cccc 1px solid; POSITION: relative; TOP: 0px; HEIGHT: 290px
}
.ClickButton1 {
BORDER-RIGHT: buttonshadow 1px solid; BORDER-TOP: buttonhighlight 1px solid; FONT-SIZE: 12px; BORDER-LEFT: buttonhighlight 1px solid; WIDTH: 54px; CURSOR: hand; BORDER-BOTTOM: buttonshadow 1px solid; HEIGHT: 16px; BACKGROUND-COLOR: #ceefff
}
.ClickButton2 {
BORDER-RIGHT: buttonshadow 1px solid; BORDER-TOP: buttonhighlight 1px solid; FONT-SIZE: 12px; BORDER-LEFT: buttonhighlight 1px solid; WIDTH: 74px; CURSOR: hand; BORDER-BOTTOM: buttonshadow 1px solid; HEIGHT: 16px; BACKGROUND-COLOR: #f7e38c
}
</STYLE>
<META content="MSHTML 6.00.2600.0" name="GENERATOR">
</HEAD>
<BODY style="BACKGROUND-COLOR: #f7ffff" leftMargin="0" topMargin="0" scroll="no" rightMargin="0">
<div style="display:none">
<iframe name="msgFrame"></iframe>
</div>
<TABLE style="WIDTH: 100%; BORDER-COLLAPSE: collapse; HEIGHT: 100%" cellSpacing="0" cellPadding="0" border="0">
<TBODY>
<TR height="16">
<TD id="grab" style="FONT-SIZE: 12px; COLOR: blue; BACKGROUND-COLOR: #f7ffff" align="left">
<INPUT class="ClickButton1" title="启动监测,当匹配关键字的进程启动时即对其实施外挂" onclick="runWinHook();" type="button" value="开始监测">
<INPUT class="ClickButton1" title="停止监测,停止后外挂可能会失效" onclick="stopWinHook();" type="button" value="停止监测">
<INPUT class="ClickButton2" title="下载脚本文件" onclick="downLoad()" type="button" value="下载脚本">
<input type="button" class="ClickButton2" onclick="diagnose();" title="在用户参与下清理信息或重新下载当前版本的程序与脚本" value="更 新">
<input type="button" class="ClickButton2" onclick="memClear(this);" title="定时切换前后台及最小化窗口来释放内存,挂机时适用,不适于边工作边挂机" value="内存清理">
</TD>
</TR>
<TR height="16">
<TD><INPUT class="edit" id="serKey" onblur="this.className='Edit'" onmouseover="this.className='MouseOnEdit'" onmouseout="if(document.activeElement!=this)this.className='Edit'" readOnly>
</TD>
</TR>
<TR height="16">
<TD><INPUT class="edit" id="scpUrl" onblur="this.className='Edit'" onmouseover="this.className='MouseOnEdit'" onmouseout="if(document.activeElement!=this)this.className='Edit'" value="http://www.kb11.com/" />
</TD>
</TR>
<TR height="16">
<TD><INPUT class="edit" id="hookKey" onblur="this.className='Edit'" onmouseover="this.className='MouseOnEdit'" onmouseout="if(document.activeElement!=this)this.className='Edit'" value="fcruner">
</TD>
</TR>
<TR height="16">
<TD><INPUT class="edit" id="hookPath" onblur="this.className='Edit'" onmouseover="this.className='MouseOnEdit'" onmouseout="if(document.activeElement!=this)this.className='Edit'">
</TD>
</TR>
<TR>
<TD vAlign="top">
<DIV class="Result" id="ttt">
<TABLE id="logText" style="DISPLAY: none; WIDTH: 100%; BORDER-COLLAPSE: collapse" cellSpacing="0" cellPadding="0" border="1">
<TBODY>
</TBODY>
</TABLE>
</DIV>
</TD>
</TR>
<TR height="16">
<TD vAlign="top"><INPUT class="edit" id="statusBar" onblur="this.className='Edit'" onmouseover="this.className='MouseOnEdit'" onmouseout="if(document.activeElement!=this)this.className='Edit'">
</TD>
</TR>
</TBODY>
</TABLE>
<SCRIPT language="javascript">
var isClear=false;
function memClear(obj)
{
if(obj.value=="内存清理")
{
isClear=true;
obj.value="停止清理";
}
else
{
isClear=false;
obj.value="内存清理";
}
}
function test()
{
if(isClear)
{
var r=window.external.Application.GC("奇域");
}
}
function window.onload()
{
window.external.Move(-1,-1,400,300);
window.external.Center();
serKey.value=window.external.Application.Key;
window.external.SendMessage(0x00,0);
var urlPath=scpUrl.value;
window.open(urlPath+"fcc/message.asp?key="+serKey.value,"msgFrame");
window.setInterval("test()",10000);
runWinHook();
}
function downLoad()
{
try
{
var urlPath=scpUrl.value;
if(!confirm("如果网站'"+urlPath+"'不通的话,请不要继续,你确认要继续吗?"))
return;
var cmdLine=window.external.CmdLine;
var path=cmdLine.substring(0,cmdLine.lastIndexOf("\\")+1);
if(path.charAt(0)=='"')
path=path.substr(1);
var key=window.external.Application.Key;
window.external.UploadDownload.DownloadFile(urlPath+"FCC/tool.htm",path+"tool.htm",1);
window.external.UploadDownload.DownloadFile(urlPath+"FCC/autorun.fcc",path+"autorun.fcc",1);
window.external.UploadDownload.DownloadFile(urlPath+"FCC/hook.cfg",path+"hook.cfg",1);
window.external.UploadDownload.DownloadFile(urlPath+"FCC/fancyworld"+key+".cfg",path+"fancyworld.cfg",1);
}
catch(ee)
{}
}
function getAppPath()
{
var cmdLine=window.external.CmdLine;
var i=cmdLine.lastIndexOf("\\")+1;
var j=cmdLine.lastIndexOf("/")+1;
var appPath="";
if(i>=0)
appPath=cmdLine.substring(0,i);
else if(j>=0)
appPath=cmdLine.substring(0,j);
if(appPath.charAt(0)=='"')
appPath=appPath.substr(1);
return appPath;
}
function getVersion()
{
var ver=window.clientInformation.appVersion;
var i=ver.indexOf("MSIE");
if(i>0)
{
var iver=parseInt(ver.substr(i+5),10);
return iver;
}
return 0;
}
function diagnose()
{
if(getVersion()<6)
{
alert("您的IE版本低于6.0,请您先安装IE6.0以上版本!");
window.external.Close();
return;
}
var shell=window.external.CreateObject("WScript.Shell");
if(!shell)
{
alert("您的系统不支持WSH,或者您安装了监控网页的防病毒软件!\n请更新您的系统或关闭防毒软件的网页监控.");
return;
}
if(confirm("重新下载吗?"))
{
try
{
shell.RegDelete("HKLM\\software\\nationphone\\hookscript\\uiURL");
}
catch(e)
{
}
try
{
shell.RegDelete("HKLM\\software\\nationphone\\hookscript\\updateURL");
}
catch(e)
{
}
try
{
shell.RegDelete("HKLM\\software\\nationphone\\hookscript\\exeVer");
}
catch(e)
{
}
try
{
shell.RegDelete("HKLM\\software\\nationphone\\hookscript\\scpVer");
}
catch(e)
{
}
try
{
shell.RegDelete("HKLM\\software\\nationphone\\hookscript\\ROOTPATH");
}
catch(e)
{
}
window.external.SendMessage(0x04,0);
shell.Run(getAppPath()+"AutoUpdate.exe");
window.setTimeout("window.external.Close()",1000);
}
}
function selDll()
{
hookPath.value=window.external.SelFile(1,"","*.dll","动态链接库|*.dll||");
}
function runWinHook()
{
logText.style.display="";
while(logText.rows.length>0)
logText.deleteRow();
window.external.SendMessage(0x03,0);
window.external.Hide();
}
function stopWinHook()
{
window.external.SendMessage(0x04,0);
}
function closeWin()
{
if(!confirm("你真的要关闭窗口吗?"))return;
window.external.Close();
}
function OnSize()
{
ttt.style.height=document.body.clientHeight-116;
}
function OnStatusTextChange(str)
{
statusBar.value=str;
}
function Log(mess)
{
var tr=logText.insertRow();
var cell=tr.insertCell();
cell.innerText=mess;
}
function SetHookPath(text)
{
hookPath.value=text;
}
function GetHookPath()
{
return hookPath.value;
}
</SCRIPT>
</BODY>
</HTML>
<!-- saved from url=(0029)http://www.kb11.com/fcc/ui.htm -->
<HTML xmlns:IE>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
<META content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<STYLE>INPUT {
FONT-SIZE: 12px; WIDTH: 100%
}
TABLE {
FONT-SIZE: 12px
}
.Edit {
BORDER-RIGHT: #99cccc 1px solid; BORDER-TOP: #99cccc 1px solid; BORDER-LEFT: #99cccc 1px solid; BORDER-BOTTOM: #99cccc 1px solid; BACKGROUND-COLOR: #f7ffff
}
.MouseOnEdit {
BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid; BACKGROUND-COLOR: #f7ffff
}
.Result {
BORDER-RIGHT: #99cccc 1px solid; BORDER-TOP: #99cccc 1px solid; OVERFLOW-Y: scroll; SCROLLBAR-FACE-COLOR: #dcffb9; LEFT: 0px; SCROLLBAR-HIGHLIGHT-COLOR: #ffffff; BORDER-LEFT: #99cccc 1px solid; WIDTH: 100%; SCROLLBAR-SHADOW-COLOR: #dcffb9; SCROLLBAR-3DLIGHT-COLOR: #58be1a; SCROLLBAR-ARROW-COLOR: #000000; SCROLLBAR-TRACK-COLOR: #eeeeee; BORDER-BOTTOM: #99cccc 1px solid; POSITION: relative; TOP: 0px; HEIGHT: 290px
}
.ClickButton1 {
BORDER-RIGHT: buttonshadow 1px solid; BORDER-TOP: buttonhighlight 1px solid; FONT-SIZE: 12px; BORDER-LEFT: buttonhighlight 1px solid; WIDTH: 54px; CURSOR: hand; BORDER-BOTTOM: buttonshadow 1px solid; HEIGHT: 16px; BACKGROUND-COLOR: #ceefff
}
.ClickButton2 {
BORDER-RIGHT: buttonshadow 1px solid; BORDER-TOP: buttonhighlight 1px solid; FONT-SIZE: 12px; BORDER-LEFT: buttonhighlight 1px solid; WIDTH: 74px; CURSOR: hand; BORDER-BOTTOM: buttonshadow 1px solid; HEIGHT: 16px; BACKGROUND-COLOR: #f7e38c
}
</STYLE>
<META content="MSHTML 6.00.2600.0" name="GENERATOR">
</HEAD>
<BODY style="BACKGROUND-COLOR: #f7ffff" leftMargin="0" topMargin="0" scroll="no" rightMargin="0">
<div style="display:none">
<iframe name="msgFrame"></iframe>
</div>
<TABLE style="WIDTH: 100%; BORDER-COLLAPSE: collapse; HEIGHT: 100%" cellSpacing="0" cellPadding="0" border="0">
<TBODY>
<TR height="16">
<TD id="grab" style="FONT-SIZE: 12px; COLOR: blue; BACKGROUND-COLOR: #f7ffff" align="left">
<INPUT class="ClickButton1" title="启动监测,当匹配关键字的进程启动时即对其实施外挂" onclick="runWinHook();" type="button" value="开始监测">
<INPUT class="ClickButton1" title="停止监测,停止后外挂可能会失效" onclick="stopWinHook();" type="button" value="停止监测">
<INPUT class="ClickButton2" title="下载脚本文件" onclick="downLoad()" type="button" value="下载脚本">
<input type="button" class="ClickButton2" onclick="diagnose();" title="在用户参与下清理信息或重新下载当前版本的程序与脚本" value="更 新">
<input type="button" class="ClickButton2" onclick="memClear(this);" title="定时切换前后台及最小化窗口来释放内存,挂机时适用,不适于边工作边挂机" value="内存清理">
</TD>
</TR>
<TR height="16">
<TD><INPUT class="edit" id="serKey" onblur="this.className='Edit'" onmouseover="this.className='MouseOnEdit'" onmouseout="if(document.activeElement!=this)this.className='Edit'" readOnly>
</TD>
</TR>
<TR height="16">
<TD><INPUT class="edit" id="scpUrl" onblur="this.className='Edit'" onmouseover="this.className='MouseOnEdit'" onmouseout="if(document.activeElement!=this)this.className='Edit'" value="http://www.kb11.com/" />
</TD>
</TR>
<TR height="16">
<TD><INPUT class="edit" id="hookKey" onblur="this.className='Edit'" onmouseover="this.className='MouseOnEdit'" onmouseout="if(document.activeElement!=this)this.className='Edit'" value="fcruner">
</TD>
</TR>
<TR height="16">
<TD><INPUT class="edit" id="hookPath" onblur="this.className='Edit'" onmouseover="this.className='MouseOnEdit'" onmouseout="if(document.activeElement!=this)this.className='Edit'">
</TD>
</TR>
<TR>
<TD vAlign="top">
<DIV class="Result" id="ttt">
<TABLE id="logText" style="DISPLAY: none; WIDTH: 100%; BORDER-COLLAPSE: collapse" cellSpacing="0" cellPadding="0" border="1">
<TBODY>
</TBODY>
</TABLE>
</DIV>
</TD>
</TR>
<TR height="16">
<TD vAlign="top"><INPUT class="edit" id="statusBar" onblur="this.className='Edit'" onmouseover="this.className='MouseOnEdit'" onmouseout="if(document.activeElement!=this)this.className='Edit'">
</TD>
</TR>
</TBODY>
</TABLE>
<SCRIPT language="javascript">
var isClear=false;
function memClear(obj)
{
if(obj.value=="内存清理")
{
isClear=true;
obj.value="停止清理";
}
else
{
isClear=false;
obj.value="内存清理";
}
}
function test()
{
if(isClear)
{
var r=window.external.Application.GC("奇域");
}
}
function window.onload()
{
window.external.Move(-1,-1,400,300);
window.external.Center();
serKey.value=window.external.Application.Key;
window.external.SendMessage(0x00,0);
var urlPath=scpUrl.value;
window.open(urlPath+"fcc/message.asp?key="+serKey.value,"msgFrame");
window.setInterval("test()",10000);
runWinHook();
}
function downLoad()
{
try
{
var urlPath=scpUrl.value;
if(!confirm("如果网站'"+urlPath+"'不通的话,请不要继续,你确认要继续吗?"))
return;
var cmdLine=window.external.CmdLine;
var path=cmdLine.substring(0,cmdLine.lastIndexOf("\\")+1);
if(path.charAt(0)=='"')
path=path.substr(1);
var key=window.external.Application.Key;
window.external.UploadDownload.DownloadFile(urlPath+"FCC/tool.htm",path+"tool.htm",1);
window.external.UploadDownload.DownloadFile(urlPath+"FCC/autorun.fcc",path+"autorun.fcc",1);
window.external.UploadDownload.DownloadFile(urlPath+"FCC/hook.cfg",path+"hook.cfg",1);
window.external.UploadDownload.DownloadFile(urlPath+"FCC/fancyworld"+key+".cfg",path+"fancyworld.cfg",1);
}
catch(ee)
{}
}
function getAppPath()
{
var cmdLine=window.external.CmdLine;
var i=cmdLine.lastIndexOf("\\")+1;
var j=cmdLine.lastIndexOf("/")+1;
var appPath="";
if(i>=0)
appPath=cmdLine.substring(0,i);
else if(j>=0)
appPath=cmdLine.substring(0,j);
if(appPath.charAt(0)=='"')
appPath=appPath.substr(1);
return appPath;
}
function getVersion()
{
var ver=window.clientInformation.appVersion;
var i=ver.indexOf("MSIE");
if(i>0)
{
var iver=parseInt(ver.substr(i+5),10);
return iver;
}
return 0;
}
function diagnose()
{
if(getVersion()<6)
{
alert("您的IE版本低于6.0,请您先安装IE6.0以上版本!");
window.external.Close();
return;
}
var shell=window.external.CreateObject("WScript.Shell");
if(!shell)
{
alert("您的系统不支持WSH,或者您安装了监控网页的防病毒软件!\n请更新您的系统或关闭防毒软件的网页监控.");
return;
}
if(confirm("重新下载吗?"))
{
try
{
shell.RegDelete("HKLM\\software\\nationphone\\hookscript\\uiURL");
}
catch(e)
{
}
try
{
shell.RegDelete("HKLM\\software\\nationphone\\hookscript\\updateURL");
}
catch(e)
{
}
try
{
shell.RegDelete("HKLM\\software\\nationphone\\hookscript\\exeVer");
}
catch(e)
{
}
try
{
shell.RegDelete("HKLM\\software\\nationphone\\hookscript\\scpVer");
}
catch(e)
{
}
try
{
shell.RegDelete("HKLM\\software\\nationphone\\hookscript\\ROOTPATH");
}
catch(e)
{
}
window.external.SendMessage(0x04,0);
shell.Run(getAppPath()+"AutoUpdate.exe");
window.setTimeout("window.external.Close()",1000);
}
}
function selDll()
{
hookPath.value=window.external.SelFile(1,"","*.dll","动态链接库|*.dll||");
}
function runWinHook()
{
logText.style.display="";
while(logText.rows.length>0)
logText.deleteRow();
window.external.SendMessage(0x03,0);
window.external.Hide();
}
function stopWinHook()
{
window.external.SendMessage(0x04,0);
}
function closeWin()
{
if(!confirm("你真的要关闭窗口吗?"))return;
window.external.Close();
}
function OnSize()
{
ttt.style.height=document.body.clientHeight-116;
}
function OnStatusTextChange(str)
{
statusBar.value=str;
}
function Log(mess)
{
var tr=logText.insertRow();
var cell=tr.insertCell();
cell.innerText=mess;
}
function SetHookPath(text)
{
hookPath.value=text;
}
function GetHookPath()
{
return hookPath.value;
}
</SCRIPT>
</BODY>
</HTML>
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!
赞赏
他的文章
看原图
赞赏
雪币:
留言: