{"id":48533,"date":"2020-12-03T23:54:52","date_gmt":"2020-12-03T15:54:52","guid":{"rendered":"http:\/\/www.zhushiyao.com\/?p=48533"},"modified":"2020-12-04T01:04:13","modified_gmt":"2020-12-03T17:04:13","slug":"0c6c36109a","status":"publish","type":"post","link":"http:\/\/www.zhushiyao.com\/?p=48533","title":{"rendered":"\u8fc4\u4eca\u4e3a\u6b62\u901f\u5ea6\u6700\u5feb\u7684\u7aef\u53e3\u626b\u63cf\u5668"},"content":{"rendered":"<div class=\"bpp-post-content\">\n<p><span style=\"font-size: 15px;\">\u3010\u5bfc\u8bed\u3011\uff1a<span style=\"color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; text-align: start;\">Masscan\u00a0\u662f\u4e00\u4e2a\u6279\u91cf\u7aef\u53e3\u626b\u63cf\u5668\uff0c<span style=\"caret-color: #24292e; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 15px; text-align: start;\">\u7a0b\u5e8f\u8fd0\u884c\u5728\u5355\u673a\u4e0a\uff0c<\/span>\u6bcf\u79d2\u4f20\u8f93 1 \u5343\u4e07\u4e2a\u6570\u636e\u5305\uff0c\u53ef\u4ee5\u5728 6 \u5206\u949f\u4e4b\u5185\u626b\u5b8c\u6574\u4e2a\u4e92\u8054\u7f51\u3002\u5b83\u662f\u8fc4\u4eca\u4e3a\u6b62\uff0c\u901f\u5ea6\u6700\u5feb\u7684\u7aef\u53e3\u626b\u63cf\u5668\u3002<\/span><\/span><\/p>\n<p><span style=\"color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; text-align: start; font-size: 15px;\">\u00a0<\/span><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" class=\"rich_pages\" title=\"1.4 \u4e07 Star\uff01\u8fc4\u4eca\u4e3a\u6b62\u901f\u5ea6\u6700\u5feb\u7684\u7aef\u53e3\u626b\u63cf\u5668\" src=\"http:\/\/www.zhushiyao.com\/wp-content\/uploads\/2020\/12\/3-1607010892.jpeg\" alt=\"1.4 \u4e07 Star\uff01\u8fc4\u4eca\u4e3a\u6b62\u901f\u5ea6\u6700\u5feb\u7684\u7aef\u53e3\u626b\u63cf\u5668\" \/><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\">\u00a0<\/p>\n<p><span style=\"font-size: 15px; color: #3da742;\"><strong>\u7b80\u4ecb\u00a0<\/strong><\/span><\/p>\n<p><span style=\"font-size: 15px; color: #3da742;\"><strong>\u00a0<\/strong><\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">Masscan \u7684\u8f93\u5165\u8f93\u51fa\u7c7b\u4f3c\u4e8e nmap\uff0c\u5982\u679c\u5bf9\u5de5\u5177\u7684\u6027\u80fd\u5c06\u4fe1\u5c06\u7591\uff0c\u53ef\u4ee5\u624b\u52a8\u53bb\u5c1d\u8bd5\u4e00\u628a\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u8be5\u5de5\u5177\u4f7f\u7528\u5f02\u6b65\u4f20\u8f93\uff0c\u7c7b\u4f3c\u4e8escanrand\u3001unicornscan \u548c ZMap \u7b49\u626b\u63cf\u5668\u3002\u5e76\u4e14\u5b83\u66f4\u52a0\u7075\u6d3b\uff0c\u5141\u8bb8\u81ea\u5b9a\u4e49\u7aef\u53e3\u548c IP \u5730\u5740\u8303\u56f4\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\"><span style=\"box-sizing: border-box; font-weight: 600;\">\u6ce8\u610f<\/span>\uff1amasscan \u4f7f\u7528\u5b83\u81ea\u5df1\u7684 TCP\/IP \u6808\uff0c\u53ef\u80fd\u4f1a\u548c\u5176\u4ed6\u7684\u7aef\u53e3\u626b\u63cf\u5668\u51b2\u7a81\u3002\u8fd9\u610f\u5473\u7740\uff0c\u4f60\u8981\u4e48\u4f7f\u7528 &#8212;<span style=\"box-sizing: border-box; font-weight: 600;\">src-ip\u00a0<\/span>\u9009\u9879\u6765\u914d\u7f6e\u4e00\u4e2a\u4e0e\u672c\u5730\u4e0d\u540c\u7684 IP \u5730\u5740 \uff0c\u8981\u4e48\u4f7f\u7528 &#8212;<span style=\"box-sizing: border-box; font-weight: 600;\">src-port\u00a0<\/span>\u9009\u9879\u6765\u914d\u7f6e Massscan \u4f7f\u7528\u7684\u6e90\u7aef\u53e3\u3002\u4e5f\u53ef\u4ee5\u914d\u7f6e\u5185\u90e8\u9632\u706b\u5899\uff08\u6bd4\u5982pf\u6216\u8005iptables\uff09\u5c06\u64cd\u4f5c\u7cfb\u7edf\u7684\u5176\u4ed6\u7aef\u53e3\u5899\u5728\u5916\u9762\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u8fd9\u4e2a\u5de5\u5177\u514d\u8d39\uff0c\u4f46\u662f\u5927\u5bb6\u7684\u7231\u5fc3\u6350\u52a9\u53ef\u4ee5\u5e2e\u52a9\u5b83\u66f4\u597d\u7684\u53d1\u5c55\uff1b\u6bd4\u7279\u94b1\u5305\u5730\u5740\u5982\u4e0b\uff1a<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">1MASSCANaHUiyTtR3bJ2sLGuMw5kDBaj4T<\/span><\/p>\n<p style=\"white-space: normal;\"><span style=\"font-size: 15px; color: #3da742;\"><strong>\u9879\u76ee\u5730\u5740\uff1a<\/strong><\/span><\/p>\n<p style=\"margin-bottom: 16px; white-space: normal; box-sizing: border-box; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start;\"><span style=\"font-size: 15px;\">https:\/\/github.com\/robertdavidgraham\/masscan<\/span><\/p>\n<p>\u00a0<\/p>\n<h1><span style=\"font-size: 15px; color: #3da742;\"><strong>\u6784\u5efa<\/strong><\/span><\/h1>\n<p><span style=\"font-size: 15px; color: #3da742;\"><strong>\u00a0<\/strong><\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u5728Debian\/Ubuntu\uff0c\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">$<\/span> sudo apt-get install git gcc make libpcap-dev<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">$<\/span> git <span class=\"code-snippet__built_in\">clone<\/span> https:\/\/github.com\/robertdavidgraham\/masscan<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">$<\/span> <span class=\"code-snippet__built_in\">cd<\/span> masscan<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">$<\/span> make<\/span><\/code><\/pre>\n<\/section>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">Massscan\u7a0b\u5e8f\u9ed8\u8ba4\u5728masscan\/bin\u5b50\u76ee\u5f55\u4e0b\u3002<\/span><span style=\"font-size: 15px;\">\u5982\u679c\u4f60\u60f3\u628a\u8fd9\u4e2a\u7a0b\u5e8f\u5b89\u88c5\u5728\u7cfb\u7edf\u7684\u5176\u4ed6\u5730\u65b9\uff0c\u4f8b\u5982\/usr\/local\/bin\uff0c\u9700\u8981\u81ea\u5df1\u624b\u52a8\u590d\u5236\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u8be5\u9879\u76ee\u7531\u5927\u91cf\u7684\u5c0f\u6587\u4ef6\u7ec4\u6210\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u7ebf\u7a0b\u6765\u5b8c\u6210\u5feb\u901f\u6784\u5efa\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">$<\/span> make -j<\/span><\/code><\/pre>\n<\/section>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"background-color: #fffed5; font-size: 15px;\">\u867d\u7136 Linux \u662f\u8be5\u5de5\u5177\u7684\u4e3b\u8981\u8fd0\u884c\u5e73\u53f0\uff0c\u4f46\u662f\u5b83\u4e5f\u53ef\u4ee5\u5728\u5176\u4ed6\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u5f88\u597d\u7684\u8fd0\u884c<\/span><span style=\"font-size: 15px;\">\u3002\u4e0b\u9762\u662f\u4e00\u4e9b\u5176\u4ed6\u7684\u6784\u5efa\u4fe1\u606f\uff1a<\/span><\/p>\n<ul class=\"list-paddingleft-2\" style=\"padding-left: 2em; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\">\n<li style=\"box-sizing: border-box; font-size: 15px;\">\n<p><span style=\"font-size: 15px;\">Windows w\/ Visual Studio: \u4f7f\u7528 VS10<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em; font-size: 15px;\">\n<p><span style=\"font-size: 15px;\">Windows w\/ MingGW: \u4f7f\u7528make<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em; font-size: 15px;\">\n<p><span style=\"font-size: 15px;\">Windows w\/ cygwin: \u4e0d\u652f\u6301<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em; font-size: 15px;\">\n<p><span style=\"font-size: 15px;\">Mac OS X \/w XCode: \u4f7f\u7528 XCode4<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em; font-size: 15px;\">\n<p><span style=\"font-size: 15px;\">Mac OS X \/w cmdline: \u4f7f\u7528make<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em; font-size: 15px;\">\n<p><span style=\"font-size: 15px;\">FreeBSD: \u4f7f\u7528gmake<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em; font-size: 15px;\">\n<p><span style=\"font-size: 15px;\">\u5176\u4ed6\u7cfb\u7edf: \u5c1d\u8bd5\u628a\u6240\u6709\u7684\u6587\u4ef6\u4e00\u8d77\u7f16\u8bd1<\/span><\/p>\n<\/li>\n<\/ul>\n<h1><strong style=\"color: #3da742; font-size: 15px;\">PF_RING\u9a71\u52a8\u5b89\u88c5<\/strong><\/h1>\n<p><span style=\"font-size: 15px; color: #3da742;\"><strong>\u00a0<\/strong><\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u5982\u679c\u53d1\u5305\u91cf\u8981\u8d85\u8fc720\u4e07\/\u79d2\uff0c\u9700\u8981\u56e0\u7279\u5c14\u7684\u7f51\u5361\uff0c\u7f51\u5361\u8981\u6c4210Gbps\u3002\u9664\u6b64\u4e4b\u5916\uff0c\u8fd8\u9700\u8981\u4e00\u4e2a\u9a71\u52a8\uff0c\u540d\u5b57\u53ebPF_RING ZC\u3002\u8981\u60f3\u4f7f\u7528PF_RING ZC\uff0c\u8fd8\u9700\u8981\u5b89\u88c5\u4e0b\u9762\u7684\u7ec4\u4ef6\uff1a<\/span><\/p>\n<ul class=\"list-paddingleft-2\" style=\"padding-left: 2em; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\">\n<li style=\"box-sizing: border-box; font-size: 15px;\">\n<p><span style=\"font-size: 15px;\">libpfring.so\u00a0(\u5b89\u88c5\u5728\/usr\/lib\/libpfring.so)<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em; font-size: 15px;\">\n<p><span style=\"font-size: 15px;\">pf_ring.ko (PF-RING\u81ea\u5df1\u7684\u5185\u6838\u9a71\u52a8)<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em; font-size: 15px;\">\n<p><span style=\"font-size: 15px;\">ixgbe.ko (\u56e0\u7279\u5c1410-gbps\u7f51\u5361\u9a71\u52a8)<\/span><\/p>\n<\/li>\n<\/ul>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u6b64\u5916\uff0c\u8fd8\u9700\u8981\u6784\u5efalibpcap.so\u6587\u4ef6\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u5f53Masscan\u63a2\u6d4b\u5230\u7f51\u5361\u4e3azc:enp1s0\u65f6\uff0c\u5c31\u4f1a\u81ea\u52a8\u5207\u6362\u5230PF_RING ZC\u6a21\u5f0f\u3002<\/span><\/p>\n<h1><strong style=\"color: #3da742; font-size: 15px;\">\u56de\u5f52\u6d4b\u8bd5<\/strong><\/h1>\n<p><span style=\"font-size: 15px; color: #3da742;\"><strong>\u00a0<\/strong><\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u8fd9\u4e2a\u5de5\u5177\u5185\u5d4c\u81ea\u6d4b\u7ec4\u4ef6\uff0c\u53ef\u4ee5\u81ea\u5df1\u8fdb\u884c\u6d4b\u8bd5\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">$<\/span> make regress<\/span><\/code><code><span class=\"code-snippet_outer\">bin\/masscan --regress<\/span><\/code><code><span class=\"code-snippet_outer\">selftest: success!<\/span><\/code><\/pre>\n<\/section>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u4ee5\u4e0a\u7684\u56de\u5f52\u6d4b\u8bd5\u6db5\u76d6\u5927\u91cf\u7684\u590d\u6742\u4ee3\u7801\uff0c\u4f60\u5e94\u8be5\u5728\u6784\u5efa\u540e\u518d\u5c1d\u8bd5\u3002<\/span><\/p>\n<h1><strong style=\"color: #3da742; font-size: 15px;\">\u6027\u80fd\u6d4b\u8bd5<\/strong><\/h1>\n<p><span style=\"font-size: 15px; color: #3da742;\"><strong>\u00a0<\/strong><\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u4e3a\u4e86\u6d4b\u8bd5\u5de5\u5177\u6027\u80fd\uff0c\u53ef\u4ee5\u6267\u884c\u4e0b\u9762\u7684\u547d\u4ee4\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">$<\/span> bin\/masscan 0.0.0.0\/4 -p80 --rate 100000000 --router-mac 66-55-44-33-22-11<\/span><\/code><\/pre>\n<\/section>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u9009\u9879&#8211;<span style=\"box-sizing: border-box; font-weight: 600;\">router-mac<\/span>\u865a\u62df\u51fa\u6765\u4e00\u4e2a\u5047\u7684\u8def\u7531mac\u5730\u5740\uff0c\u6240\u4ee5\u53d1\u9001\u7684\u6570\u636e\u5305\u90fd\u5728\u672c\u5730\uff0c\u4e0d\u4f1a\u8dd1\u5230\u4e92\u8054\u7f51\u4e0a\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u4f60\u4e5f\u53ef\u4ee5\u6d4b\u8bd5offline\u6a21\u5f0f\uff0c\u770b\u770b\u5728\u6ca1\u6709\u7f51\u7edc\u5f00\u9500\u7684\u60c5\u51b5\u4e0b\uff0c\u8fd9\u4e2a\u7a0b\u5e8f\u80fd\u8dd1\u591a\u5feb\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">$<\/span> bin\/masscan 0.0.0.0\/4 -p80 --rate 100000000 --offline<\/span><\/code><\/pre>\n<\/section>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u5728offline\u6a21\u5f0f\u4e0b\uff0c\u8fdb\u884c\u6027\u80fd\u6d4b\u8bd5\uff0c\u8fd9\u4e2a\u7a0b\u5e8f\u5c31\u4f1a\u4f7f\u7528PF_RING\uff0c\u51e0\u4e4e\u6ca1\u6709\u7f51\u7edc\u5f00\u9500\u3002<\/span><\/p>\n<h1><span style=\"font-size: 15px; color: #3da742;\"><strong>\u5de5\u5177\u7684\u4f7f\u7528<\/strong><\/span><\/h1>\n<p><span style=\"font-size: 15px; color: #3da742;\"><strong>\u00a0<\/strong><\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u8fd9\u4e2a\u5de5\u5177\u4f7f\u7528\u7c7b\u4f3cnmap\u3002\u6bd4\u5982\u626b\u63cf\u67d0\u7f51\u6bb5\u7684\u4e00\u4e9b\u7aef\u53e3\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># masscan -p80,8000-8100 10.0.0.0\/8<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u4ee5\u4e0a\u7684\u547d\u4ee4\u5b8c\u6210\u4e0b\u97623\u4e2a\u4e8b\u60c5\uff1a<\/span><\/p>\n<ul class=\"list-paddingleft-2\" style=\"padding-left: 2em; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\">\n<li style=\"box-sizing: border-box; font-size: 15px;\">\n<p><span style=\"font-size: 15px;\">\u626b\u63cf10.x.x.x\u5b50\u7f51\uff0c\u4e00\u5171160\u4e07\u5730\u5740<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em; font-size: 15px;\">\n<p><span style=\"font-size: 15px;\">\u626b\u63cf\u7aef\u53e380\uff0c\u8fd8\u67098000-8100\u8303\u56f4\u5185\u7684\u7aef\u53e3\uff0c\u4e00\u5171102\u4e2a<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em; font-size: 15px;\">\n<p><span style=\"font-size: 15px;\">\u626b\u63cf\u7ed3\u679c\u53ef\u4ee5\u8f93\u51fa\u5230\u6307\u5b9a\u6587\u4ef6<\/span><\/p>\n<\/li>\n<\/ul>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u4f7f\u7528&#8211;<strong>echo<\/strong>\uff0c\u53ef\u4ee5\u770b\u5230\u5de5\u5177\u5b8c\u6574\u7684\u9009\u9879\u5217\u8868\u3002\u547d\u4ee4\u4f1a\u629b\u51fa\u5f53\u524d\u914d\u7f6e\u5e76\u9000\u51fa\u3002\u8fd9\u4e2a\u8f93\u51fa\u4e5f\u53ef\u4ee5\u7528\u4f5c\u7a0b\u5e8f\u7684\u8f93\u5165\u3002<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">#<\/span> masscan -p80,8000-8100 10.0.0.0\/8 --<span class=\"code-snippet__built_in\">echo<\/span> &gt; xxx.conf<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">#<\/span> masscan -c xxx.conf --rate 1000<\/span><\/code><\/pre>\n<\/section>\n<h1>\u00a0<\/h1>\n<h1><span style=\"font-size: 15px; color: #3da742;\"><strong>banner\u4fe1\u606f\u83b7\u53d6<\/strong><\/span><\/h1>\n<p><span style=\"font-size: 15px; color: #3da742;\"><strong>\u00a0<\/strong><\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">Masscan\u4e0d\u4ec5\u53ef\u4ee5\u63a2\u6d4b\u7aef\u53e3\u7684\u5f00\u653e\u72b6\u6001\uff0c\u5b83\u4e5f\u53ef\u4ee5\u5b8c\u6210TCP\u8fde\u63a5\u4ee5\u53ca\u548c\u5bf9\u5e94\u7aef\u53e3\u5e94\u7528\u4e4b\u95f4\u8fdb\u884c\u4ea4\u4e92\u3002\u901a\u8fc7\u8ddf\u5e94\u7528\u7a0b\u5e8f\u4ea4\u4e92\uff0c\u53ef\u4ee5\u83b7\u53d6\u5230\u7b80\u5355\u7684banner\u4fe1\u606f\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u8fd9\u662f\u56e0\u4e3amasscan\u62e5\u6709\u81ea\u5df1\u7684TCP\/IP\u534f\u8bae\u6808\uff0c\u8ddf\u7a0b\u5e8f\u6240\u5728\u64cd\u4f5c\u7cfb\u7edf\u7684\u534f\u8bae\u6808\u662f\u4e0d\u540c\u7684\u3002\u5f53\u672c\u5730\u7cfb\u7edf\u63a5\u6536\u5230\u88ab\u63a2\u6d4b\u76ee\u6807\u7684SYN-ACK\u5305\u65f6\uff0c\u5b83\u4f1a\u56de\u5e94\u4e00\u4e2aRST\u5305\u3002\u4f46\u662f\u4e4b\u524dmasscan\u4e3a\u4e86\u83b7\u53d6banner\u4fe1\u606f\u800c\u5efa\u7acb\u7684\u8fde\u63a5\uff0c\u4f1a\u5728\u6b64\u65f6\u5173\u95ed\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u6700\u7b80\u5355\u7684\u529e\u6cd5\u5c31\u662f\uff0c\u4e3amasscan\u6307\u5b9a\u4e00\u4e2aIP\u5730\u5740\u3002\u6bd4\u5982\u4e0b\u9762\u7684\u547d\u4ee4\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">#<\/span> masscan 10.0.0.0\/8 -p80 --banners --<span class=\"code-snippet__built_in\">source<\/span>-ip 192.168.1.200<\/span><\/code><\/pre>\n<\/section>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u8fd9\u4e2a\u6307\u5b9a\u7684\u5730\u5740\u5fc5\u987b\u8981\u5728\u672c\u5730\u5730\u5740\u7684\u5b50\u7f51\u4e2d\uff0c\u5426\u5219\u4e0d\u80fd\u5728\u5176\u4ed6\u7cfb\u7edf\u4e0a\u4f7f\u7528\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u5728\u4e00\u4e9b\u573a\u666f\u4e2d\uff0c\u6bd4\u5982wifi\uff0c\u8fd9\u79cd\u64cd\u4f5c\u5c31\u4e0d\u8d77\u4f5c\u7528\u4e86\u3002\u5728\u8fd9\u4e9b\u573a\u666f\u4e2d\uff0c\u4f60\u4e5f\u53ef\u4ee5\u7528\u9632\u706b\u5899\u6765\u89e3\u51b3\u4e0a\u9762\u8fde\u63a5\u4e2d\u65ad\u7684\u95ee\u9898\u3002\u9632\u706b\u5899\u4f1a\u963b\u6b62\u672c\u5730\u7684TCP\/IP\u6808\u770b\u5230\u6570\u636e\u5305\uff0c\u4f46\u662fmasscan\u4ecd\u7136\u662f\u53ef\u4ee5\u770b\u5230\u8fd9\u4e2a\u6570\u636e\u5305\u7684\u3002\u4f8b\u5982\uff0clinux\u4e0b\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">#<\/span> iptables -A INPUT -p tcp --dport 61000 -j DROP<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">#<\/span> masscan 10.0.0.0\/8 -p80 --banners --<span class=\"code-snippet__built_in\">source<\/span>-port 61000<\/span><\/code><\/pre>\n<\/section>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u4f60\u53ef\u4ee5\u901a\u8fc7\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\uff0c\u6765\u89e3\u51b3linux\u548cmasscan\u7aef\u53e3\u51b2\u7a81\u7684\u95ee\u9898\u3002<\/span><span style=\"font-size: 15px;\">\u628alinux\u4f7f\u7528\u7684\u7aef\u53e3\u5212\u5b9a\u4e00\u4e2a\u8303\u56f4\uff1a<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\">\u00a0<\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\">\/proc\/sys\/net\/ipv4\/ip_local_port_range<\/span><\/code><\/pre>\n<\/section>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u57282018\u5e748\u6708\u7684kali\u4e2d\uff0c\u8fd9\u4e2a\u8303\u56f4\u662f32768 to 60999\uff0c\u56e0\u6b64\uff0c\u9009\u62e9\u7684\u7aef\u53e3\u5e94\u8be5\u5728\u8fd9\u4e9b\u7aef\u53e3\u4e4b\u5916\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u53ef\u4ee5\u8bbe\u7f6e\u4e00\u4e2aiptables\u89c4\u5219\uff0c\u65f6\u95f4\u9650\u5236\u5230\u4e0b\u6b21\u673a\u5668\u91cd\u542f\u4e4b\u524d\u3002\u5982\u4f55\u4fdd\u5b58\u8fd9\u4e2a\u914d\u7f6e\u53d6\u51b3\u4e8e\u4f60\u7684linux\u53d1\u884c\u7248\u3002\u4e00\u822c\u662f\u7528iptables-save\u6216\u8005\u662fiptables-persistant\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u5728Mac OS X\u548cBSD\u4e0a\uff0c\u4e5f\u662f\u7c7b\u4f3c\u7684\u6b65\u9aa4\u3002\u53ef\u4ee5\u4f7f\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u6765\u67e5\u627e\u8fd9\u4e2a\u8303\u56f4\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"># <span class=\"code-snippet__selector-tag\">sysctl<\/span> <span class=\"code-snippet__selector-tag\">net<\/span><span class=\"code-snippet__selector-class\">.inet<\/span><span class=\"code-snippet__selector-class\">.ip<\/span><span class=\"code-snippet__selector-class\">.portrange<\/span><span class=\"code-snippet__selector-class\">.first<\/span> <span class=\"code-snippet__selector-tag\">net<\/span><span class=\"code-snippet__selector-class\">.inet<\/span><span class=\"code-snippet__selector-class\">.ip<\/span><span class=\"code-snippet__selector-class\">.portrange<\/span><span class=\"code-snippet__selector-class\">.last<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u5728FreeBSD\u548c\u66f4\u65e9\u7684Mac OS\u7248\u672c\u4e0a\uff0c\u4f7f\u7528\u5982\u4e0b\u7684ipfw\u547d\u4ee4\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">#<\/span> sudo ipfw add 1 deny tcp from any to any 40000 <span class=\"code-snippet__keyword\">in<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__meta\">#<\/span> masscan 10.0.0.0\/8 -p80 --banners --<span class=\"code-snippet__built_in\">source<\/span>-port 40000<\/span><\/code><\/pre>\n<\/section>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u5728\u9ad8\u4e8eMacOS X\u7248\u672c\u8fd8\u6709OpenBSAD\u4e0a\uff0c\u4f7f\u7528pf\u5305\u8fc7\u6ee4\u5668\u3002<\/span><span style=\"font-size: 15px;\">\u5728\/etc\/pf.conf\u6587\u4ef6\u4e2d\u52a0\u5165\u4e0b\u9762\u4e00\u884c\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\">block <span class=\"code-snippet__keyword\">in<\/span> proto tcp <span class=\"code-snippet__keyword\">from<\/span> <span class=\"code-snippet__built_in\">any<\/span> to <span class=\"code-snippet__built_in\">any<\/span> port <span class=\"code-snippet__number\">40000<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u7136\u540e\u542f\u7528\u9632\u706b\u5899\uff0c\u8fd0\u884c\u4e0b\u9762\u7684\u547d\u4ee4\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># pfctrl -E<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u5982\u679c\u9632\u706b\u5899\u5df2\u7ecf\u542f\u7528\uff0c\u8981\u4e48\u91cd\u542f\u673a\u5668\uff0c\u8981\u4e48\u4f7f\u7528\u4e0b\u9762\u7684\u547d\u4ee4\uff0c\u91cd\u65b0\u5bfc\u5165\u8fd9\u4e2a\u89c4\u5219\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># pfctl -f \/etc\/pf.conf<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">Window\u4e0d\u4f1a\u56de\u5e94RST\u5305\uff0c\u4ee5\u4e0a\u7684\u65b9\u5f0f\u90fd\u662f\u65e0\u6548\u7684\u3002<\/span><span style=\"font-size: 15px;\">\u4f46\u662f\uff0cmasscan\u4ecd\u7136\u53ef\u4ee5\u4f7f\u7528\u5b83\u81ea\u5df1\u7684IP\u5730\u5740\u5f88\u597d\u7684\u8fd0\u884c\u3002<\/span><span style=\"font-size: 15px;\">\u56e0\u6b64\uff0c\u5982\u679c\u53ef\u80fd\u7684\u8bdd\uff0c\u4f60\u5e94\u8be5\u4f7f\u7528\u4e3amasscan\u6307\u5b9aIP\u7684\u65b9\u6cd5\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u5bf9\u4e8e\u6bd4\u5982\u50cf\u5fc3\u810f\u6ef4\u8840\u6f0f\u6d1e\uff08\u9009\u9879\u4e3a&#8211;<strong>heartbleed<\/strong>\uff09\u7684\u63a2\u6d4b\uff0c\u4e5f\u662fbanner\u4fe1\u606f\u63a2\u6d4b\u7684\u4e00\u79cd\uff0c\u662f\u5341\u5206\u5fc5\u8981\u7684\u3002<\/span><\/p>\n<h1><span style=\"font-size: 15px; color: #3da742;\"><strong>\u5982\u4f55\u626b\u63cf\u6574\u4e2a\u4e92\u8054\u7f51<\/strong><\/span><\/h1>\n<p><span style=\"font-size: 15px; color: #3da742;\"><strong>\u00a0<\/strong><\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u867d\u7136masscan\u5bf9\u4e8e\u5185\u7f51\u6765\u8bf4\u5341\u5206\u6709\u6548\uff0c\u4f46\u662f\u5f53\u521d\u8bbe\u8ba1\u4e5f\u8003\u8651\u5230\u4e86\u6574\u4e2a\u4e92\u8054\u7f51\u3002\u6240\u4ee5\uff0c\u5b83\u53ef\u4ee5\u4f7f\u7528\u5982\u4e0b\u7684\u547d\u4ee4\uff0c\u76f4\u63a5\u626b\u63cf\u6574\u4e2a\u4e92\u8054\u7f51\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># masscan 0.0.0.0\/0 -p0-65535<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u626b\u63cf\u6574\u4e2a\u4e92\u8054\u7f51\u662f\u4e0d\u597d\u7684\u3002\u4e00\u65b9\u9762\uff0c\u6709\u4e00\u90e8\u5206\u88ab\u626b\u63cf\u7684\u4fe1\u606f\u8d44\u4ea7\u4e0d\u4f1a\u8fd4\u56de\u6709\u6548\u7684\u4fe1\u606f\u3002\u53e6\u4e00\u65b9\u9762\uff0c\u4e00\u4e9b\u7ad9\u70b9\u4f1a\u8ddf\u8e2a\u626b\u63cf\uff0c\u7981\u6b62\u4f60\u518d\u8bbf\u95ee\u3002\u56e0\u6b64\uff0c\u4f60\u8981\u60f3\u626b\u63cf\u5f88\u591a\u5927\u91cf\u7684\u5730\u5740\uff0c\u53ef\u4ee5\u8bbe\u7f6e\u9ed1\u540d\u5355\u6216\u8005\u4f8b\u5916IP\u8303\u56f4\u3002\u5982\u4e0b\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># masscan 0.0.0.0\/0 -p0-65535 --excludefile exclude.txt<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u8fd9\u53ea\u662f\u628a\u626b\u63cf\u7ed3\u679c\u8f93\u51fa\u5230\u7ec8\u7aef\u3002<\/span><span style=\"font-size: 15px;\">\u5982\u679c\u4f60\u60f3\u628a\u626b\u63cf\u7ed3\u679c\u4fdd\u5b58\u5230\u4e00\u4e2a\u6587\u4ef6\u4e2d\uff0c\u4f7f\u7528\u4e0b\u9762\u7684\u547d\u4ee4\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># masscan 0.0.0.0\/0 -p0-65535 -oX scan.xml<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u4ee5\u4e0a\u547d\u4ee4\u628a\u626b\u63cf\u7ed3\u679c\u5b58\u653e\u5230\u4e00\u4e2aXML\u6587\u4ef6\u4e2d\u3002\u4f60\u4e5f\u53ef\u4ee5\u628a\u626b\u63cf\u7ed3\u679c\u653e\u8fdb\u6570\u636e\u5e93\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u4f46\u662f\uff0c\u8fd9\u4ec5\u4ec5\u662f\u9ed8\u8ba4\u7684\u626b\u63cf\u901f\u7387(100\u4e2a\u5305\/\u79d2)\u3002\u5982\u679c\u4f60\u60f3\u52a0\u901f\u626b\u63cf\uff0c\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># masscan 0.0.0.0\/0 -p0-65535 --max-rate 100000<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u4e0a\u9762\u7684\u547d\u4ee4\u628a\u626b\u63cf\u901f\u7387\u8bbe\u7f6e\u5230\u4e8610\u4e07\u6570\u636e\u5305\/\u79d2\uff0c\u8fd9\u4e2a\u8bbe\u7f6e\u626b\u63cf\u6574\u4e2a\u4e92\u8054\u7f51\u7684IP\uff0c\u901f\u7387\u5927\u6982\u662f\u6bcf10\u4e2a\u5c0f\u65f6\u4e00\u4e2a\u7aef\u53e3\u3002<\/span><span style=\"font-size: 15px;\">\u5982\u679c\u60f3\u626b\u63cf\u6574\u4e2a\u7aef\u53e3\uff0c\u90a3\u5c31\u9700\u8981655360\u4e2a\u5c0f\u65f6\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u4ee5\u4e0a\u6240\u6709\u7684\u547d\u4ee4\u90fd\u8ddfnmap\u517c\u5bb9\u3002\u9664\u6b64\u4e4b\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u9690\u5f62\u8bbe\u7f6e\u9009\u9879\u8ddfnmap\u4e5f\u662f\u4e00\u6837\u7684\u3002\u4f8b\u5982\uff1a-sS \uff0c-Pn\uff0c -n \uff0c&#8211;randomize-hosts\uff0c &#8211;send-eth\u7b49\u3002\u540c\u6837\u7684\uff0c\u626b\u63cf\u7ed3\u679c\u8f93\u51fa\u7684xml\u6587\u4ef6\u4e5f\u662f\u8ddfnmap\u517c\u5bb9\u7684\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u5f53\u7136\uff0cmasscan\u8ddfnmap\u8fd8\u6709\u6709\u5f88\u591a\u4e0d\u540c\u7684\u5730\u65b9\u3002<\/span><span style=\"font-size: 15px;\">\u672c\u8d28\u4e0a\u6765\u8bf4\uff0cmasscan\u662f\u5f02\u6b65\u4f20\u8f93\u7684\u5b9e\u73b0\u65b9\u5f0f\uff0c\u8fd9\u5bfc\u81f4\u5b83\u8ddfnmap\u6709\u7740\u6839\u672c\u6027\u7684\u533a\u522b\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u4ee5\u4e0a\u547d\u4ee4\u884c\u7684\u65b9\u5f0f\u6bd4\u8f83\u9ebb\u70e6\u3002\u4e0b\u9762\u6709\u66f4\u7b80\u5355\u7684\u65b9\u5f0f\uff0c\u5c31\u662f\u628a\u8bbe\u7f6e\u90fd\u4fdd\u5b58\u5728\u4e00\u4e2a\u6587\u4ef6\u4e2d\u3002\u4e0a\u9762\u547d\u4ee4\u7684\u4e2d\u7684\u8bbe\u7f6e\u5199\u5230\u6587\u4ef6\u4e2d\uff0c\u5982\u4e0b\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># My Scan<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">rate<\/span> =  <span class=\"code-snippet__number\">100000.00<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">output-format<\/span> = xml<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">output-status<\/span> = all<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">output-filename<\/span> = scan.xml<\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">ports<\/span> = <span class=\"code-snippet__number\">0<\/span>-<span class=\"code-snippet__number\">65535<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">range<\/span> = <span class=\"code-snippet__number\">0.0<\/span>.<span class=\"code-snippet__number\">0.0<\/span>-<span class=\"code-snippet__number\">255.255<\/span>.<span class=\"code-snippet__number\">255.255<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">excludefile<\/span> = exclude.txt<\/span><\/code><\/pre>\n<\/section>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u542f\u7528\u4ee5\u4e0a\u914d\u7f6e\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># masscan -c myscan.conf<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u5f53\u4f60\u91cd\u590d\u626b\u63cf\u65f6\uff0c\u4ee5\u4e0a\u7684\u65b9\u5f0f\u5c06\u4f1a\u8ba9\u626b\u63cf\u66f4\u52a0\u7b80\u5355\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u9ed8\u8ba4\u7684\uff0cmasscan\u9996\u6b21\u542f\u52a8\u5c31\u4f1a\u5bfc\u5165\u914d\u7f6e\u6587\u4ef6\uff1a\/etc\/masscan\/masscan.conf\u3002\u4f46\u4e4b\u540e\u7684\u914d\u7f6e\u53c2\u6570\u4fee\u6539\u90fd\u4f1a\u8986\u76d6\u4e4b\u524d\u7684\u9ed8\u8ba4\u6587\u4ef6\u3002\u6574\u4e2a\u5de5\u4f5c\u90fd\u662f\u81ea\u52a8\u5316\u5b8c\u6210\u7684\u3002<\/span><\/p>\n<h1><span style=\"font-size: 15px; color: #3da742;\"><strong>\u7ed3\u679c\u8f93\u51fa<\/strong><\/span><\/h1>\n<p><span style=\"font-size: 15px; color: #3da742;\"><strong>\u00a0<\/strong><\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u9ed8\u8ba4\u7684\uff0cmasscan\u4f1a\u4ea7\u751f\u540c\u6837\u5927\u5c0f\u7684\u6587\u672c\u6587\u4ef6\u3002\u540c\u65f6\u8fd9\u4e2a\u6587\u4ef6\u4e5f\u53ef\u4ee5\u5f88\u5bb9\u6613\u7684\u8f6c\u6362\u6210\u5176\u4ed6\u683c\u5f0f\u3002\u4e0b\u9762\u6709\u4e94\u79cd\u53ef\u4ee5\u652f\u6301\u7684\u683c\u5f0f\uff1a<\/span><\/p>\n<ul class=\"list-paddingleft-2\" style=\"padding-left: 2em; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\">\n<li style=\"box-sizing: border-box; font-size: 15px;\">\n<p><span style=\"font-size: 15px;\"><span style=\"box-sizing: border-box; font-weight: 600;\">xml<\/span>: \u4f7f\u7528\u53c2\u6570-oX &lt;filename&gt;. \u6216\u8005\u4f7f\u7528\u53c2\u6570 &#8211;output-format xml \u548c&#8211;output-filename &lt;filename&gt;.<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em; font-size: 15px;\">\n<p><span style=\"font-size: 15px;\"><span style=\"box-sizing: border-box; font-weight: 600;\">binary<\/span>: \u8fd9\u662fmasscan\u5185\u5efa\u6307\u4ee4. \u5b83\u8f93\u51fa\u7684\u6587\u4ef6\u66f4\u5c0f, \u626b\u63cf\u6574\u4e2a\u4e92\u8054\u7f51\u53ef\u4ee5\u7528\u8fd9\u4e2a\u53c2\u6570\uff0c\u4e0d\u81f3\u4e8e\u628a\u786c\u76d8\u585e\u6ee1\u3002\u5b83\u8fd8\u9700\u8981\u89e3\u6790. \u547d\u4ee4\u9009\u9879&#8211;readscan\u5c06\u4f1a\u8bfb\u53d6\u8fd9\u4e2a\u4e8c\u8fdb\u5236\u626b\u63cf\u6587\u4ef6\u3002\u4f7f\u7528&#8211;readscan\u518d\u642d\u914d-oX\u9009\u9879\u5c31\u4f1a\u8f93\u51fa\u4e00\u4e2axml\u7684\u626b\u63cf\u7ed3\u679c\u6587\u4ef6\u3002<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em; font-size: 15px;\">\n<p><span style=\"font-size: 15px;\"><span style=\"box-sizing: border-box; font-weight: 600;\">grepable<\/span>: \u8fd9\u662fnmap\u7684-oG\u9009\u9879\u5b9e\u73b0\u7684\uff0c\u8f93\u51fa\u7ed3\u679c\u5f88\u5bb9\u6613\u88ab\u547d\u4ee4\u884c\u5de5\u5177\u89e3\u6790\u3002\u53ea\u9700\u8981\u4f7f\u7528\u53c2\u6570-oG &lt;filename&gt;\u6216\u8005\u4f7f\u7528&#8211;output-format grepable\u548c &#8211;output-filename &lt;filename&gt;.<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em; font-size: 15px;\">\n<p><span style=\"font-size: 15px;\"><span style=\"box-sizing: border-box; font-weight: 600;\">json<\/span>: \u8f93\u51fa\u7ed3\u679c\u4fdd\u5b58\u4e3ajson\uff0c\u4f7f\u7528\u53c2\u6570-oJ &lt;filename&gt;\u6216\u8005&#8211;output-format json \u548c&#8211;output-filename &lt;filename&gt;\u3002<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em; font-size: 15px;\">\n<p><span style=\"font-size: 15px;\"><span style=\"box-sizing: border-box; font-weight: 600;\">list<\/span>: \u8fd9\u662f\u4e00\u4e2alist\uff0c\u6bcf\u884c\u4e00\u4e2aip\u548c\u7aef\u53e3\u5bf9\u513f\u3002\u4f7f\u7528\u53c2\u6570-oL &lt;filename&gt;\u6216\u8005&#8211;output-format list\u548c&#8211;output-filename &lt;filename&gt;. \u683c\u5f0f\u662f\uff1a<\/span><\/p>\n<\/li>\n<\/ul>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__section\">&lt;port state&gt;<\/span> <span class=\"code-snippet__section\">&lt;protocol&gt;<\/span> <span class=\"code-snippet__section\">&lt;port number&gt;<\/span> <span class=\"code-snippet__section\">&lt;IP address&gt;<\/span> <span class=\"code-snippet__section\">&lt;POSIX timestamp&gt;<\/span>  <\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attribute\">open<\/span> tcp 80 XXX.XXX.XXX.XXX 1390380064<\/span><\/code><\/pre>\n<\/section>\n<h1>\u00a0<\/h1>\n<h1><span style=\"font-size: 15px; color: #3da742;\"><strong>\u4e0eNmap\u7684\u6bd4\u8f83<\/strong><\/span><\/h1>\n<p><span style=\"font-size: 15px; color: #3da742;\"><strong>\u00a0<\/strong><\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u5c3d\u7ba1masscan\u8ddfnmap\u4ece\u6839\u672c\u4e0a\u6765\u8bf4\u662f\u5b8c\u5168\u4e0d\u540c\u7684\uff0c\u4f46\u662f\u5f00\u53d1\u8005\u5c3d\u4e86\u6700\u5927\u7684\u52aa\u529b\u8ba9namp\u7684\u7528\u6237\u4f7f\u7528masscan\u65f6\u4f1a\u89c9\u5f97\u6bd4\u8f83\u719f\u6089\u3002\u4e0b\u9762\u662f\u8fd9\u4e24\u6b3e\u5de5\u5177\u4e4b\u95f4\u6700\u91cd\u8981\u7684\u4e24\u4e2a\u4e0d\u540c\u70b9\uff1a<\/span><\/p>\n<ul class=\"list-paddingleft-2\" style=\"padding-left: 2em; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\">\n<li style=\"box-sizing: border-box; font-size: 15px;\">\n<p><span style=\"font-size: 15px;\">\u4e0d\u6307\u5b9a\u9ed8\u8ba4\u626b\u63cf\u7aef\u53e3, \u4f60\u5fc5\u987b\u660e\u786e\u626b\u63cf\u7aef\u53e3\uff1a-p &lt;ports&gt;<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em; font-size: 15px;\">\n<p><span style=\"font-size: 15px;\">\u76ee\u6807\u4e3b\u673a\u662fIP\u5730\u5740\u6216\u8005IP\u5730\u5740\u8303\u56f4, \u800c\u4e0d\u662fDNS\u540d\u6216\u8005nmap\u4f7f\u7528\u7684\u5b50\u7f51\u8303\u56f4(\u6bd4\u598210.0.0-255.0-255).<\/span><\/p>\n<\/li>\n<\/ul>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u4f60\u53ef\u4ee5\u8ba4\u4e3amasscan\u7684\u4ee5\u4e0b\u9009\u9879\u662f\u957f\u671f\u6709\u6548\u7684\uff1a<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">&#8211;<span style=\"box-sizing: border-box; font-weight: 600;\">sS<\/span>: \u53ea\u8fdb\u884cSYN\u63a2\u6d4b (\u76ee\u524d\u662f\u8fd9\u6837,\u5c06\u6765\u4f1a\u6539\u8fdb)<br style=\"box-sizing: border-box;\" \/>&#8211;<span style=\"box-sizing: border-box; font-weight: 600;\">Pn<\/span>: \u4e0d\u9996\u5148ping\u4e3b\u673a\uff0c\u8fd9\u662f\u5f02\u6b65\u4f20\u8f93\u7684\u57fa\u672c\u8981\u6c42<br style=\"box-sizing: border-box;\" \/>&#8211;<span style=\"box-sizing: border-box; font-weight: 600;\">n<\/span>: \u4e0d\u8fdb\u884cDNS\u89e3\u6790<br style=\"box-sizing: border-box;\" \/>&#8212;<span style=\"box-sizing: border-box; font-weight: 600;\">randomize-hosts<\/span>: \u5b8c\u5168\u968f\u673a\u5316\u626b\u63cf<br style=\"box-sizing: border-box;\" \/>&#8212;<span style=\"box-sizing: border-box; font-weight: 600;\">send-eth<\/span>: \u53d1\u9001\u539f\u751f\u6570\u636e\u5305<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u5982\u679c\u4f60\u60f3\u4e86\u89e3\u5176\u4ed6\u548cnmap\u517c\u5bb9\u7684\u8bbe\u7f6e\uff0c\u4f7f\u7528\u4e0b\u9762\u7684\u547d\u4ee4\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__comment\"># masscan --nmap<\/span><\/span><\/code><\/pre>\n<\/section>\n<h1>\u00a0<\/h1>\n<h1><span style=\"font-size: 15px; color: #3da742;\"><strong>\u4f20\u8f93\u901f\u7387(\u91cd\u8981\uff01\uff01\uff01)<\/strong><\/span><\/h1>\n<p><span style=\"font-size: 15px; color: #3da742;\"><strong>\u00a0<\/strong><\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u8fd9\u4e2a\u7a0b\u5e8f\u53d1\u9001\u6570\u636e\u5305\u975e\u5e38\u5feb\u3002\u5728windows\u6216\u8005\u662f\u865a\u62df\u673a\u4e2d\uff0c\u53ef\u4ee5\u8fbe\u523030\u4e07\/\u79d2\u7684\u901f\u7387\u3002\u5728linux\uff08\u4e0d\u662f\u865a\u62df\u673a\uff09\u4e0a\uff0c\u53ef\u8fbe\u5230160\u4e07\/\u79d2\u3002\u901f\u5ea6\u5feb\u5230\u53ef\u4ee5\u6467\u6bc1\u5927\u90e8\u5206\u7684\u7f51\u7edc\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u6ce8\u610f\uff0c\u8fd9\u4e2a\u5de5\u5177\u53ea\u80fd\u7528\u6765\u81ea\u5df1\u7834\u574f\u81ea\u5df1\u7684\u7f51\u7edc\u3002\u8be5\u5de5\u5177\u5728\u4f7f\u7528\u65f6\u968f\u673a\u9009\u62e9\u76ee\u6807IP\uff0c\u4e0d\u5e94\u8be5\u7528\u6765\u7834\u574f\u4efb\u4f55\u4e00\u4e2a\u8fdc\u7a0b\u7f51\u7edc\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u9ed8\u8ba4\u7684\u626b\u63cf\u901f\u7387\u662f100\u6570\u636e\u5305\/\u79d2\u3002\u53ef\u4ee5\u4f7f\u7528\u4e0b\u9762\u7684\u9009\u9879\u6765\u63d0\u9ad8\u901f\u7387\u5230\u4e00\u767e\u4e07\uff1a&#8211;rate 1000000\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u4ee5\u4e0b\u51e0\u90e8\u5206\u5c06\u4e3b\u8981\u4ecb\u7ecdMasscan\u7684\u8bbe\u8ba1\u95ee\u9898\uff0c\u5e2e\u52a9\u4f60\u4e86\u89e3\u4e3a\u4ec0\u4e48\u672c\u5de5\u5177\u4f1a\u6709\u8fd9\u4e48\u5f3a\u5927\u7684\u6027\u80fd\u3002\u611f\u5174\u8da3\u7684\u540c\u5b66\uff0c\u53ef\u7ee7\u7eed\u5f80\u4e0b\u9605\u8bfb\u3002<br \/><\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\">\u00a0<\/p>\n<h2><span style=\"font-size: 15px; color: #3da742;\"><strong>Code Layout<\/strong><\/span><\/h2>\n<p><span style=\"font-size: 15px; color: #3da742;\"><strong>\u00a0<\/strong><\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">main.c\u6587\u4ef6\u5305\u542b\u4e86<span style=\"box-sizing: border-box; font-weight: 600;\">main<\/span>()\u51fd\u6570\uff0c\u4e5f\u5305\u542b\u4e86<span style=\"box-sizing: border-box; font-weight: 600;\">transmit_thread<\/span>()\u548c\u00a0<span style=\"box-sizing: border-box; font-weight: 600;\">receive_thread<\/span>()\u51fd\u6570\u3002\u8fd9\u4e9b\u51fd\u6570\u523b\u610f\u5199\u7684\u6bd4\u8f83\u901a\u4fd7\u6613\u61c2\uff0c\u4e14\u6709\u5927\u91cf\u7684\u6ce8\u91ca\u3002\u4f60\u53ef\u4ee5\u9010\u884c\u9605\u8bfb\u8fd9\u4e9b\u4ee3\u7801\u6765\u4e86\u89e3\u8fd9\u4e2a\u7a0b\u5e8f\u7684\u8bbe\u8ba1\u3002<\/span><\/p>\n<h2><span style=\"font-size: 15px; color: #3da742;\"><strong>\u5f02\u6b65\u4f20\u8f93<\/strong><\/span><\/h2>\n<p><span style=\"font-size: 15px; color: #3da742;\"><strong>\u00a0<\/strong><\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">masscan\u662f\u4e00\u4e2a\u5f02\u6b65\u4f20\u8f93\u7684\u8bbe\u8ba1\u3002\u6362\u53e5\u8bdd\u8bf4\uff0c\u5b83\u548cnmap\u7684\u5173\u7cfb\u5c31\u597d\u6bd4nginx\u548capache\u7684\u5173\u7cfb\u3002\u5b83\u7684\u53d1\u9001\u548c\u63a5\u6536\u7ebf\u7a0b\u662f\u5206\u5f00\u7684\uff0c\u76f8\u4e92\u4e4b\u95f4\u5177\u6709\u6781\u5927\u7684\u72ec\u7acb\u6027\u3002\u5728scanrand, unicornscan\u548cZMap\u4e2d\u4e5f\u6709\u540c\u6837\u7684\u8bbe\u8ba1\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u7531\u4e8e\u5b83\u7684\u5f02\u6b65\u6027\uff0c\u5305\u5141\u8bb8\u4f20\u8f93\u591a\u5757\uff0c\u8be5\u5de5\u5177\u5c31\u53ef\u4ee5\u8fd0\u884c\u591a\u5757\u3002<\/span><\/p>\n<h1><span style=\"font-size: 15px; color: #3da742;\"><strong>\u968f\u673a\u9009\u62e9<\/strong><\/span><\/h1>\n<p><span style=\"font-size: 15px; color: #3da742;\"><strong>\u00a0<\/strong><\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">Masscan\u548c\u5176\u4ed6\u626b\u63cf\u5668\u4e4b\u95f4\u4e00\u4e2a\u6700\u5173\u952e\u7684\u533a\u522b\u5728\u4e8e\u5b83\u7684\u76ee\u6807\u5730\u5740\u662f\u968f\u673a\u7684\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u6700\u57fa\u672c\u7684\u539f\u5219\u662f\u5b9a\u4e49\u4e00\u4e2a\u4ece0\u5f00\u59cb\u7684\u7d22\u5f15\u53d8\u91cf\uff0c\u5728\u6bcf\u6b21\u63a2\u6d4b\u65f6\uff0c\u6bcf\u6b21\u589e\u52a01\u3002\u7528C\u8bed\u8a00\u5b9e\u73b0\u5982\u4e0b\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__keyword\">for<\/span> (i = <span class=\"code-snippet__number\">0<\/span>; i &lt; <span class=\"code-snippet__keyword\">range<\/span>; i++) {<\/span><\/code><code><span class=\"code-snippet_outer\">    scan(i);<\/span><\/code><code><span class=\"code-snippet_outer\">}<\/span><\/code><\/pre>\n<\/section>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u8fd8\u5fc5\u987b\u628a\u7d22\u5f15\u7ffb\u8bd1\u6210IP\u5730\u5740\u3002\u5982\u679c\u4f60\u60f3\u626b\u63cf\u6240\u6709\u7684\u79c1\u6709IP\uff0c\u90a3\u4e48\u626b\u63cf\u8303\u56f4\u5982\u4e0b\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\">192.168.0.0\/16<\/span><\/code><code><span class=\"code-snippet_outer\">10.0.0.0\/8<\/span><\/code><code><span class=\"code-snippet_outer\">172.16.0.0\/12<\/span><\/code><\/pre>\n<\/section>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u524d64K\u7684\u7d22\u5f15\u5bf9\u5e94\u7684\u76ee\u6807\u5730\u5740\u662f192.168.x.x\u3002\u7136\u540e\uff0c\u540e\u6765\u7684160\u4e07\u4e2a\u7d22\u5f15\u5bf9\u5e94\u7684\u76ee\u6807\u5730\u5740\u662f10.x.x.x\u3002\u6700\u540e\uff0c\u5176\u4f59\u7684\u7d22\u5f15\u5bf9\u5e94\u7684\u76ee\u6807\u5730\u5740\u8303\u56f4\u662f172.16.x.x\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u4e0a\u9762\u7684\u4f8b\u5b50\u6211\u4eec\u53ea\u67093\u4e2a\u8303\u56f4\u3002\u5f53\u626b\u63cf\u6574\u4e2a\u4e92\u8054\u7f51\u7684\u65f6\u5019\uff0c\u5b9e\u9645\u4e0a\u4f1a\u8d85\u8fc7100\u4e2a\u8303\u56f4\u3002\u90a3\u662f\u56e0\u4e3a\u4f60\u5fc5\u987b\u8bbe\u7f6e\u9ed1\u540d\u5355\u8fd8\u6709\u5f88\u591a\u6392\u9664\u5728\u5916\u7684\u5b50\u7f51\u8303\u56f4\u3002\u8fd9\u4e2a\u628a\u60f3\u626b\u63cf\u7684\u8303\u56f4\u5206\u5272\u6210\u4e86\u6210\u767e\u4e2a\u66f4\u5c0f\u7684\u8303\u56f4\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u8fd9\u5c31\u5bfc\u81f4\u7a0b\u5e8f\u8fd0\u884c\u53d8\u6162\u3002\u6211\u4eec\u6bcf\u79d2\u4f20\u8f93100\u4e07\u4e2a\u5305\uff0c\u5e76\u4e14\u5fc5\u987b\u6bcf\u6b21\u4f20\u8f93\u5305\u548c\u63a2\u6d4b\u90fd\u9700\u8981\u5c06\u7d22\u5f15\u53d8\u91cf\u8f6c\u6362\u6210IP\u5730\u5740\u3002\u6211\u4eec\u901a\u8fc7\u4f7f\u7528\u4e8c\u5206\u6cd5\u6765\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u800c\u4e14\u5360\u7528\u5f88\u5c11\u7684\u5185\u5b58\u3002\u5305\u4f20\u8f93\u5728\u8fd9\u79cd\u901f\u7387\u4e0b\uff0c\u7f13\u5b58\u6548\u7387\u5f00\u59cb\u5f71\u54cd\u7b97\u6cd5\u6548\u7387\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u7406\u8bba\u4e0a\u8fd8\u5b58\u5728\u5927\u91cf\u66f4\u6709\u6548\u7684\u6280\u672f\u624b\u6bb5\uff0c\u4f46\u662f\uff0c\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u8fd9\u4e9b\u624b\u6bb5\u90fd\u56e0\u4e3a\u5360\u7528\u8fc7\u591a\u5185\u5b58\u800c\u5bfc\u81f4\u901f\u5ea6\u53d8\u7684\u66f4\u6162\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u6211\u4eec\u58f0\u660e\u4e00\u4e2a\u51fd\u6570<span style=\"box-sizing: border-box; font-weight: 600;\">pick<\/span>()\uff0c\u7528\u6765\u5b9e\u73b0\u628a\u7d22\u5f15\u8f6c\u6362\u6210IP\u5730\u5740\u3002\u5b9e\u73b0\u5982\u4e0b\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">for<\/span> <span class=\"code-snippet__string\">(i = 0; i &lt; range; i++) {<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__attr\">ip<\/span> = <span class=\"code-snippet__string\">pick(addresses, i);<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__attr\">scan(ip);<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">}<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">Masscan\u4e0d\u4ec5\u652f\u6301IP\u8303\u56f4\uff0c\u4e5f\u652f\u6301\u7aef\u53e3\u8303\u56f4\u3002\u8fd9\u610f\u5473\u7740\uff0c\u6211\u4eec\u9700\u8981\u4eceIP\u5730\u5740\u548c\u7aef\u53e3\u7684\u7d22\u5f15\u53d8\u91cf\u4e2d\u53bb\u62ffIP\u548c\u7aef\u53e3\u3002\u4e0b\u9762\u662f\u5b9e\u73b0\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">range<\/span> = <span class=\"code-snippet__string\">ip_count * port_count;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">for<\/span> <span class=\"code-snippet__string\">(i = 0; i &lt; range; i++) {<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__attr\">ip<\/span>   = <span class=\"code-snippet__string\">pick(addresses, i \/ port_count);<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__attr\">port<\/span> = <span class=\"code-snippet__string\">pick(ports,     i % port_count);<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__meta\">scan(ip,<\/span> <span class=\"code-snippet__string\">port);<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">}<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u8fd9\u53c8\u589e\u52a0\u4e86\u4ee3\u7801\u7684\u53e6\u4e00\u4e2a\u8d1f\u62c5\u3002\u5728X86\u67b6\u6784\u7684CPU\u4e0a\uff0c\u9664\u6cd5\/\u53d6\u6a21\u8fd0\u7b97\u6307\u4ee4\u5927\u7ea6\u9700\u898190\u4e2a\u65f6\u949f\u5468\u671f\u6216\u800530\u7eb3\u79d2\u3002\u5f53\u4ee5100\u4e07\u5305\/\u79d2\u7684\u901f\u7387\u4f20\u8f93\u65f6\uff0c\u6bcf\u4e2a\u5305\u4ec5\u4ec5\u53ea\u6709100\u7eb3\u79d2\u7684\u65f6\u95f4\u3002\u6211\u627e\u4e0d\u5230\u66f4\u52a0\u4f18\u5316\u7684\u65b9\u5f0f\u4e86\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u5e78\u8fd0\u7684\u662f\uff0c\u4e24\u4e2a\u8fd9\u6837\u7684\u64cd\u4f5c\u53ef\u4ee5\u540c\u65f6\u8fdb\u884c\u3002\u56e0\u6b64\uff0c\u505a\u4e0a\u9762\u7684\u4e24\u4e2a\u8fd0\u7b97\u4e0d\u4f1a\u6bd4\u505a\u4e00\u4e2a\u589e\u52a0\u8d1f\u62c5\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u4e8b\u5b9e\u4e0a\uff0c\u5bf9\u4e8e\u4e0a\u8ff0\u7684\u8fd0\u7b97\u95ee\u9898\uff0c\u5b58\u5728\u7740\u66f4\u4f18\u7684\u9009\u62e9\u3002\u4f46\u662f\u9010\u4e00\u589e\u52a0\u7d22\u5f15\u53d8\u91cf\u8981\u901a\u8fc7C++\u5b9e\u73b0\u3002\u5b9e\u9645\u4e0a\uff0c\u6211\u4eec\u9700\u8981\u968f\u673a\u5316\u8fd9\u4e2a\u53d8\u91cf\u3002\u6211\u4eec\u8981\u968f\u673a\u5316\u76ee\u6807IP\u5730\u5740\u7684\u626b\u63cf\u987a\u5e8f\uff0c\u5426\u5219\u7531\u4e8e\u626b\u63cf\u901f\u5ea6\u8fc7\u5feb\uff0c\u4f1a\u7834\u574f\u76ee\u6807\u7f51\u7edc\u3002\u6211\u4eec\u8981\u5747\u5300\u7684\u5c06\u6d41\u91cf\u5206\u644a\u5230\u76ee\u6807\u5730\u5740\u4e0a\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u6211\u4eec\u968f\u673a\u5316\u7684\u65b9\u5f0f\u975e\u5e38\u7b80\u5355\uff0c\u5c31\u662f\u52a0\u5bc6\u7d22\u5f15\u53d8\u91cf\u3002\u6839\u636e\u5b9a\u4e49\uff0c\u52a0\u5bc6\u662f\u968f\u673a\u7684\uff0c\u5e76\u4e14\u5728\u539f\u59cb\u7684\u7d22\u5f15\u53d8\u91cf\u548c\u8f93\u51fa\u4e4b\u95f4\u589e\u52a0\u4e00\u4e2a\u4e00\u5bf9\u4e00\u7684mapping\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u8fd9\u610f\u5473\u7740\uff0c\u6211\u4eec\u7ebf\u6027\u7684\u5b8c\u6210\u4e86\u8fd9\u4e2a\u8303\u56f4\uff0c\u4f46\u662f\u8f93\u51fa\u7684IP\u5730\u5740\u5374\u662f\u5b8c\u5168\u968f\u673a\u7684\u3002\u4ee3\u7801\u5b9e\u73b0\u5982\u4e0b\uff1a<\/span><\/p>\n<section class=\"code-snippet__fix code-snippet__js\">\n<ul class=\"code-snippet__line-index code-snippet__js\">\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<li>\u00a0<\/li>\n<\/ul>\n<pre class=\"code-snippet__js\"><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">range<\/span> = <span class=\"code-snippet__string\">ip_count * port_count;<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">for<\/span> <span class=\"code-snippet__string\">(i = 0; i &lt; range; i++) {<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__attr\">x<\/span> = <span class=\"code-snippet__string\">encrypt(i);<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__attr\">ip<\/span>   = <span class=\"code-snippet__string\">pick(addresses, x \/ port_count);<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__attr\">port<\/span> = <span class=\"code-snippet__string\">pick(ports,     x % port_count);<\/span><\/span><\/code><code><span class=\"code-snippet_outer\">    <span class=\"code-snippet__meta\">scan(ip,<\/span> <span class=\"code-snippet__string\">port);<\/span><\/span><\/code><code><span class=\"code-snippet_outer\"><span class=\"code-snippet__attr\">}<\/span><\/span><\/code><\/pre>\n<\/section>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u8fd9\u4e5f\u662f\u4e00\u4e2a\u4e3b\u8981\u7684\u6210\u672c\u3002\u4e00\u65e6\u8fd9\u4e2a\u8303\u56f4\u503c\u662f\u4e0d\u53ef\u9884\u6d4b\u7684\u5927\u5c0f\uff0c\u800c\u4e0d\u662f2\u7684\u500d\u6570\uff0c\u6211\u4eec\u5c31\u4e0d\u80fd\u7528\u6bd4\u8f83\u8282\u7ea6\u8d44\u6e90\u7684\u4e8c\u8fdb\u5236\u6280\u672f\uff0c\u6bd4\u5982&amp;\u548c^\u3002\u76f8\u53cd\uff0c\u6211\u4eec\u5c31\u5fc5\u987b\u4f7f\u7528%\u64cd\u4f5c\u7b26\u3002\u5728\u6211\u5f53\u524d\u7684\u57fa\u51c6\u4e0b\uff0c\u52a0\u5bc6\u4e00\u4e2a\u53d8\u91cf\u9700\u8981\u82b1\u8d3940\u7eb3\u79d2\u7684\u65f6\u95f4\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u8fd9\u4e2a\u67b6\u6784\u5141\u8bb8\u5f88\u591a\u6bd4\u8f83\u9177\u7684\u7279\u6027\u3002\u4f8b\u5982\uff0c\u652f\u6301\u5206\u7247\u3002\u4f60\u53ef\u4ee5\u9009\u62e95\u4e2a\u673a\u5668\uff0c\u6bcf\u4e2a\u673a\u5668\u8bbe\u7f6e\u4e94\u5206\u4e4b\u4e00\u7684\u626b\u63cf\uff0c\u6216\u8005\u4f7f\u7528<span style=\"box-sizing: border-box; font-weight: 600;\">\u8303\u56f4\u6570\/\u5206\u7247\u6570<\/span>\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u5206\u7247\u53ef\u4ee5\u901a\u8fc7\u591a\u53f0\u673a\u5668\u5b9e\u73b0\uff0c\u6216\u8005\u5355\u53f0\u673a\u5668\u591a\u4e2a\u7f51\u5361\u5b9e\u73b0\u3002\u5982\u679c\u4f60\u60f3\uff0c\u4e5f\u53ef\u4ee5\u5728\u4e00\u4e2a\u7f51\u5361\u4e0a\u5206\u914d\u591a\u4e2aIP\u5730\u5740\u6765\u5b9e\u73b0\u5206\u7247\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u6216\u8005\uff0c\u4f60\u4e5f\u53ef\u4ee5\u5728\u52a0\u5bc6\u51fd\u6570\u4e0a\u4f7f\u7528\u4e00\u4e2aseed\u6216\u4e00\u4e2akey\uff0c\u4ee5\u6b64\uff0c\u6bcf\u6b21\u626b\u63cf\u65f6\uff0c\u4f60\u53ef\u4ee5\u5f97\u5230\u4e00\u4e2a\u4e0d\u540c\u7684\u987a\u5e8f\u3002\u6bd4\u5982x = encrypt(seed, i)\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u6211\u4eec\u4e5f\u53ef\u4ee5\u901a\u8fc7\u9000\u51fa\u7a0b\u5e8f\u6765\u6682\u505c\u626b\u63cf\uff0c\u5e76\u4e14\u8bb0\u4f4f\u5f53\u524d\u7684i\u503c\uff0c\u4e4b\u540e\u518d\u91cd\u542f\u626b\u63cf\u3002\u5728\u6574\u4e2a\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u6211\u505a\u4e86\u5f88\u591a\u3002\u6211\u6ce8\u610f\u5230\uff0c\u5728\u4e92\u8054\u7f51\u626b\u63cf\u65f6\uff0c\u51fa\u73b0\u4e86\u9519\u8bef\uff0c\u6211\u5c31\u53bb\u7ec8\u6b62\u626b\u63cf\u3002\u7136\u540e\u5728\u6211\u4fee\u590dbug\u540e\uff0c\u518d\u91cd\u542f\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u53e6\u4e00\u4e2a\u7279\u70b9\u5c31\u662f\u91cd\u53d1\u3002\u6570\u636e\u5305\u5728\u7f51\u7edc\u4f20\u8f93\u4e2d\u6709\u65f6\u4f1a\u4e22\u5931\uff0c\u56e0\u6b64\u4f60\u53ef\u4ee5\u63a5\u8fde\u53d1\u4e24\u4e2a\u5305\u3002\u4f46\u662f\uff0c\u6709\u65f6\u4f1a\u51fa\u73b0\u4e00\u4e2a\u5305\u4e22\u5931\uff0c\u53e6\u4e00\u4e2a\u7d27\u8ddf\u7740\u7684\u5305\u4e5f\u4e22\u5931\u7684\u60c5\u51b5\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u56e0\u6b64\uff0c\u4f60\u60f3\u8981\u53d1\u9001\u6570\u636e\u7684\u4e8c\u5206\u4e4b\u4e00\u7684\u526f\u672c\uff0c\u8fd9\u5f88\u7b80\u5355\u3002\u6211\u4eec\u6709\u4e00\u4e2arate\u53d8\u91cf\uff0c\u8fd9\u4e2a\u53d8\u91cf\u662f\u6bcf\u79d2\u949f\u4f20\u8f93\u6570\u636e\u5305\u7684\u6570\u91cf\uff0c\u56e0\u6b64\u91cd\u65b0\u4f20\u8f93\u7684\u51fd\u6570\u5c31\u662f\u5728\u7d22\u5f15\u7684\u57fa\u7840\u4e0a\uff0c\u7b80\u5355\u7528i+rate\u5373\u53ef\u3002<\/span><\/p>\n<h1><span style=\"font-size: 15px; color: #3da742;\"><strong>C10\u6269\u5c55<\/strong><\/span><\/h1>\n<p><span style=\"font-size: 15px; color: #3da742;\"><strong>\u00a0<\/strong><\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u5f02\u6b65\u4f20\u8f93\u6280\u672f\u56e0\u4e3a\u89e3\u51b3\u4e86C10K\u95ee\u9898\u800c\u88ab\u719f\u77e5\u3002Masscan\u7684\u8bbe\u8ba1\u662f\u4e3a\u4e86\u4e0b\u4e00\u4e2a\u91cf\u7ea7\u6269\u5c55\uff1aC10M\u95ee\u9898\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">C10M\u95ee\u9898\u7684\u89e3\u51b3\u65b9\u5f0f\u5c31\u662f\u7ed5\u8fc7\u5185\u6838\u3002\u5728Masscan\u4e2d\uff0c\u4e3b\u8981\u6709\u4e09\u79cd\u5185\u6838\u7ed5\u8fc7\u65b9\u5f0f\uff1a<\/span><\/p>\n<ul class=\"list-paddingleft-2\" style=\"padding-left: 2em; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\">\n<li style=\"box-sizing: border-box; font-size: 15px;\">\n<p><span style=\"font-size: 15px;\">\u81ea\u5b9a\u4e49\u7f51\u7edc\u9a71\u52a8<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em; font-size: 15px;\">\n<p><span style=\"font-size: 15px;\">\u7528\u6237\u6a21\u5f0fTCP\u6808<\/span><\/p>\n<\/li>\n<li style=\"box-sizing: border-box; margin-top: 0.25em; font-size: 15px;\">\n<p><span style=\"font-size: 15px;\">\u7528\u6237\u6a21\u5f0f\u5f02\u6b65\u4f20\u8f93<\/span><\/p>\n<\/li>\n<\/ul>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">Masscan\u53ef\u4ee5\u4f7f\u7528PF_RING DNA\u9a71\u52a8\u5668\u3002\u8fd9\u4e2a\u9a71\u52a8\u91c7\u7528\u76f4\u63a5\u5185\u5b58\u8bbf\u95ee\u7684\u65b9\u5f0f\u4f20\u8f93\u6570\u636e\u5305\u3002\u6570\u636e\u5305\u4f20\u8f93\u6ca1\u6709\u5185\u6838\u7684\u5e72\u9884\uff0c\u76f4\u63a5\u4ece\u7528\u6237\u6a21\u5f0f\u5185\u5b58\u5230\u7f51\u7edc\u9a71\u52a8\u5668\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u8fd9\u79cd\u65b9\u5f0f\u5141\u8bb8\u8f6f\u4ef6\u4ee5\u786c\u4ef6\u53ef\u652f\u6301\u7684\u6700\u5927\u901f\u7387\u4f20\u8f93\u6570\u636e\u5305\uff0c\u5373\u4f7f\u662f\u4e00\u4e2a\u4f4e\u901fCPU\u3002<\/span><span style=\"font-size: 15px;\">\u5982\u679c\u4e00\u53f0\u7535\u8111\u4e0a\u67098\u4e2a10-gbps\u4e2a\u7f51\u5361\uff0c\u8fd9\u610f\u5473\u7740\uff0c\u4f60\u7684\u4f20\u8f93\u901f\u5ea6\u53ef\u4ee5\u8fbe\u5230\u4e00\u4ebf\/\u79d2\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">Masscan\u6709\u5b83\u81ea\u5df1\u5185\u5efa\u7684TCP\u6808\uff0c\u8fd9\u662f\u4e3a\u4e86\u53ef\u4ee5\u4eceTCP\u8fde\u63a5\u4e2d\u83b7\u53d6banner\u3002\u8fd9\u610f\u5473\u7740\u5982\u679c\u7535\u8111\u6709\u8db3\u591f\u7684\u5185\u5b58\uff0c\u5b83\u53ef\u4ee5\u8f7b\u6613\u7684\u652f\u6301\u4e00\u767e\u4e07\u5e76\u53d1\u7684TCP\u8fde\u63a5\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">Masscan\u6ca1\u6709\u4e92\u65a5\u9501\u3002\u73b0\u4ee3\u7684\u4e92\u65a5\u9501(aka. futexes)\u4e3b\u8981\u662f\u7528\u6237\u6a21\u5f0f\uff0c\u4f46\u662f\u4ed6\u4eec\u90fd\u5b58\u5728\u4e24\u4e2a\u95ee\u9898\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u7b2c\u4e00\u4e2a\u95ee\u9898\u662f\uff0c\u4ed6\u4eec\u9020\u6210\u4e86\u7f13\u5b58\u94fe\u5728CPU\u4e4b\u95f4\u6765\u56de\u8df3\u52a8\uff1b\u7b2c\u4e8c\u4e2a\u95ee\u9898\u662f\uff0c\u5f53\u5b58\u5728\u8d44\u6e90\u4e89\u593a\u65f6\uff0c\u4ed6\u4eec\u4f1a\u505a\u4e00\u4e2a\u7cfb\u7edf\u58f0\u660e\uff0c\u8fdb\u5165\u5185\u6838\u3002\u8fd9\u4f1a\u6740\u6389\u6027\u80fd\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\"><br style=\"box-sizing: border-box;\" \/>\u4e92\u65a5\u9501\u5728\u7a0b\u5e8f\u7684\u901f\u5ea6\u4e4b\u8def\u4e0a\uff0c\u4e25\u91cd\u9650\u5236\u4e86\u7a0b\u5e8f\u7684\u53ef\u6269\u5c55\u6027\u3002\u76f8\u53cd\uff0cMasscan \u4f7f\u7528\u201c\u73af\u201d\u6765\u540c\u6b65\u5904\u7406\u8fd9\u4e2a\u4e8b\u60c5\uff0c\u6bd4\u5982\uff0c\u5f53\u7528\u6237\u6a21\u5f0f\u4e0b\u7684TCP\u6808\u5728\u63a5\u6536\u4e00\u4e2a\u7ebf\u7a0b\u65f6\uff0c\u8fd9\u4e2a\u7ebf\u7a0b\u4f20\u8f93\u7684\u5305\u4e0d\u80fd\u88ab\u8fd9\u4e2a\u4f20\u8f93\u7ebf\u7a0b\u5e72\u6d89\u3002<\/span><\/p>\n<h1><span style=\"font-size: 15px; color: #3da742;\"><strong>\u79fb\u690d\u6027<\/strong><\/span><\/h1>\n<p><span style=\"font-size: 15px; color: #3da742;\"><strong>\u00a0<\/strong><\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u8fd9\u4e2a\u4ee3\u7801\u53ef\u4ee5\u5f88\u597d\u7684\u5728linux\uff0cwindows\u8fd8\u6709mac os X\u4e0a\u8fd0\u884c\u3002\u6240\u6709\u91cd\u8981\u4f4d\u90fd\u57fa\u4e8eC90\u6807\u51c6\u3002\u56e0\u6b64\u53ef\u4ee5\u4f7f\u7528\u5fae\u8f6f\u7684Visual Studio \u7f16\u8bd1\u3002\u8fd8\u53ef\u4ee5\u4f7f\u7528Clang\/LLVM\u5728Mac OS X\u4e0a\u7f16\u8bd1\uff0c\u4e5f\u53ef\u4ee5\u7528GCC\u5728linux\u4e0a\u5b8c\u6210\u7f16\u8bd1\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">windows\u548cMac\u4e0a\u4e0d\u80fd\u8bbe\u7f6e\u4f20\u8f93\u5305\u7684\u6570\u91cf\uff0c\u53ea\u80fd\u662f\u9ed8\u8ba4\u503c30\u4e07\/\u79d2\uff0c\u7136\u800clinux\u4e0a\u53ef\u4ee5\u505a\u5230150\u4e07\/\u79d2\u3002\u4e0d\u7ba1\u600e\u6837\uff0c\u90fd\u4f1a\u6bd4\u4f60\u60f3\u8c61\u4e2d\u8981\u5feb\u3002<\/span><\/p>\n<h1><span style=\"font-size: 15px; color: #3da742;\"><strong>\u4ee3\u7801\u5b89\u5168<\/strong><\/span><\/h1>\n<p><span style=\"font-size: 15px; color: #3da742;\"><strong>\u00a0<\/strong><\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u8be5\u9879\u76ee\u4e3a\u8106\u5f31\u6027\u53d1\u73b0\u63d0\u4f9b\u4e86\u5956\u91d1\uff0c\u5177\u4f53\u4fe1\u606f\u67e5\u770b\u6587\u4ef6 VULNINFO.md\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u8fd9\u4e2a\u9879\u76ee\u4f7f\u7528\u4e86\u5b89\u5168\u51fd\u6570strcpy_s()\uff0cstrcpy()\u51fd\u6570\u4e0d\u5b89\u5168\u3002<\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u8fd9\u4e2a\u9879\u76ee\u6709\u81ea\u52a8\u5316\u5355\u5143\u56de\u5f52\u6d4b\u8bd5\u3002<\/span><\/p>\n<h1><span style=\"font-size: 15px; color: #3da742;\"><strong>\u517c\u5bb9\u6027<\/strong><\/span><\/h1>\n<p><span style=\"font-size: 15px; color: #3da742;\"><strong>\u00a0<\/strong><\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u4e3a\u4e86\u8ba9\u6bcf\u4e2a\u4f7f\u7528\u7aef\u53e3\u626b\u63cf\u7684\u4eba\u90fd\u6709\u79cd\u719f\u6089\u7684\u611f\u89c9\uff0c\u8be5\u5de5\u5177\u7684\u5f00\u53d1\u4e2d\u505a\u4e86\u5f88\u591a\u7684\u52aa\u529b\uff0c\u8ba9\u5b83\u7684\u8f93\u5165\/\u8f93\u51fa\u66f4\u50cf\u662fnmap\u3002<\/span><\/p>\n<h1><span style=\"font-size: 15px; color: #3da742;\"><strong>\u4f5c\u8005<\/strong><\/span><\/h1>\n<p><span style=\"font-size: 15px; color: #3da742;\"><strong>\u00a0<\/strong><\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">\u8fd9\u4e2a\u5de5\u5177\u7531Robert Graham\u5f00\u53d1\u3002<br style=\"box-sizing: border-box;\" \/>\u90ae\u7bb1:\u00a0robert_david_graham@yahoo.com<br style=\"box-sizing: border-box;\" \/>twitter: @ErrataRob<br style=\"box-sizing: border-box;\" \/><\/span><\/p>\n<p><span style=\"font-size: 15px; color: #3da742;\"><strong>\u9879\u76ee\u5730\u5740\uff1a<\/strong><\/span><\/p>\n<p style=\"box-sizing: border-box; margin-bottom: 16px; color: #24292e; font-family: -apple-system, BlinkMacSystemFont, \u5fae\u8f6f\u96c5\u9ed1, 'PingFang SC', Helvetica, Arial, 'Hiragino Sans GB', 'Microsoft YaHei', SimSun, \u5b8b\u4f53, Heiti, \u9ed1\u4f53, sans-serif; font-size: 14px; text-align: start; white-space: normal;\"><span style=\"font-size: 15px;\">https:\/\/github.com\/robertdavidgraham\/masscan<\/span><\/p>\n<p style=\"max-width: 100%; min-height: 1em; font-family: -apple-system-font, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; letter-spacing: 0.544px; white-space: normal; background-color: #ffffff; text-align: center; box-sizing: border-box !important; overflow-wrap: break-word !important;\"><span style=\"max-width: 100%; font-size: 15px; color: #b2b2b2; box-sizing: border-box !important; overflow-wrap: break-word !important;\">&#8211;\u00a0EOF &#8211; <\/span><\/p>\n<\/div>\n\n\n<p>\u8f6c\u81ea\uff1ahttps:\/\/mp.weixin.qq.com\/s\/b0VCFVc2tOMMaIQh1pgE3w<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3010\u5bfc\u8bed\u3011\uff1aMasscan\u00a0\u662f\u4e00\u4e2a\u6279\u91cf\u7aef\u53e3\u626b\u63cf\u5668\uff0c\u7a0b\u5e8f\u8fd0\u884c\u5728\u5355\u673a\u4e0a\uff0c\u6bcf\u79d2\u4f20\u8f93 1 \u5343\u4e07\u4e2a\u6570\u636e\u5305\uff0c\u53ef\u4ee5\u5728 6 \u5206\u949f &hellip; <a href=\"http:\/\/www.zhushiyao.com\/?p=48533\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb<span class=\"screen-reader-text\">\u201c\u8fc4\u4eca\u4e3a\u6b62\u901f\u5ea6\u6700\u5feb\u7684\u7aef\u53e3\u626b\u63cf\u5668\u201d<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts\/48533"}],"collection":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=48533"}],"version-history":[{"count":3,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts\/48533\/revisions"}],"predecessor-version":[{"id":48542,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=\/wp\/v2\/posts\/48533\/revisions\/48542"}],"wp:attachment":[{"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=48533"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=48533"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.zhushiyao.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=48533"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}