Ê×ÏÈ£¬Òª¶ÔSQL SERVER´òºÃ×îÐµİ²È«²¹¶¡£¬½Ó׎«Óа²È«ÎÊÌâµÄSQL¹ý³Ìɾ³ý,²ÉÓÃÈçÏ·½·¨¡£
ɾ³ýÓа²È«Òþ»¼µÄÀ©Õ¹:
exec sp_dropextendedproc 'xp_cmdshell' [ɾ³ý´ËÏîÀ©Õ¹ºó,½«ÎÞ·¨Ô¶³ÌÁ¬½ÓÊý¾Ý¿â]
exec sp_dropextendedproc 'xp_dirtree' [ɾ³ý´ËÏîÀ©Õ¹ºó,½«ÎÞ·¨Ð½¨»ò¸½¼ÓÊý¾Ý¿â]
exec sp_dropextendedproc 'xp_enumgroups'
exec sp_dropextendedproc 'xp_fixeddrives'
exec sp_dropextendedproc 'xp_loginconfig'
exec sp_dropextendedproc 'xp_regaddmultistring'
exec sp_dropextendedproc 'xp_regdeletekey'
exec sp_dropextendedproc 'xp_regdeletevalue'
exec sp_dropextendedproc 'xp_regread'
exec sp_dropextendedproc 'xp_regremovemultistring'
exec sp_dropextendedproc 'xp_regwrite'
exec sp_dropextendedproc 'xp_enumerrorlogs'
exec sp_dropextendedproc 'xp_getfiledetails'
exec sp_dropextendedproc 'xp_regenumvalues'
»Ö¸´À©Õ¹
exec sp_addextendedproc 'xp_cmdshell', 'xplog70.dll'
exec sp_addextendedproc 'xp_dirtree', 'xpstar.dll'
exec sp_addextendedproc 'xp_enumgroups', 'xplog70.dll'
exec sp_addextendedproc 'xp_fixeddrives', 'xpstar.dll'
exec sp_addextendedproc 'xp_loginconfig', 'xplog70.dll'
exec sp_addextendedproc 'xp_regaddmultistring', 'xpstar.dll'
exec sp_addextendedproc 'xp_regdeletekey', 'xpstar.dll'
exec sp_addextendedproc 'xp_regdeletevalue', 'xpstar.dll'
exec sp_addextendedproc 'xp_regread', 'xpstar.dll'
exec sp_addextendedproc 'xp_regremovemultistring', 'xpstar.dll'
exec sp_addextendedproc 'xp_regwrite', 'xpstar.dll'
exec sp_addextendedproc 'xp_enumerrorlogs', 'xpstar.dll'
exec sp_addextendedproc 'xp_getfiledetails', 'xpstar.dll'
exec sp_addextendedproc 'xp_regenumvalues', 'xpstar.dll'
È«²¿¸´ÖƵ½"SQL²éѯ·ÖÎöÆ÷"
µã»÷²Ëµ¥ÉϵÄ--"²éѯ"--"Ö´ÐÐ"£¬¾Í»á½«Óа²È«ÎÊÌâµÄSQL¹ý³Ìɾ³ý
¸ü¸ÄĬÈÏSA¿ÕÃÜÂë.Êý¾Ý¿âÁ´½Ó²»ÒªÊ¹ÓÃSAÕÊ»§.µ¥Êý¾Ý¿âµ¥¶ÀÉèʹÓÃÕÊ»§.Ö»¸øpublicºÍdb_ownerȨÏÞ.
Êý¾Ý¿â²»Òª·ÅÔÚĬÈϵÄλÖÃ.
SQL²»Òª°²×°ÔÚPROGRAM FILEĿ¼ÏÂÃæ.
ÒÔ Éϸ÷ÏîÈ«ÔÚÎÒÃÇ·âɱ֮ÁУ¬ÀýÈçxp_cmdshellÆÁ±ÎµÄ·½·¨Îª£ºsp_dropextendedproc 'xp_cmdshell'£¬Èç¹ûÐèÒª
µÄ»°£¬ÔÙÓÃsp_addextendedproc 'xp_cmdshell', 'xpsql70.dll'½øÐлָ´¡£Èç¹ûÄã²»ÖªµÀxp_cmdshellʹÓõÄÊÇ
Äĸö.dllÎļþµÄ»°£¬¿ÉÒÔʹÓà sp_helpextendedproc xp_cmdshellÀ´²é¿´xp_cmdshellʹÓõÄÊÇÄĸö¶¯Ì¬Áª½Ó¿â¡£
ÁíÍ⣬½«xp_cmdshellÆÁ±Îºó£¬ÎÒÃÇ»¹ÐèÒª×öµÄ²½ÖèÊǽ« xpsql70.dllÎļþ½øÐиÄÃû£¬ÒÔ·ÀÖ¹»ñµÃSAµÄ¹¥»÷Õß½«Ëü
½øÐлָ´¡£
È»ºó£¬»¹¿ÉÒÔ¶ÔSQL SERVERϵͳ·þÎñ×ö¶ÀÁ¢Õ˺ÅÆô¶¯£¬ËõСȨÏÞ¡£¾ßÌåµÄ²Ù×÷·½·¨ÊÇ£ºÐ½¨¸ö¶ÀÁ¢Óû§²¢ÉèÖúÃ
ÃÜÂëÈ¥µôÓû§µÄËùÊô×飬¸øSQL Server°²×°Ä¿Â¼ºÍÊý¾Ý¿âÎļþĿ¼¶¼¼ÓÉϸÃÓû§ÍêÈ«¿ØÖÆȨÏÞ£¬´ò¿ªÏµÍ³...·þÎñ
...SQL Server·þÎñ...µÇ¼...´ËÕË»§...ÊäÈëÕ˺źÍÃÜÂë...Ó¦ÓÃ...È·¶¨...ÓÒ»÷ÖØÆô·þÎñ¡£×îºó£¬³ýÁËÉÏÃæÁ½ÖֱȽÏÓÐЧµÄ·½·¨Ö®Í⣬Äã¿ÉÒÔͨ¹ýÐÞ¸ÄSQL ServerµÄ1433¶Ë¿Ú£¬À´±ÜÃâÈ˼ҶÔ1433¶Ë¿Ú¹¥»÷£¬»¹ÓгÌÐòÉϵĹýÂË¿ØÖÆÒ²¿ÉÒÔÌá¸ßSQL ServerµÄ°²È«ÐÔ¡£ÒÔÉϵķ½·¨¾ÍÊÇ´ÓºÚ¿Í·ÀÏßÍø°²Êý¾Ýά»¤»ùµØµÄÊÛºó·þÎñվѧϰµ½µÄwww.rongsen.com.cn,ÓÐÏë×öIDCÕâ¿éµÄÅóÓÑ¿ÉÒÔ¿¼ÂÇʹÓøÃϵͳ£¡