MSSQL EXEC XP_CMDSHELL

hsj0511·2019년 7월 9일
0

MSSQL

목록 보기
6/6

MSSQL

-- 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

EXEC XP_CMDSHELL 'notepad.exe '

0개의 댓글