湘西古丈县人民政府网:asp管理员密码解密问题

来源:百度文库 编辑:杭州交通信息网 时间:2024/04/30 07:10:49
各位同仁,现在管理员检测处的函数为for i = 1 to n
pws=pws+cstr(asc(mid(request.form("PassWd"),i,1)))
next
access数据库内的密码为:56544957495755
请大家帮我解开下,并写上解释好吗,万分感谢
这是cheklogin的密码处代码:n=len(request.form("PassWd"))
for i = 1 to n
pws=pws+cstr(asc(mid(request.form("PassWd"),i,1)))
next
下面是chekstr的代码:<%
rem 检查sql字符串中是否有单引号,有则进行转化
function CheckStr(str)
dim tstr,l,i,ch
l=len(str)
for i=1 to l
ch=mid(str,i,1)
if ch="'" then
tstr=tstr+"'"
end if
tstr=tstr+ch
next
CheckStr=tstr
end function
%>

不懂!只懂点点HTML,路过!