★★★★★---高分征求破译如下代码---★★★★★!!

moffatt 2002-11-22 10:21:45
朋友用ASP语言设计了一个网站登陆系统,我以为简单修改部分代码就据为己有,但(呜呜呜.....),他加入一些验证代码,如果被修改了,就不能以管理者的身份登陆。我研究了几天,发现在登陆网页的代码有如下一段:

<!--#include file="inc_bottom.asp"-->
<%
if thebottom="" or isnull(thebottom) then Response.Redirect "help%2Easp%3Ferror%3D%C4%FA%CA%B9%D3%C3%B5%C4%B0%E6%B1%BE%D2%D1%BE%AD%B1%BB%D0%DE%B8%C4%C1%CB%A3%AC%C7%EB%B4%D3%B0%A2%BD%AD%B5%C4%CD%F8%D5%BE%CF%C2%D4%D8%CD%EA%D5%FB%B5%C4%B0%E6%B1%BE%A1%A3"
if thebottom=replace(thebottom,chr(-20318) & chr(-16979),"") or thebottom=replace(thebottom,chr(65) & chr(106) & chr(105) & chr(97) & chr(110) & chr(103),"") then Response.Redirect "help.asp?error=%C4%FA%CA%B9%D3%C3%B5%C4%B0%E6%B1%BE%D2%D1%BE%AD%B1%BB%D0%DE%B8%C4%C1%CB%A3%AC%C7%EB%B4%D3%B0%A2%BD%AD%B5%C4%CD%F8%D5%BE%CF%C2%D4%D8%CD%EA%D5%FB%B5%C4%B0%E6%B1%BE%A1%A3"
%>
</body>
</html>

▲▲▲代码中指示在“inc_bottom.asp”中如有部分字符更改,就转入“帮助页面”,并显示有关字符(经测试文字为:错误 您使用的版本已经被修改了,请从我的网站下载完整的版本。),我在“帮助页面”上发现如下代码,相信是显示有关错误信息的:
<%if error <> "" then Response.Write "<p class='p1'><font color='red'><img src='images/tb_error.gif' align=absmiddle><font style='font-size:15px'> </font>错误 " & error & "</font>"%>

【附“inc_bottom.asp”的源代码】
<%if yestop=2 then%>
<!--#include file='inc_index.asp'-->
<%end if%>
<%
thebottom=""
thebottom=thebottom & "<p style='line-height: 140%; margin-left: 0; margin-top: 15; margin-bottom: 0;FONT-FAMILY:Arial;' align=center><a href='mailto:moffatt@vip.sina.com'>蔡叶子</a> <a href='http://www.shibian.net' target='_blank'>http://www.shibian.net</a>  版权所有 2001-2002</p>"
if yesto then thebottom=thebottom & "<p style='line-height: 140%; margin-left: 0; margin-top: 0; margin-bottom: 0;FONT-FAMILY:Arial;' align=center>授权给 <a href='" & mURL & "' target='_blank'>" & mName & "(" & mNameEn & ")</a> 使用   管理员: <a href='mailto:" & masterEmail & "'>" & masterName & " (" & masterEmail & ")</a></p>"
thebottom=thebottom & "<p style='line-height: 140%; margin-left: 0; margin-top: 0; margin-bottom: 0;FONT-FAMILY:Arial;' align=center>Cool Site Stat   Version 1.3-020522</p>"

Response.Write thebottom
%>
【注:与原来的代码我更改了E-mial、网址及名字】
■◆▲现高分征解:如果我把“inc_bottom.asp”更改为上面的代码,最上面那段验证代码应该如何修改呢?¥¥¥$$$
...全文
21 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
qiushuiwuhen 2002-11-22
  • 打赏
  • 举报
回复
必须有 "阿江" 和 "Ajiang" 字样,去掉那段验证就可以了
<script language=vbs>
document.write chr(-20318) & chr(-16979) & chr(65) & chr(106) & chr(105) & chr(97) & chr(110) & chr(103)
</script>

62,046

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

试试用AI创作助手写篇文章吧