最好吃的火锅底料:asp管理员密码解密问题

来源:百度文库 编辑:高考问答 时间:2024/05/05 15:28:10
各位同仁,现在管理员检测处的函数为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,路过!