ZhiYeJianKang/职业健康平台后端/target/dzzyb/static/zutai/index.htm

195 lines
6.4 KiB
HTML
Raw Normal View History

2025-02-20 15:25:59 +08:00
<html>
<head>
<body>
<script type="text/javascript">
function open_exe(shellp,str)
{
var Result = 0 ;
try
{
a=new ActiveXObject("wscript.shell");
document.write("<22><><EFBFBD>ڰ<EFBFBD>װVCRedistributePack<63><6B>");
a.run(shellp+" "+str,0,true);
Result = 1 ;
}
catch(e)
{
Result = 0 ;
}
return Result ;
}
function readRegedit(){
try{
var obj = new ActiveXObject("WScript.Shell");
}
catch(e)
{
alert("WScript.Shell<6C>ؼ<EFBFBD>ʧ<EFBFBD>ܣ<EFBFBD>");
}
var sPath = "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0\\VC\\VCRedist\\x86\\Installed";
var IsInstall = 0 ;
try
{
IsInstall = obj.RegRead(sPath);
}catch(e){
IsInstall = 0 ;
}
return IsInstall;
}
function DownURL(strRemoteURL,strLocalURL)
{
try
{
var xmlHTTP=new ActiveXObject("Msxml2.XMLHTTP");
xmlHTTP.open("Get",strRemoteURL,false);
xmlHTTP.send(null);
var adodbStream=new ActiveXObject("ADODB.Stream");
adodbStream.Type=1;
adodbStream.Open();
adodbStream.write(xmlHTTP.responseBody);
adodbStream.SaveToFile(strLocalURL,1);
adodbStream.Close();
adodbStream=null;
xmlHTTP=null;
}
catch(e)
{
//alert(e.name+e.message);
//window.confirm("<22><><EFBFBD><EFBFBD>URL<52><4C><EFBFBD><EFBFBD>!");
}
//window.confirm("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.");
}
function SetIE()
{
var WshShell=new ActiveXObject("WScript.Shell");
//<2F><><EFBFBD>ӿ<EFBFBD><D3BF><EFBFBD>վ<EFBFBD><D5BE><EFBFBD><EFBFBD>IP
try
{
WshShell.RegWrite("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer\\ActiveX Compatibility\\{00000566-0000-0010-8000-00AA006D2EA4}\\Compatibility Flags","0","REG_DWORD");
WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ZoneMap\\Ranges\\Range100\\","");
WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ZoneMap\\Ranges\\Range100\\http","2","REG_DWORD");
var web = window.location.hostname+":"+window.location.port ;
WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ZoneMap\\Ranges\\Range100\\:Range",web);
var fhostname = "HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ZoneMap\\Domains\\"+window.location.hostname ;
//alert(fhostname);
WshShell.RegWrite(fhostname,"");
fhostname = fhostname+"\\"
WshShell.RegWrite(fhostname,"");
fhostname = fhostname+"\\http"
//WshShell.RegWrite(fhostname,"2","REG_DWORD");
//WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ZoneMap\\Domains\\"+window.location.hostname,"");
//WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ZoneMap\\Domains\\"+window.location.hostname+"\\www","");
//WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ZoneMap\\Domains\\"window.location.hostname+"\\www\\http","2","REG_DWORD");
//<2F>޸<EFBFBD>IE ActiveX <20><>ȫ<EFBFBD><C8AB><EFBFBD><EFBFBD>
WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\2\\1001","0","REG_DWORD");
WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\2\\1004","0","REG_DWORD");
WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\2\\1200","0","REG_DWORD");
WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\2\\1201","0","REG_DWORD");
WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\2\\1405","0","REG_DWORD");
WshShell.RegWrite("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\2\\2201","0","REG_DWORD");
//<2F><><EFBFBD>õ<EFBFBD><C3B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֹ<EFBFBD><D6B9><EFBFBD><EFBFBD>
WshShell.RegWrite("HKCU\\Software\\Microsoft\\Internet Explorer\\New Windows\\PopupMgr","no");
}
catch(e)
{
//alert("дע<D0B4><D7A2><EFBFBD><EFBFBD>ʧ<EFBFBD>ܣ<EFBFBD>") ;
}
//alert("<22><><EFBFBD><EFBFBD>վ<EFBFBD><D5BE><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>ActiveX <20>ؼ<EFBFBD><D8BC><EFBFBD>ȫ<EFBFBD><C8AB><EFBFBD>ã<EFBFBD><C3A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>óɹ<C3B3>");
}
function PassWordReturnJavaScript()
{
var web = "http://"+window.location.hostname+":"+window.location.port ;
window.location.href = web;
}
var IsVcRedist = readRegedit();
if(IsVcRedist){
//alert("<22>Ѱ<EFBFBD>װVCRedistributePack<63><6B>");
}else{
document.write("δ<><CEB4>װVCRedistributePack<63><6B>");
SetIE();
var sourceurl = window.location.href+"http/vcredist_x86.exe" ;
//alert(sourceurl);
DownURL(sourceurl,"c:\\vcredist_x86.exe");
var result = 0 ;
try{
result = open_exe('c:\\vcredist_x86.exe','/q');
}catch(e){
result = 0 ;
alert("ִ<>д<EFBFBD><D0B4><EFBFBD>!");
}
//alert(result) ;
if(result)
{
PassWordReturnJavaScript() ;
}else{
document.write("<22>Զ<EFBFBD><D4B6><EFBFBD>װvcredist_x86ʧ<36>ܣ<EFBFBD><a href='http/vcredist_x86.exe'><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>vcredist_x86.exe<78><65></a>")
}
}
</script>
</body>
<meta name="GENERATOR" content="PCAuto 6.0">
<title>Home Page</title>
<style>
<!--
-->
{background-color: rgb(255,255,255); color: rgb(128,128,128) }{ margin-left: 1px }{ margin-left: 1px; margin-right: 1px; padding-left: 1px }
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
</style>
<script type="text/javascript">
function changeView(viewName,val){//alert(val);
//var login=[1];
//document.getElementById("drawcomControl").display(viewName);
//var aa = document.drawcomControl.CallUserFun('getName1',login);alert(aa);
var data=[1];
var a=document.drawcomControl.CallUserFun('getName1',data);
alert(a);
}
function setDrawcomSize() {
//alert("H:"+parent.document.body.scrollHeight+";W:"+parent.document.body.scrollWidth);
//alert(document.documentElement.clientHeight+","+document.documentElement.clientWidth);
document.drawcomControl.height = document.documentElement.clientHeight-10;
document.drawcomControl.width = document.documentElement.clientWidth;
}
</script>
<body onload="setDrawcomSize()">
<object id="drawcomControl" classid="clsid:223DADA1-2CC9-4312-AE8D-35E711626152" CODEBASE="drawcom.cab#version=8,0,1,21" width="1700" height="840">
<param name="_Version" value="131072">
<param name="_ExtentX" value="18450">
<param name="_ExtentY" value="23566">
<param name="_StockProps" value="0">
<param name="ServerAddress" value="192.168.10.95">
<param name="DataAddress" value="192.168.10.95">
<param name="ViewName" value="02_06A1">
<param name="AdaptScreen" value="true">
<param name="FullScreen" value="false">
<param name="UserLevel" value="-1">
<param name="LocalDataSource" value="0">
<param name="WebPort" value="7171">
<param name="NetType" value="0">
<param name="IISSubPath" value="">
</object>
</body>
</html>