{"id":669,"date":"2011-01-28T09:44:18","date_gmt":"2011-01-28T01:44:18","guid":{"rendered":""},"modified":"2014-03-11T22:36:23","modified_gmt":"2014-03-11T14:36:23","slug":"mssql%e5%ad%98%e5%82%a8%e8%bf%87%e7%a8%8b%e5%88%a0%e9%99%a4%e4%b8%8e%e6%81%a2%e5%a4%8d%e9%94%99%e8%af%af2812","status":"publish","type":"post","link":"http:\/\/www.xiaoyebailong.com\/index.php\/2011\/01\/28\/669.htm","title":{"rendered":"mssql\u5b58\u50a8\u8fc7\u7a0b\u5220\u9664\u4e0e\u6062\u590d\u9519\u8bef2812"},"content":{"rendered":"<p>mssql\u5b58\u50a8\u8fc7\u7a0b\u5220\u9664\u4e0e\u6062\u590d\u9519\u8bef2812: \u672a\u80fd\u627e\u5230\u5b58\u50a8\u8fc7\u7a0bmaster.<\/p>\n<p>\u51fa\u73b0\u8fd9\u4e2a\u539f\u56e0\u6709\u53ef\u80fd\u662f\u56e0\u4e3a\uff1a<\/p>\n<p>\n&nbsp;<\/p>\n<p>\u7528HZHOST\u5b9e\u7528\u5de5\u5177\u96c6\u7684\u670d\u52a1\u5668\u5b89\u5168\u8bbe\u7f6e\u91cc\u5b89\u88c5\u4e86MSSQL\u5b89\u5168\u914d\u7f6e\uff0c\u73b0\u5728SQL2000\u8fd8\u539f\u4e0d\u4e86\u6570\u636e\u5e93\u4e86\uff0c\u4ece\u8fd8\u539f\u9009\u5b9a\u8bbe\u5907\u6d4f\u89c8\u6587\u4ef6\u5939\u65f6\u51fa\u73b0&quot;\u9519\u8bef2812:\u672a\u80fd\u627e\u5230\u5b58\u50a8\u8fc7\u7a0b&#8217;master.dbo.xp_dirtree&#8217;&quot;, \u8fd9\u6b65\u53ef\u4ee5\u4e86.\u9009\u62e9\u5177\u4f53\u7684\u8fd8\u539f\u6587\u4ef6\u662f.\u51fa\u73b0&quot;\u9519\u8bef2812:\u672a\u80fd\u627e\u5230\u5b58\u50a8\u8fc7\u7a0b&#8217;master.dbo.xp_fileexist&#8217;&quot;,<\/p>\n<p>\n&nbsp;<\/p>\n<p>\u5206\u6790\u539f\u56e0:\u901a\u8fc7\u5b89\u5168\u5de5\u5177,\u4e3a\u4e86\u6570\u636e\u5e93\u5b89\u5168,\u628a\u4e00\u4e9b\u4e0d\u5e38\u7528\u7684\u5b58\u50a8\u8fc7\u7a0b\u7ed9\u5220\u9664\u4e86\u3002<\/p>\n<p>\n&nbsp;<\/p>\n<p>\u901a\u8fc7\u641c\u7d22\u67e5\u8be2\u5230\u4e0b\u9762\u7684\u89e3\u51b3\u65b9\u6cd5<\/p>\n<p>\n&nbsp;<\/p>\n<p>\n\u89e3\u51b3\u65b9\u6cd5\uff1a1\u3001<br \/>\n\u628a\u6062\u590d\u6570\u636e\u5e93\u9700\u8981\u7528\u5230\u7684\u5b58\u50a8\u8fc7\u7a0b\u4e2a\u6062\u590d,\u6253\u5f00MSSQL\u67e5\u8be2\u5206\u6790\u5668,\u5206\u522b\u8fd0\u884c\u4e0b\u9762\u7684\u4e24\u6761\u6570\u636e\u5e93\u8bed\u53e5\u5373\u53ef.<br \/>\nEXEC sp_addextendedproc xp_dirtree ,@dllname =&#8217;xpstar.dll&#8217;<br \/>\nEXEC sp_addextendedproc xp_fileexist ,@dllname =&#8217;xpstar.dll&#8217;<\/p>\n<p>\n&nbsp;<\/p>\n<p>\u89e3\u51b3\u65b9\u6cd5\uff1a2\u3001 \u91cd\u88c5ms sql\uff0c\u5e9f\u8bdd\u4e86\uff0c\u4f30\u8ba1\u4f1a\u6328\u9e21\u86cb~~~~~~<\/p>\n<p>\n&nbsp;<\/p>\n<p>\u5220\u9664MSSQL\u5371\u9669\u5b58\u50a8\u8fc7\u7a0b\u7684\u4ee3\u7801<br \/>\n\u6765\u6e90\u4e8e\u7f51\u7edc<br \/>\ndrop PROCEDURE sp_makewebtask<br \/>\nexec master..sp_dropextendedproc xp_cmdshell<br \/>\nexec master..sp_dropextendedproc xp_dirtree<br \/>\nexec master..sp_dropextendedproc xp_fileexist<br \/>\nexec master..sp_dropextendedproc xp_terminate_process<br \/>\nexec master..sp_dropextendedproc sp_oamethod<br \/>\nexec master..sp_dropextendedproc sp_oacreate<br \/>\nexec master..sp_dropextendedproc xp_regaddmultistring<br \/>\nexec master..sp_dropextendedproc xp_regdeletekey<br \/>\nexec master..sp_dropextendedproc xp_regdeletevalue<br \/>\nexec master..sp_dropextendedproc xp_regenumkeys<br \/>\nexec master..sp_dropextendedproc xp_regenumvalues<br \/>\nexec master..sp_dropextendedproc sp_add_job<br \/>\nexec master..sp_dropextendedproc sp_addtask<br \/>\nexec master..sp_dropextendedproc xp_regread<br \/>\nexec master..sp_dropextendedproc xp_regwrite<br \/>\nexec master..sp_dropextendedproc xp_readwebtask<br \/>\nexec master..sp_dropextendedproc xp_makewebtask<br \/>\nexec master..sp_dropextendedproc xp_regremovemultistring<br \/>\n\u5728\u67e5\u8be2\u5206\u6790\u5668\u91cc\u6267\u884c\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>mssql\u5b58\u50a8\u8fc7\u7a0b\u5220\u9664\u4e0e\u6062\u590d\u9519\u8bef2812: \u672a\u80fd\u627e\u5230\u5b58\u50a8\u8fc7\u7a0bmaster. \u51fa\u73b0\u8fd9\u4e2a\u539f\u56e0\u6709\u53ef\u80fd\u662f\u56e0\u4e3a\uff1a &nbsp; \u7528HZHOST\u5b9e\u7528\u5de5\u5177\u96c6\u7684\u670d\u52a1\u5668\u5b89\u5168\u8bbe\u7f6e\u91cc\u5b89\u88c5\u4e86MSSQL\u5b89\u5168\u914d\u7f6e\uff0c\u73b0\u5728SQL2000\u8fd8\u539f\u4e0d\u4e86\u6570\u636e\u5e93\u4e86\uff0c\u4ece\u8fd8\u539f\u9009\u5b9a\u8bbe\u5907\u6d4f\u89c8&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"topic":[],"class_list":["post-669","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/669","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/comments?post=669"}],"version-history":[{"count":1,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/669\/revisions"}],"predecessor-version":[{"id":66535,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/669\/revisions\/66535"}],"wp:attachment":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/media?parent=669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/categories?post=669"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/tags?post=669"},{"taxonomy":"topic","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/topic?post=669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}