{"id":99614,"date":"2020-04-17T05:14:36","date_gmt":"2020-04-16T21:14:36","guid":{"rendered":"http:\/\/4563.org\/?p=99614"},"modified":"2020-04-17T05:14:36","modified_gmt":"2020-04-16T21:14:36","slug":"%e8%af%b7%e6%95%99%e4%b8%80%e4%b8%8b%ef%bc%8c-node-%e4%b8%8b-socks-%e4%bb%a3%e7%90%86%e5%8a%a0%e5%af%86%e7%9a%84%e5%ae%9e%e7%8e%b0%e6%80%9d%e8%b7%af","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=99614","title":{"rendered":"\u8bf7\u6559\u4e00\u4e0b\uff0c node \u4e0b socks \u4ee3\u7406\u52a0\u5bc6\u7684\u5b9e\u73b0\u601d\u8def"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u8bf7\u6559\u4e00\u4e0b\uff0c node \u4e0b socks \u4ee3\u7406\u52a0\u5bc6\u7684\u5b9e\u73b0\u601d\u8def               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : kuanng <\/span>  <span><i><\/i> 65<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u5df2\u7ecf\u5b9e\u73b0\u4e86\u660e\u6587 socks \u4ee3\u7406\u901a\u4fe1\u7684\u4ee3\u7801\u4e86<\/p>\n<p>\u63a5\u4e0b\u6765\u7684\u52a0\u5bc6\u5904\u7406\u7684\u601d\u8def\u662f\u600e\u4e48\u6837\u7684\u5462\uff1f<\/p>\n<p>\u662f\u5728\u5ba2\u6237\u7aef\u7528 crypto \u5c06 buffer \u6570\u636e\u52a0\u5bc6<\/p>\n<p>\u7136\u540e\u5728\u670d\u52a1\u5668\u7aef\u89e3\u5bc6\u7684\u601d\u8def\u4e48\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>7<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"754500\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : optional <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u91cd\u65b0\u53d1\u660e ss?                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"754501\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : kuanng <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @optional \u52a0\u5bc6\u662f\u505a\u7740\u73a9\u7684\uff0c\u4e0d\u5fc5\u8ba4\u771f\u256e(\u256f\u25bd\u2570)\u256d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"754502\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : different <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53d1\u9001\u4e00\u4e2a buffer \u52a0\u5bc6\u4e00\u4e2a buffer,\u7136\u540e\u670d\u52a1\u7aef\u6536\u5230\u4e00\u4e2a\uff0c\u89e3\u5bc6\u4e00\u4e2a\u3002<br \/>\u8fd9\u4e2a\u903b\u8f91\u6709\u5565\u95ee\u9898\u5417\uff1f<br \/>\u8fd8\u662f\u4f60\u4e00\u6b21\u6027\u52a0\u5bc6\u4e86\u4e4b\u540e\uff0c\u7136\u540e\u518d\u62c6\u6210\u591a\u4e2a buffer \u53d1\u9001\uff1f<br \/>\u6216\u8005\u4f60\u662f\u60f3\u95ee\uff0c\u975e\u5bf9\u79f0\u5f97\u5bc6\u5319\u8981\u4e0d\u8981\u653e\u5728 buffer \u53d1\u9001\uff1f<br \/>\u8fd8\u662f\u5565\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"754503\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ophark <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8d70 wss \u662f\u5426\u53ef\u4ee5\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"754504\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : kuanng <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @different<br \/>\u6309\u7167\u300a\u53d1\u9001\u4e00\u4e2a buffer \u52a0\u5bc6\u4e00\u4e2a buffer,\u7136\u540e\u670d\u52a1\u7aef\u6536\u5230\u4e00\u4e2a\uff0c\u89e3\u5bc6\u4e00\u4e2a\u300b\u7684\u903b\u8f91\u5199\u597d\u4e86\u4ee3\u7801\u3002<br \/>\u4f46\u662f\u5728\u706b\u72d0\u603b\u662f\u63d0\u793a\uff1a \u5efa\u7acb\u5b89\u5168\u8fde\u63a5\u5931\u8d25<br \/>\u5982\u679c\u53bb\u6389\u52a0\u5bc6\u7684\u4ee3\u7801\uff0c\u662f\u53ef\u4ee5\u6b63\u5e38\u4ee3\u7406\u7684<br \/>\u8fd9\u5927\u6982\u662f\u4ec0\u4e48\u539f\u56e0\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"754505\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : kuanng <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @different \u4e0b\u9762\u662f\u52a0\u5bc6\u548c\u89e3\u5bc6\u7684\u4ee3\u7801<br \/>let algorithm = &#8216;des-cfb&#8217;<br \/>let key = &#8216;12345678&#8217;<br \/>let iv = &#8216;12345678&#8217;<br \/>function en(buffer) {<br \/> let cipher = crypto.createCipheriv(algorithm, key, iv)<br \/> return cipher.update(buffer)<br \/>}<br \/>function de(buffer) {<br \/> let decipher = crypto.createDecipheriv(algorithm, key, iv)<br \/> return decipher.update(buffer)<br \/>}                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"754506\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : different <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @kuanng \u4f60\u53ef\u4ee5\u628a\u6536\u5230\u7684 buffer \u89e3\u5bc6\u4e4b\u540e\u8f93\u51fa\u6765\u770b\u770b\uff1f\u4e0e\u4f60\u53d1\u9001\u7684\u662f\u5426\u4e00\u81f4\uff1f<br \/>\u8fd9\u4e2a\u52a0\u5bc6\u7b97\u6cd5\u6211\u4e5f\u4e0d\u662f\u5f88\u4e86\u89e3\uff0c\u6211\u4e4b\u524d\u9047\u5230\u7684\u8fd9\u4e9b\u95ee\u9898\uff0c\u65e0\u975e\u5c31\u662f\u7c98\u5305\u5bfc\u81f4\u7684\uff08\u5173\u4e8e\u7c98\u5305\uff0c\u4f60\u53ef\u4ee5\u767e\u5ea6\u77a7\u77a7\uff09\u3002<br \/>\u5982\u679c\u4f60\u7684\u670d\u52a1\u7aef\u80fd\u591f\u6b63\u5e38\u8fd8\u539f\u4f60\u53d1\u9001\u7684 buffer,\u90a3\u7406\u8bba\u4e0a\u4e5f\u662f\u6ca1\u6709\u95ee\u9898\u7684\u3002<br \/>\u6211\u524d\u6bb5\u65f6\u95f4\u4e5f\u5b9e\u73b0\u8fc7 socks5 \u4ee3\u7406\uff08\u670d\u52a1\u7aef\u4e0e\u5ba2\u6237\u7aef\uff09\uff0c\u4f46\u662f\u7528\u7684\u662f\u7b80\u5355\u7684\u4e00\u4e00\u6620\u5c04\u52a0\u5bc6\u3001\u89e3\u5bc6\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u8bf7\u6559\u4e00\u4e0b\uff0c node \u4e0b sock&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/99614"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=99614"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/99614\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=99614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=99614"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=99614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}