Monday, January 26, 2015

Backdoor to SQL Database


On a Monday when I am suffering from a sever bout of Garfield's Syndrome, I delete my own admin account which has been assigned sysadmin access to my SQL databases for my reporting server.

Shit! Does it mean I cannot access to the databases any more.
Then i thought of a backdoor method to access the database using the system account.

In order to do this, you will need to have a copy of the psexec which can be downloaded from here. Place this on the server and then in a command prompt execute this command:psexec -i -s SSMS.exe.

Once you are in, you will be able to very much do whatever you like :)

No comments:

Post a Comment