1\u3001\u5fae\u4fe1\u81ea\u52a8\u56de\u590d\u6d88\u606f<\/strong><\/div>\n\u5fae\u4fe1\uff0c\u4f5c\u4e3a\u65e5\u524d\u6700\u70ed\u6700\u706b\u7684\u793e\u4ea4\u8f6f\u4ef6\uff0c\u5e94\u8be5\u662f\u5bb6\u55bb\u6237\u6653\u7684\u4e86\uff0c\u5e74\u8f7b\u4eba\uff0c\u8001\u4eba\u751a\u81f3\u5c0f\u5b69\u90fd\u5728\u7528\u624b\u673a\u73a9\u5fae\u4fe1\uff0c\u5bf9\u4e8e\u4e0a\u73ed\u65cf\u6765\u8bf4\u7528\u7684\u6700\u591a\u7684\u53ef\u80fd\u662f\u5fae\u4fe1\u7535\u8111\u7248\uff0c\u6211\u4eec\u6bcf\u5929\u90fd\u5728\u624b\u5de5\u8f93\u5165\u53d1\u9001\u6216\u8005\u56de\u590d\u5404\u7c7b\u5fae\u4fe1\u6d88\u606f\uff0c\u96be\u514d\u4f1a\u9047\u5230\u4e00\u4e9b\u60c5\u51b5\u6211\u4eec\u9700\u8981\u7535\u8111\u81ea\u52a8\u5e2e\u6211\u4eec\u5411\u6307\u5b9a\u4eba\u53d1\u9001\u6d88\u606f\uff0c\u800c\u5229\u7528windows\u4e2d\u7684vbs\u7684\u811a\u672c\u6211\u4eec\u5c31\u53ef\u4ee5\u5b9e\u73b0\uff0c\u6211\u4eec\u9996\u5148\u4e86\u89e3\u4e00\u4e0bvbs\u3002<\/p>\n
vbs\uff0c\u5168\u79f0Microsoft Visual Basic Script Edition\uff0c\u662f\u5fae\u8f6f\u5f00\u53d1\u7684\u4e00\u4e2a\u57fa\u4e8eVisual Basic\u7684\u811a\u672c\u8bed\u8a00\uff0c\u53ef\u4ee5\u5728windows\u4e0a\u76f4\u63a5\u6253\u5f00\u3002<\/p>\n
\u5728vbs\u4e2d\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7sendkeys\u8f7b\u677e\u7684\u6a21\u62df\u53d1\u9001\u5404\u7c7b\u6309\u952e\u548c\u6587\u5b57\uff0c\u4f46\u662f\u76f4\u63a5\u53d1\u9001\u4e2d\u6587\u5b57\u7b26\u4f1a\u4e71\u7801\uff0c\u6240\u4ee5\u6211\u4eec\u9700\u8981\u5148\u5c06\u5f85\u53d1\u9001\u7684\u4e2d\u6587\u5b57\u7b26\u653e\u5165\u526a\u5207\u677f\u7136\u540e\u518d\u4ece\u526a\u5207\u677f\u53d6\u51fa\u5185\u5bb9\u53d1\u9001\uff0c\u5728cmd\u4e2d\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u7ba1\u9053\u8fde\u63a5echo\u548cclip.exe\u6765\u5c06\u5185\u5bb9\u653e\u5165\u526a\u5207\u677f\uff0c<\/p>\n
echo \u6d4b\u8bd5 | clip.exe\r\n\u5728cmd\u547d\u4ee4\u884c\u7a97\u53e3\u4e2d\u8f93\u5165\u4ee5\u4e0a\u547d\u4ee4\uff0c\u4f60\u4f1a\u53d1\u73b0\u201c\u6d4b\u8bd5\u201d\u8fd9\u4e24\u4e2a\u5b57\u7b26\u88ab\u653e\u5165\u4e86\u526a\u5207\u677f\uff0c\u5728vbs\u4e2d\u6211\u4eec\u53ea\u9700\u8981\u8c03\u7528\u8fd9\u4e2a\u547d\u4ee4\u5c31\u53ef\u4ee5\u5b9e\u73b0\u5c06\u5185\u5bb9\u653e\u5230\u526a\u5207\u677f\u7684\u64cd\u4f5c\r\nws.Run \"cmd.exe \/c echo \u6d4b\u8bd5 | clip.exe\", 0, True\r\n\u73b0\u5728\u6211\u4eec\u6e05\u695a\u5982\u679c\u53d1\u9001\u6d88\u606f\uff0c\u4e5f\u77e5\u9053\u5982\u4f55\u53d1\u9001\u4e2d\u6587\u4e86\uff0c\u4f46\u662f\u8981\u5411\u5fae\u4fe1\u53d1\u9001\u6d88\u606f\u6211\u4eec\u8fd8\u9700\u8981\u77e5\u9053\u600e\u4e48\u5728\u4efb\u610f\u754c\u9762\u4e0b\u5524\u9192\u5fae\u4fe1\uff0c\u4e00\u822c\u7684\u5e94\u7528\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7appActivate\u6765\u6fc0\u6d3b\u7a97\u53e3\uff0c\u5f53\u7136\u6211\u4eec\u4e5f\u53ef\u4ee5\u901a\u8fc7\u5feb\u6377\u952e\u6765\u5524\u9192\u67d0\u4e2a\u8f6f\u4ef6\u6216\u6267\u884c\u7279\u5b9a\u7684\u64cd\u4f5c\uff0c\u6bd4\u5982\u5728\u5fae\u4fe1\u4e2d\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7Ctrl+Alt+W\u6765\u5524\u9192\u5fae\u4fe1\uff0c\u7528Ctrl+F\u6765\u5524\u9192\u67e5\u627e\u597d\u53cb\u529f\u80fd\u3002<\/pre>\n\u901a\u8fc7\u5feb\u6377\u952e\u5524\u9192\u5fae\u4fe1\u65b9\u5f0f\u53d1\u9001\u6d88\u606f\u6700\u7ec8\u7684\u4ee3\u7801\uff1a<\/p>\n
Dim name,Msg,num '\u5b9a\u4e49\u53d8\u91cf\u5e76\u5206\u914d\u5185\u5b58 \r\n 'Inputbox()\u51fd\u6570\u8fdb\u884c\u8f93\u5165 \r\nname=Inputbox(\"\u8bf7\u8f93\u5165\u4f60\u8981\u7ed9\u8c01\u53d1\u9001\u6d88\u606f\")\r\nMsg=Inputbox(\"\u8bf7\u8f93\u5165\u4f60\u53d1\u9001\u6d88\u606f\u7684\u5185\u5bb9\")\r\nnum=Inputbox(\"\u8bf7\u8f93\u5165\u91cd\u590d\u53d1\u9001\u591a\u5c11\u6b21\u6d88\u606f\")\r\nset ws=wscript.createobject(\"wscript.shell\")'\u521b\u5efaWindows\u7684shell\u5bf9\u8c61\u6253\u5f00shell\u7a97\u53e3\r\n'\u5728Windows\u7684shell\u7a97\u53e3\u6267\u884ccmd.exe \/c echo \" & Name & \" | clip.exe\"\u5c06name\u590d\u5236\u5230\u526a\u5207\u677f\u4e2d\r\nws.Run \"cmd.exe \/c echo \" & Name & \" | clip.exe\",0,True\r\nws.Run \"mshta javascript:window.execScript('window.close','vbs')\",0,True\r\nws.sendKeys \"^%w\" '\u901a\u8fc7Ctrl+Alt+W\u5feb\u6377\u952e\u6253\u5f00\u5fae\u4fe1\r\nwscript.sleep 500\r\nws.sendKeys \"^f\" '\u6267\u884cctrl + F\u5feb\u6377\u952e\u5728\u5fae\u4fe1\u7a97\u53e3\u5524\u9192\u641c\u7d22\u529f\u80fd\r\nwscript.sleep 500\r\nws.sendKeys \"^v\" '\u7c98\u8d34\u8981\u641c\u7d22\u7684name\r\nwscript.sleep 500\r\nws.sendKeys \"{ENTER}\" '\u6309\u952e\u76d8\u7684enter\u952e\uff0c\u8fdb\u5165\u8981\u53d1\u9001\u6d88\u606f\u7684name\u8054\u7cfb\u4eba\u7a97\u53e3\r\nwscript.sleep 500\r\n'\u5728Windows\u7684shell\u7a97\u53e3\u6267\u884ccmd.exe \/c echo \" & Name & \" | clip.exe\"\u5c06\u53d1\u9001\u7684\u6d88\u606f\u5185\u5bb9\u590d\u5236\u5230\u526a\u5207\u677f\u4e2d\r\nws.Run \"cmd.exe \/c echo \" & Msg & \" | clip.exe\",0,True \r\nwscript.sleep 500\r\nfor i=1 to num '\u5faa\u73af\u53d1\u9001num\u6b21\r\nws.sendKeys \"^v\" '\u7c98\u8d34\u8981\u53d1\u9001\u7684msg\u6d88\u606f\u5185\u5bb9\r\nwscript.sleep 500\r\nws.sendKeys \"{ENTER}\" '\u6309enter\u952e\u8fdb\u884c\u53d1\u9001\r\nnext<\/pre>\n\u901a\u8fc7\u6267\u884cWeChat.exe\u5524\u9192\u5fae\u4fe1\u65b9\u5f0f\u53d1\u9001\u6d88\u606f\u6700\u7ec8\u7684\u4ee3\u7801\uff1a<\/p>\n
dim program1,name,Msg '\u5b9a\u4e49\u53d8\u91cf\u5e76\u5206\u914d\u5185\u5b58\r\n'Inputbox()\u51fd\u6570\u8fdb\u884c\u8f93\u5165\r\nname=Inputbox(\"\u8bf7\u8f93\u5165\u4f60\u8981\u7ed9\u8c01\u53d1\u9001\u6d88\u606f\") \r\nMsg=Inputbox(\"\u8bf7\u8f93\u5165\u4f60\u53d1\u9001\u6d88\u606f\u7684\u5185\u5bb9\")\r\nnum=Inputbox(\"\u8bf7\u8f93\u5165\u91cd\u590d\u53d1\u9001\u591a\u5c11\u6b21\u6d88\u606f\")\r\n'program1\u8868\u793aWeChat.exe\u7684\u4f4d\u7f6e\r\n'program1=\"D:\\other-systems\\WeChat\\WeChat.exe\"\r\n'program1=\"D:\\other-systems\\QQ\\Bin\\QQ.exe\"\r\nprogram1=Inputbox(\"\u8bf7\u8f93\u5165WeChat.exe\u6216QQ.exe\u7684\u5b58\u50a8\u4f4d\u7f6e\")\r\nset wshshell=CreateObject(\"wscript.shell\") '\u521b\u5efaWindows\u7684shell\u5bf9\u8c61\u6253\u5f00shell\u7a97\u53e3\r\n'\u5728Windows\u7684shell\u7a97\u53e3\u6267\u884ccmd.exe \/c echo \" & Name & \" | clip.exe\"\u5c06name\u590d\u5236\u5230\u526a\u5207\u677f\u4e2d\r\nwshshell.Run \"cmd.exe \/c echo \" & Name & \" | clip.exe\",0,True\r\nwshshell.Run \"mshta javascript:window.execScript('window.close','vbs')\",0,True\r\n'\u901a\u8fc7\u7edd\u5bf9\u8def\u5f84\u7684\u65b9\u5f0f\u6253\u5f00\u5fae\u4fe1\u7a97\u53e3\r\nset oexec=wshshell.exec(program1)\r\nwscript.sleep 500 '\u505c\u7559500\u6beb\u79d2\r\nwshshell.sendKeys \"^f\" '\u6267\u884cctrl + F\u5feb\u6377\u952e\u5728\u5fae\u4fe1\u7a97\u53e3\u5524\u9192\u641c\u7d22\u529f\u80fd\r\nwscript.sleep 500 \r\nwshshell.sendKeys \"^v\" '\u7c98\u8d34\u8981\u641c\u7d22\u7684name\r\nwscript.sleep 500\r\nwshshell.sendKeys \"{ENTER}\" '\u6309\u952e\u76d8\u7684enter\u952e\uff0c\u8fdb\u5165\u8981\u53d1\u9001\u6d88\u606f\u7684name\u8054\u7cfb\u4eba\u7a97\u53e3\r\nwscript.sleep 500\r\n'\u5728Windows\u7684shell\u7a97\u53e3\u6267\u884ccmd.exe \/c echo \" & Name & \" | clip.exe\"\u5c06\u53d1\u9001\u7684\u6d88\u606f\u5185\u5bb9\u590d\u5236\u5230\u526a\u5207\u677f\u4e2d\r\nwshshell.Run \"cmd.exe \/c echo \" & Msg & \" | clip.exe\",0,True\r\nwscript.sleep 500\r\nfor i=1 to num '\u5faa\u73af\u53d1\u9001num\u6b21\r\nwshshell.sendKeys \"^v\" '\u7c98\u8d34\u8981\u53d1\u9001\u7684msg\u6d88\u606f\u5185\u5bb9\r\nwscript.sleep 500\r\nwshshell.sendKeys \"{ENTER}\" '\u6309enter\u952e\u8fdb\u884c\u53d1\u9001\r\nnext\r\nwscript.quit<\/pre>\n\u5f53\u7136\u9664\u4e86\u53ef\u4ee5\u7ed9\u5fae\u4fe1\u53d1\u9001\u6d88\u606f\uff0c\u4e5f\u53ef\u4ee5qq\u53d1\u9001\u6d88\u606f,\u57fa\u672c\u601d\u60f3\u5c31\u662f\u901a\u8fc7\u6309\u952e\u76d8\u7684\u5404\u79cd\u5feb\u6377\u952e\u5b9e\u73b0\u590d\u5236\u7c98\u8d34\u4ee5\u53ca\u641c\u7d22\u8054\u7cfb\u4eba\u7684\u529f\u80fd\uff0c\u901a\u8fc7\u6309enter\u952e\u8fdb\u884c\u53d1\u9001<\/p>\n
2\u3001vbs\u811a\u672c\u8fd0\u884c\u65b9\u5f0f<\/strong><\/div>\n\u5982\u679c\u4f60\u7684\u7535\u8111\u4e0a\u6ca1\u6709\u5b89\u88c5\u4efb\u4f55\u7f16\u8f91\u5668\u6ca1\u6709\u5173\u7cfb\uff0c\u7528\u7535\u8111\u81ea\u5e26\u7684\u8bb0\u4e8b\u672c\u5c31\u53ef\u4ee5\u7f16\u5199\u811a\u672c\uff0c\u53f3\u952e->\u65b0\u5efa->\u6587\u672c\u6587\u6863\uff0c\u5728\u65b0\u5efa\u7684\u6587\u672c\u6587\u6863\u91cc\u7f16\u5199vbs\u811a\u672c\uff0c\u5199\u5b8c\u4ee5\u540e\u91cd\u547d\u540d\uff0c\u5c06\u540e\u7f00\u6539\u4e3a.vbs,\u51fa\u73b0\u4ee5\u4e0b\u63d0\u793a\uff0c\u9009\u62e9\u662f\u3002<\/p>\n
<\/a><\/p>\n\u53cc\u51fb\u5c31\u53ef\u4ee5\u8fd0\u884cvbs\u811a\u672c\u5566\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"
\u6700\u8fd1\u5bf9\u7535\u8111\u6216\u624b\u673a\u81ea\u52a8\u8fdb\u884c\u67d0\u4e9b\u64cd\u4f5c\u5f88\u611f\u5174\u8da3\uff0c\u4e8e\u662f\u53bb\u770b\u4e86\u4e00\u4e0b\u6709\u5173\u624b\u673a\u7535\u8111\u5fae\u4fe1\u81ea\u52a8\u56de\u590d\u6d88\u606f\u76f8\u5173\u7684\u4e1c\u897f\uff0c\u53d1\u73b0\u5f88\u591a\u6076\u641e\u4ee3 […]<\/p>\n","protected":false},"author":1482,"featured_media":86734,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-244117","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/244117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1482"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=244117"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/244117\/revisions"}],"predecessor-version":[{"id":244120,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/244117\/revisions\/244120"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/86734"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=244117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=244117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=244117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}