Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c44d6d commit 35fa214Copy full SHA for 35fa214
1 file changed
lib/takeover/xp_cmdshell.py
@@ -62,9 +62,10 @@ def __xpCmdshellConfigure2005(self, mode):
62
63
cmd = "EXEC master..sp_configure 'show advanced options', 1; "
64
cmd += "RECONFIGURE WITH OVERRIDE; "
65
- cmd += "EXEC master..sp_configure 'xp_cmdshell', %d " % mode
+ cmd += "EXEC master..sp_configure 'xp_cmdshell', %d; " % mode
66
+ cmd += "RECONFIGURE WITH OVERRIDE; "
67
+ cmd += "EXEC sp_configure 'show advanced options', 0; "
68
- cmd += "EXEC sp_configure 'show advanced options', 0"
69
70
return cmd
71
0 commit comments