{"id":2127,"date":"2024-06-05T20:14:49","date_gmt":"2024-06-05T12:14:49","guid":{"rendered":"https:\/\/cn.raksmart.com\/blog\/host\/3757.html"},"modified":"2024-06-05T20:14:49","modified_gmt":"2024-06-05T12:14:49","slug":"%e6%9c%8d%e5%8a%a1%e5%99%a8%e9%98%b2%e7%81%ab%e5%a2%99%e8%ae%be%e7%bd%ae%e7%9a%84%e9%87%8d%e8%a6%81%e6%80%a7","status":"publish","type":"post","link":"https:\/\/cn.raksmart.com\/blog\/server\/2127.html","title":{"rendered":"\u670d\u52a1\u5668\u9632\u706b\u5899\u8bbe\u7f6e\u7684\u91cd\u8981\u6027"},"content":{"rendered":"<div class=\"entry-content e-content\" itemprop=\"description articleBody\">\n<p>\u9632\u706b\u5899\u662f<a href=\"https:\/\/cn.raksmart.com\/\" target=\"_blank\" rel=\"noopener\"><strong>\u670d\u52a1\u5668<\/strong><\/a>\u9632\u62a4\u7684\u7b2c\u4e00\u9053\u5173\u5361\uff0c\u9632\u706b\u5899\u8bbe\u7f6e\u5f97\u597d\u4e0d\u4f1a\u8ba9\u4f60\u98de\u8d77\u6765\uff0c\u4f46\u662f\u81f3\u5c11\u4e0d\u4f1a\u8ba9\u4f60\u8dcc\u7684\u592a\u60e8\uff0c\u6709\u592a\u591a\u7684\u95ee\u9898\u5176\u5b9e\u53ea\u8981\u4e00\u4e2a\u7b80\u5355\u7684\u9632\u706b\u5899\u5373\u53ef\u89c4\u907f\u3002\u5f53\u7136\u4f20\u7edf\u610f\u4e49\u7684\u9632\u706b\u5899\u53ea\u80fd\u63a7\u5236\u7aef\u53e3\u7684\u5f00\u542f\u548c\u5173\u95ed\uff0c\u7aef\u53e3\u5f00\u542f\u4ee5\u540e\u4e0a\u9762\u670d\u52a1\u7684\u6f0f\u6d1e\u548c\u66f4\u590d\u6742\u7684HTTP\u7c7b\u4f3c\u7684\u66f4\u591a\u7684\u5b89\u5168\u95ee\u9898\u8fd9\u4e9b\u9632\u706b\u5899\u65e0\u6cd5\u907f\u514d\u3002<\/p>\n<p>\u662f\u5426\u914d\u7f6e\u9632\u706b\u5899\u662f\u4e00\u4e2a\u6700\u57fa\u672c\u7684\u5b89\u5168\u610f\u8bc6\uff0c\u662f\u662f\u5426\u6709\u8d2f\u5f7b\u6700\u5c0f\u6743\u9650\u539f\u5219\u7684\u4f53\u73b0\u3002\u7ba1\u7406\u4e00\u53f0\u670d\u52a1\u5668\uff0c\u9996\u5148\u8981\u770b\u9632\u706b\u5899\u5f00\u653e\u60c5\u51b5\uff0c\u6709\u4e9b\u8d2d\u4e70\u7684\u8bbe\u5907\u672c\u8eab\u65e0\u6cd5\u8bbe\u7f6e\u9632\u706b\u5899\uff0c\u5c31\u9700\u8981\u4e0a\u4e00\u5c42\u4ea4\u6362\u673a\u6216\u8005\u9632\u706b\u5899\u534f\u52a9\u9632\u62a4\u3002\u9632\u706b\u5899\u8bbe\u7f6e\u662f\u8d8a\u9760\u8fd1\u8d8a\u597d\uff0c\u89c4\u5219\u8d8a\u7ec6\u8d8a\u597d\uff0c\u7eb5\u6df1\u9632\u5fa1\u8def\u4e0a\u6570\u636e\u4e2d\u5fc3\u548c\u4e92\u8054\u7f51\u8fb9\u754c\u4e0a\u7684\u8f83\u5bbd\u7684\u9632\u706b\u5899\u89c4\u5219\u4e5f\u6709\u5b58\u5728\u7684\u5fc5\u8981\u3002\u63a8\u8350\u9605\u8bfb\uff1a<a href=\"https:\/\/cn.raksmart.com\/blog\/knowledge\/cjwt\/1988.html\" target=\"_blank\" rel=\"noopener\">\u300a\u9632\u706b\u5899\u662f\u5982\u4f55\u5de5\u4f5c\uff0c\u7c7b\u578b\u6709\u54ea\u4e9b\uff1f\u300b<\/a><\/p>\n<p>\u9632\u706b\u5899\u914d\u7f6e\u7684\u591a\u4e2a\u9014\u5f84<\/p>\n<p>GUI\uff1a\u901a\u8fc7GUI\u754c\u9762\u7f16\u8f91\u9632\u706b\u5899\uff0c\u597d\u5904\u662f\u7b80\u5355\uff0c\u4e0d\u9700\u8981\u61c2\u592a\u591a\u7684\u9632\u706b\u5899\u77e5\u8bc6\uff0c\u6709\u9a8c\u8bc1\uff0c\u6548\u679c\u8ddfvisudo\u4e00\u6837\u3002\u7f3a\u70b9\u5c31\u662f\u7f16\u8f91\u901f\u5ea6\u6162\uff0c\u89c2\u5bdf\u7684\u65f6\u5019\u4e0d\u662f\u592a\u76f4\u89c2\u3002<\/p>\n<p>CLI\uff1a\u8bbe\u7f6e\u901f\u5ea6\u5feb\uff0c\u6709\u4e00\u5b9a\u7684\u9a8c\u8bc1\uff0c\u9700\u8981\u719f\u6089\u9632\u706b\u5899\u8bed\u6cd5\u3002<\/p>\n<p>\u914d\u7f6e\u6587\u4ef6\uff1a\u76f4\u63a5\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\u662f\u901f\u5ea6\u6700\u5feb\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u8fdb\u5165DevOps\u81ea\u52a8\u5316\u90e8\u7f72\u6d41\u7a0b\uff0c\u7f3a\u70b9\u662f\u76f4\u63a5\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\u6ca1\u6709\u9a8c\u8bc1\u3002<\/p>\n<p>\u5bf9\u4e8e\u4ee5\u4e0a\u51e0\u79cd\u914d\u7f6e\u9014\u5f84\uff0c\u5404\u6709\u4f18\u7f3a\u70b9\uff0cGUI\u964d\u4f4e\u4e86\u7ba1\u7406\u5458\u7684\u80fd\u529b\u8981\u6c42\uff0c\u4f46\u662f\u4e5f\u4f1a\u5e26\u6765\u4e00\u4e9b\u9ebb\u70e6\uff0c\u5982\u679c\u754c\u9762\u505a\u5f97\u4e0d\u597d\uff0c\u5bf9\u4e8e\u5207\u6362\u89c4\u5219\u548c\u67e5\u9519\u901f\u5ea6\u6ca1\u6709\u76f4\u63a5\u547d\u4ee4\u6216\u8005\u64cd\u4f5clog\u6765\u7684\u5feb\u901f\u3002\u5982\u679c\u5bf9\u9632\u706b\u5899\u89c4\u5219\u4e0d\u662f\u592a\u719f\u6089\uff0cGUI\u914d\u7f6e\u540e\u751f\u6210\u7684\u89c4\u5219\u662f\u5b66\u4e60\u6700\u597d\u7684\u6750\u6599\u3002\u5982\u679c\u53ef\u80fd\uff0c\u6700\u540e\u5e94\u5f53\u505a\u6210\u914d\u7f6e\u6587\u4ef6\u6216\u8005bat\u3001sh\u7b49\u547d\u4ee4\u884c\u96c6\u5408\uff0c\u4fdd\u8bc1\u5e42\u7b49\uff0c\u53ef\u91cd\u590d\u8fd0\u884c\uff0c\u4f1a\u5927\u5927\u964d\u4f4e\u914d\u7f6e\u548c\u5207\u6362\u7684\u5de5\u4f5c\u91cf\u3002\u63a8\u8350\u9605\u8bfb\uff1a<a href=\"https:\/\/cn.raksmart.com\/blog\/server\/2115.html\" target=\"_blank\" rel=\"noopener\">\u300a\u670d\u52a1\u5668\u79df\u7528\u4e2d\u9632\u706b\u5899\u7684\u610f\u4e49\u662f\u4ec0\u4e48?\u300b<\/a><\/p>\n<p>\u5931\u6548\u7684\u9632\u706b\u5899<\/p>\n<p>\u9632\u706b\u5899\u914d\u7f6e\u5f88\u7b80\u5355\uff0c\u4f46\u662f\u9632\u706b\u5899\u5931\u6548\u7684\u539f\u56e0\u4e5f\u5f88\u591a\uff1a<\/p>\n<p>1)\u4e00\u6761\u8fc7\u5bbd\u7684\u89c4\u5219\u9690\u85cf\u5728\u51e0\u5341\u6761\u7c92\u5ea6\u4e0d\u540c\u7684\u9632\u706b\u5899\u89c4\u5219\u5185<\/p>\n<p>2)\u9632\u706b\u5899\u88ab\u4e59\u65b9\u6216\u8005\u5176\u4ed6\u4eba\u4e3a\u4e86\u8c03\u8bd5\u7b49\u539f\u56e0\u5173\u95ed\u800c\u6ca1\u6709\u518d\u5f00\u542f<\/p>\n<p>3)\u9632\u706b\u5899\u672c\u8eab\u89c4\u5219\u4e0d\u4e86\u89e3\uff0c\u6ca1\u6709\u8bbe\u7f6e\u9ed8\u8ba4DROP\u6216\u8005\u5ffd\u7565\u4e86IPv6\u534f\u8bae<\/p>\n<p>4)\u914d\u7f6e\u6587\u4ef6\u683c\u5f0f\u9519\u8bef\u5bfc\u81f4\u670d\u52a1\u65e0\u6cd5\u542f\u52a8\u6216\u8005\u5e94\u7528\u4e86\u65e7\u7684\u89c4\u5219<\/p>\n<p>5)\u5e94\u7528\u4e86\u9519\u8bef\u7684\u60c5\u666f\u6a21\u5f0f\uff0c\u6bd4\u5982Windows\u89c4\u5219\u914d\u7f6e\u7684\u201c\u516c\u7528\u7f51\u7edc\u201d\uff0c\u4f46\u662f\u67d0\u6b21\u542f\u52a8\u540e\u5e94\u7528\u4e86\u201c\u4e13\u7528\u7f51\u7edc\u201d\u3002<\/p>\n<p>6)\u591a\u6b21\u6839\u636e\u4e0d\u540c\u91cd\u4fdd\u89c4\u5219\u5207\u6362\u9632\u706b\u5899\u5bfc\u81f4\u89c4\u5219\u9519\u4e71\uff0c\u9057\u6f0f\u6216\u591a\u4f59\u3002<\/p>\n<p>7)\u5b9e\u65f6\u751f\u6548\u548c\u6301\u4e45\u6027\u751f\u6548\u7684\u533a\u522b\uff0c\u6709\u4e9b\u89c4\u5219\u542f\u52a8\u540e\u5c31\u6d88\u5931\u4e86\u3002<\/p>\n<p>\u6240\u4ee5\u9a8c\u8bc1\u9632\u706b\u5899\u662f\u5426\u6b63\u786e\u4e0d\u662f\u53bb\u9605\u8bfb\u89c4\u5219\uff0c\u800c\u662f\u5e94\u5f53\u67e5\u770b\u653e\u884c\u65e5\u5fd7\uff0c\u91c7\u7528nmap\u6216\u8005\u5176\u4ed6\u7aef\u53e3\u626b\u63cf\u5de5\u5177\u5b9a\u671f\u626b\u63cf\uff0c\u5982\u679c\u5199\u8fc7\u7a0b\u5e8f\u5c31\u77e5\u9053\uff0c\u8fd9\u662f\u7c7b\u4f3cTDD\u7684\u505a\u6cd5\uff0c\u9996\u5148\u5199\u4e00\u5806\u9632\u706b\u5899\u68c0\u6d4b\u89c4\u5219AssertTrue\/AssertFalse\uff0c\u7136\u540e\u518d\u914d\u7f6e\u9632\u706b\u5899\uff0c\u76f4\u5230\u6240\u6709\u6240\u6709\u6d4b\u8bd5\u901a\u8fc7\u3002\u63a8\u8350\u76f8\u5173\u9605\u8bfb\uff1a<a href=\"https:\/\/cn.raksmart.com\/blog\/server\/1824.html\">\u300a\u7f51\u7ad9\u670d\u52a1\u5668\u54cd\u5e94\u53d8\u6162\u600e\u4e48\u529e\u300b<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9632\u706b\u5899\u662f\u670d\u52a1\u5668\u9632\u62a4\u7684\u7b2c\u4e00\u9053\u5173\u5361\uff0c\u9632\u706b\u5899\u8bbe\u7f6e\u5f97\u597d\u4e0d\u4f1a\u8ba9\u4f60\u98de\u8d77\u6765\uff0c\u4f46\u662f\u81f3\u5c11\u4e0d\u4f1a\u8ba9\u4f60\u8dcc\u7684\u592a\u60e8\uff0c\u6709\u592a\u591a\u7684\u95ee\u9898\u2026 <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[350,759],"class_list":["post-2127","post","type-post","status-publish","format-standard","hentry","category-server","tag-350","tag-759"],"_links":{"self":[{"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/posts\/2127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/comments?post=2127"}],"version-history":[{"count":0,"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/posts\/2127\/revisions"}],"wp:attachment":[{"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/media?parent=2127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/categories?post=2127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cn.raksmart.com\/blog\/wp-json\/wp\/v2\/tags?post=2127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}