{"id":403,"date":"2011-04-19T14:45:45","date_gmt":"2011-04-19T06:45:45","guid":{"rendered":"http:\/\/zduo.me\/blog\/?p=403"},"modified":"2011-04-19T14:45:45","modified_gmt":"2011-04-19T06:45:45","slug":"%e5%b7%a7%e5%a6%99%e8%ae%be%e7%bd%ae%e4%bd%bf%e7%94%b5%e9%a9%b4emule%e4%b8%8b%e8%bd%bd%e5%ae%8c%e6%88%90%e5%90%8e%e4%bd%bf%e7%94%b5%e8%84%91%e8%87%aa%e5%8a%a8%e5%85%b3%e6%9c%ba","status":"publish","type":"post","link":"http:\/\/zduo.me\/blog\/?p=403","title":{"rendered":"\u5de7\u5999\u8bbe\u7f6e\u4f7f\u7535\u9a74(emule)\u4e0b\u8f7d\u5b8c\u6210\u540e\u4f7f\u7535\u8111\u81ea\u52a8\u5173\u673a"},"content":{"rendered":"<p>\u5f15\u7528\u5730\u5740\uff1ahttp:\/\/blog.sina.com.cn\/s\/blog_400347eb0100djoz.html<\/p>\n<pre>\r\ndir=\"D:\\Program Files\\eMule\\Temp\"\r\nSet fso=CreateObject(\"Scripting.FileSystemObject\")\r\ncmd=\"shutdown -s -f -t 60\"\r\nSet ws=WScript.CreateObject(\"WScript.Shell\")\r\nWscript.Echo \"emule\u81ea\u52a8\u5173\u673a\u811a\u672c\u5df2\u8fd0\u884c\u2026\u2026\"\r\ncount=0\r\ndo until count<-1\r\nchksize = fso.GetFolder(dir).Size\r\nIf chksize=0 Then\r\nws.run cmd,0\r\nEnd If\r\nWScript.Sleep 120000\r\nloop \r\n<\/pre>\n<p>===========================================<br \/>\n\u5c06\u7b2c\u4e00\u884c\u5f15\u53f7\u5185\u7684\u8def\u5f84\u6539\u6210\u4f60\u81ea\u5df1\u7684emule\u4e34\u65f6\u6587\u4ef6\u76ee\u5f55\uff08\u4e5f\u5c31\u662fdir=\"D:\\Program Files\\eMule\\Temp\" ,\u5f15\u53f7\u7684\u8981\u770b\u4f60\u7535\u8111\u5177\u4f53\u7684\u5b89\u88c5\u4f4d\u7f6e)<br \/>\n\uff0c\u5c06\u4ee5\u4e0a\u4ee3\u7801\u4fdd\u5b58\u4e3a\u6587\u672c\u6587\u4ef6\uff0c\u5e76\u5c06\u540e\u7f00\u6539\u6210vbs\u8fd0\u884c\u5373\u53ef\u3002<br \/>\n\u6b64\u811a\u672c\u7684\u4f5c\u7528\u662f\u6bcf\u4e24\u5206\u949f\u68c0\u6d4b\u4e00\u6b21temp\u6587\u4ef6\u5939\uff0c\u82e5emule\u4e0b\u8f7d\u5b8c\u6210\uff0c\u5219temp\u4e3a\u7a7a\uff0c\u811a\u672c\u6267\u884c\u5173\u673a\u547d\u4ee4\u5012\u8ba1\u65f660\u79d2\u5173\u673a\u3002<\/p>\n<p>\u6b64\u5916\u4e5f\u53ef\u4ee5\u53c2\u8003\uff1a<br \/>\n\u7528shutdown\u547d\u4ee4\u8bbe\u7f6e\u5173\u673a\u65f6\u95f4\u81ea\u52a8\u5173\u95ed\u8ba1\u7b97\u673a\u5c31\u884c\u4e86\u3002<\/p>\n<p>\u9644shutdown \u7684\u4e00\u4e9b\u547d\u4ee4\u53c2\u6570\uff01<\/p>\n<p>shutdown.exe -a \u53d6\u6d88\u5173\u673a<\/p>\n<p>shutdown.exe -f \u5f3a\u884c\u5173\u95ed\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<p>shutdown.exe -m \\\u8ba1\u7b97\u673a\u540d \u63a7\u5236\u8fdc\u7a0b\u8ba1\u7b97\u673a\u3002<\/p>\n<p>shutdown.exe -i \u663e\u793a\u56fe\u5f62\u7528\u6237\u754c\u9762\uff0c\u4f46\u5fc5\u987b\u662fShutdown\u7684\u7b2c\u4e00\u4e2a\u53c2\u6570\u3002<\/p>\n<p>shutdown.exe -l \u6ce8\u9500\u5f53\u524d\u7528\u6237\u3002<\/p>\n<p>shutdown.exe -r \u5173\u673a\u5e76\u91cd\u542f\u3002<\/p>\n<p>shutdown.exe -t\u65f6\u95f4 \u8bbe\u7f6e\u5173\u673a\u5012\u8ba1\u65f6\u3002<\/p>\n<p>shutdown.exe -c\"\u6d88\u606f\u5185\u5bb9\" \u8f93\u5165\u5173\u673a\u5bf9\u8bdd\u6846\u4e2d\u7684\u6d88\u606f\u5185\u5bb9(\u4e0d\u80fd\u8d85127\u4e2a\u5b57\u7b26)\u3002<\/p>\n<p>\u6bd4\u5982\u4f60\u7684\u7535\u8111\u8981\u572823:00\u5173\u673a\uff0c\u53ef\u4ee5\u9009\u62e9\u201c\u5f00\u59cb\u2192\u8fd0\u884c\u201d\uff0c\u8f93\u5165\u201cat 23:00 Shutdown -s\u201d\uff0c\u8fd9\u6837\uff0c\u5230\u4e8623\u70b9\uff0c\u7535\u8111\u5c31\u4f1a\u51fa\u73b0\u201c\u7cfb\u7edf\u5173\u673a\u201d\u5bf9\u8bdd\u6846\uff0c\u9ed8\u8ba4\u670930\u79d2\u949f\u7684\u5012\u8ba1\u65f6\u5e76\u63d0\u793a\u4f60\u4fdd\u5b58\u5de5\u4f5c\u3002\u5982\u679c\u4f60\u60f3\u4ee5\u5012\u8ba1\u65f6\u7684\u65b9\u5f0f\u5173\u673a\uff0c\u53ef\u4ee5\u8f93\u5165 \u201cShutdown.exe -s -t 3600\u201d\uff0c\u8fd9\u91cc\u8868\u793a60\u5206\u949f\u540e\u81ea\u52a8\u5173\u673a\uff0c\u201c3600\u201d\u4ee3\u886860\u5206\u949f\u3002<\/p>\n<p>\u5982\u679c\u60f3\u53d6\u6d88\u7684\u8bdd\uff0c\u53ef\u4ee5\u5728\u8fd0\u884c\u4e2d\u8f93\u5165\u201cshutdown -a\u201d\u3002\u53e6\u5916\u8f93\u5165\u201cshutdown -i\u201d\uff0c\u5219\u53ef\u4ee5\u6253\u5f00\u8bbe\u7f6e\u81ea\u52a8\u5173\u673a\u5bf9\u8bdd\u6846\uff0c\u5bf9\u81ea\u52a8\u5173\u673a\u8fdb\u884c\u8bbe\u7f6e\u3002<\/p>\n<p>\u867d\u7136shutdown.exe\u662fWindows XP\u4e0b\u7684\u7a0b\u5e8f\uff0c\u5728Windows2000\u4e2d\u662f\u8c03\u7528Windows\u4e0bSystem\u4e2d\u7684Shell32.dll\u6587\u4ef6\u6765\u5b9e\u73b0\u5173\u673a\u7684\uff0c\u4f8b\u5982 \u201cindir\\RunDLL32.exe indir\\System\\Shell32.dll\uff0cSHExitWindowsEx 8\u201d\uff0c\u4f46\u5728Win2000\u4e5f\u53ef\u5229\u7528\u5b83\uff0c\u65b9\u6cd5\u5982\u4e0b\uff1a<\/p>\n<p>\u5728WinXP\u5b89\u88c5\u76ee\u5f55\u4e0b\u7684System32\u6587\u4ef6\u5939\u4e2d\u627e\u5230Shutdown.exe\uff0c\u5c06\u5b83\u590d\u5236\u5230Win2000\u5b89\u88c5\u76ee\u5f55\u4e0b\u7684System32\u6587\u4ef6\u5939\u4e2d\uff0c\u5728\u201c\u8fd0\u884c\u201d\u4e2d\u8f93\u5165\u201cShutdown.exe\u201d\uff0c\u5373\u53ef\u50cf\u5728Windows XP\u4e2d\u4e00\u6837\u4f7f\u7528\u8be5\u7a0b\u5e8f\u4e86\u3002<\/p>\n<p>\u5f53\u7136\uff0cshutdown.exe\u8fd8\u6709\u4e00\u4e9b\u5f3a\u5927\u7684\u529f\u80fd\uff0c\u4f60\u53ef\u4ee5\u8fdb\u4e00\u6b65\u5b9e\u8df5\u63a2\u8ba8\uff0c\u5145\u5206\u5229\u7528 shutdown.exe \u7684\u5f3a\u5927\u529f\u80fd\u3002<br \/>\nPS:\u4e0a\u8ff0\u65b9\u6cd5\u5bf9Vista\u4e00\u6837\u7ba1\u7528!1 <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f15\u7528\u5730\u5740\uff1ahttp:\/\/blog.sina.com.cn\/s\/blog_400347eb0100djoz.html dir=&#8221;D:\\Program Files\\eMule\\Temp&#8221; Set fso=CreateObject(&#8220;Scripting.FileSystemObject&#8221;) cmd=&#8221;shutdown -s -f -t 60&#8243; Set ws=WScript.CreateObject(&#8220;WScript.Shell&#8221;) Wscript.Echo &#8220;emule\u81ea\u52a8\u5173\u673a\u811a\u672c\u5df2\u8fd0\u884c\u2026\u2026&#8221; count=0 do until count<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[42,64],"tags":[66,65,67],"_links":{"self":[{"href":"http:\/\/zduo.me\/blog\/index.php?rest_route=\/wp\/v2\/posts\/403"}],"collection":[{"href":"http:\/\/zduo.me\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/zduo.me\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/zduo.me\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/zduo.me\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=403"}],"version-history":[{"count":2,"href":"http:\/\/zduo.me\/blog\/index.php?rest_route=\/wp\/v2\/posts\/403\/revisions"}],"predecessor-version":[{"id":405,"href":"http:\/\/zduo.me\/blog\/index.php?rest_route=\/wp\/v2\/posts\/403\/revisions\/405"}],"wp:attachment":[{"href":"http:\/\/zduo.me\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=403"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/zduo.me\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=403"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/zduo.me\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=403"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}