MSSQL安全篇—,刪除MSSQL危險(xiǎn)存儲(chǔ)過程的代碼。
以管理員省份登陸SQL?SERVER,使用查詢分析器執(zhí)行下面的代碼即可:
drop PROCEDURE sp_makewebtask?
exec master..sp_dropextendedproc xp_cmdshell?
exec master..sp_dropextendedproc xp_dirtree?
exec master..sp_dropextendedproc xp_fileexist?
exec master..sp_dropextendedproc xp_terminate_process?
exec master..sp_dropextendedproc sp_oamethod?
exec master..sp_dropextendedproc sp_oacreate?
exec master..sp_dropextendedproc xp_regaddmultistring?
exec master..sp_dropextendedproc xp_regdeletekey?
exec master..sp_dropextendedproc xp_regdeletevalue?
exec master..sp_dropextendedproc xp_regenumkeys?
exec master..sp_dropextendedproc xp_regenumvalues?
exec master..sp_dropextendedproc xp_regread?
exec master..sp_dropextendedproc xp_regwrite?
exec master..sp_dropextendedproc xp_readwebtask?
exec master..sp_dropextendedproc xp_makewebtask?
exec master..sp_dropextendedproc xp_regremovemultistring
?
執(zhí)行完畢退出查詢分析器,現(xiàn)在這些危險(xiǎn)的存儲(chǔ)過程就不能使用了
這是一小段的技術(shù)解答,跟多請(qǐng)看idc知識(shí)庫(kù)。