{"id":438,"date":"2014-07-07T05:19:48","date_gmt":"2014-07-07T05:19:48","guid":{"rendered":"http:\/\/ixyzero.com\/blog\/?p=438"},"modified":"2014-07-07T05:19:48","modified_gmt":"2014-07-07T05:19:48","slug":"%e8%bd%acnmap%e9%ab%98%e7%ba%a7%e7%94%a8%e6%b3%95%e4%b8%8e%e5%85%b8%e5%9e%8b%e5%9c%ba%e6%99%af","status":"publish","type":"post","link":"https:\/\/ixyzero.com\/blog\/archives\/438.html","title":{"rendered":"[collect]Nmap\u9ad8\u7ea7\u7528\u6cd5\u4e0e\u5178\u578b\u573a\u666f[bak]"},"content":{"rendered":"<div style=\"color: #000000;\">\n<p>Nmap\u63d0\u4f9b\u4e86\u56db\u9879\u57fa\u672c\u529f\u80fd\uff08\u4e3b\u673a\u53d1\u73b0\u3001\u7aef\u53e3\u626b\u63cf\u3001\u670d\u52a1\u4e0e\u7248\u672c\u4fa6\u6d4b\u3001OS\u4fa6\u6d4b\uff09\u53ca\u4e30\u5bcc\u7684\u811a\u672c\u5e93\u3002Nmap\u65e2\u80fd\u5e94\u7528\u4e8e\u7b80\u5355\u7684\u7f51\u7edc\u4fe1\u606f\u626b\u63cf\uff0c\u4e5f\u80fd\u7528\u5728\u9ad8\u7ea7\u3001\u590d\u6742\u3001\u7279\u5b9a\u7684\u73af\u5883\u4e2d\uff1a\u4f8b\u5982\u626b\u63cf\u4e92\u8054\u7f51\u4e0a\u5927\u91cf\u7684\u4e3b\u673a\uff1b\u7ed5\u5f00\u9632\u706b\u5899\/IDS\/IPS\uff1b\u626b\u63cfWeb\u7ad9\u70b9\uff1b\u626b\u63cf\u8def\u7531\u5668\u7b49\u7b49\u3002<\/p>\n<\/div>\n<div style=\"color: #000000;\">\n<p>\u4e0b\u9762\u7b80\u8981\u56de\u987eNmap\u7b80\u5355\u7684\u626b\u63cf\u65b9\u5f0f\uff1a<\/p>\n<\/div>\n<blockquote style=\"color: #000000;\">\n<div>\n<div><span style=\"color: #ff0000;\">\u5168\u9762\u626b\u63cf\uff1anmap -T4 -A targetip \u00a0<\/span><\/div>\n<\/div>\n<div>\n<div><span style=\"color: #ff0000;\">\u00a0\u00a0<\/span><\/div>\n<\/div>\n<div>\n<div><span style=\"color: #ff0000;\">\u4e3b\u673a\u53d1\u73b0\uff1anmap -T4 -sn targetip<\/span><\/div>\n<\/div>\n<div>\n<div><span style=\"color: #ff0000;\">\u00a0\u00a0<\/span><\/div>\n<\/div>\n<div>\n<div><span style=\"color: #ff0000;\">\u7aef\u53e3\u626b\u63cf\uff1anmap -T4 targetip<\/span><\/div>\n<\/div>\n<div>\n<div><span style=\"color: #ff0000;\">\u00a0\u00a0<\/span><\/div>\n<\/div>\n<div>\n<div><span style=\"color: #ff0000;\">\u670d\u52a1\u626b\u63cf\uff1anmap -T4 -sV targetip<\/span><\/div>\n<\/div>\n<div>\n<div><span style=\"color: #ff0000;\">\u00a0\u00a0<\/span><\/div>\n<\/div>\n<div>\n<div><span style=\"color: #ff0000;\">\u64cd\u4f5c\u7cfb\u7edf\u626b\u63cf\uff1anmap -T4 -O targetip<\/span><\/div>\n<\/div>\n<\/blockquote>\n<div style=\"color: #000000;\">\n<p>\u4e0a\u8ff0\u7684\u626b\u63cf\u65b9\u5f0f\u80fd\u6ee1\u8db3\u4e00\u822c\u7684\u4fe1\u606f\u641c\u96c6\u9700\u6c42\u3002\u800c\u82e5\u60f3\u5229\u7528Nmap\u63a2\u7d22\u51fa\u7279\u5b9a\u7684\u573a\u666f\u4e2d\u66f4\u8be6\u7ec6\u7684\u4fe1\u606f\uff0c\u5219\u9700\u4ed4\u7ec6\u5730\u8bbe\u8ba1Nmap\u547d\u4ee4\u884c\u53c2\u6570\uff0c\u4ee5\u4fbf\u7cbe\u786e\u5730\u63a7\u5236Nmap\u7684\u626b\u63cf\u884c\u4e3a\u3002<\/p>\n<p>\u4e0b\u9762\u5217\u4e3e\u6bd4\u8f83\u5b9e\u7528\u7684\u9ad8\u7ea7\u5e94\u7528\u573a\u666f\u548c\u6280\u5de7\u3002<\/p>\n<h1>1 \u00a0 Nmap\u9ad8\u7ea7\u9009\u9879<\/h1>\n<h2>1.1\u00a0 \u67e5\u770b\u672c\u5730\u8def\u7531\u4e0e\u63a5\u53e3<\/h2>\n<p>Nmap\u4e2d\u63d0\u4f9b\u4e86&#8211;iflist\u9009\u9879\u6765\u67e5\u770b\u672c\u5730\u4e3b\u673a\u7684\u63a5\u53e3\u4fe1\u606f\u4e0e\u8def\u7531\u4fe1\u606f\u3002\u5f53\u9047\u5230\u65e0\u6cd5\u8fbe\u5230\u76ee\u6807\u4e3b\u673a\u6216\u60f3\u9009\u62e9\u4ece\u591a\u5757\u7f51\u5361\u4e2d\u67d0\u4e00\u7279\u5b9a\u7f51\u5361\u8bbf\u95ee\u76ee\u6807\u4e3b\u673a\u65f6\uff0c\u53ef\u4ee5\u67e5\u770bnmap &#8211;iflist\u4e2d\u63d0\u4f9b\u7684\u7f51\u7edc\u63a5\u53e3\u4fe1\u606f\u3002<\/p>\n<pre class=\"lang:default decode:true\">nmap --iflist<\/pre>\n<h2>1.2\u00a0 \u6307\u5b9a\u7f51\u53e3\u4e0eIP\u5730\u5740<\/h2>\n<p>\u5728Nmap\u53ef\u6307\u5b9a\u7528\u54ea\u4e2a\u7f51\u53e3\u53d1\u9001\u6570\u636e\uff0c-e &lt;interface&gt;\u9009\u9879\u3002\u63a5\u53e3\u7684\u8be6\u7ec6\u4fe1\u606f\u53ef\u4ee5\u53c2\u8003&#8211;iflist\u9009\u9879\u8f93\u51fa\u7ed3\u679c\u3002<\/p>\n<p>\u793a\u4f8b\uff1a<\/p>\n<pre class=\"lang:default decode:true\">nmap -e eth0 targetip<\/pre>\n<p>Nmap\u4e5f\u53ef\u4ee5\u663e\u5f0f\u5730\u6307\u5b9a\u53d1\u9001\u7684\u6e90\u7aefIP\u5730\u5740\u3002\u4f7f\u7528-S &lt;spoofip&gt;\u9009\u9879\uff0cnmap\u5c06\u7528\u6307\u5b9a\u7684spoofip\u4f5c\u4e3a\u6e90\u7aefIP\u6765\u53d1\u9001\u63a2\u6d4b\u5305\u3002<\/p>\n<p>\u53e6\u5916\u53ef\u4ee5\u4f7f\u7528Decoy\uff08\u8bf1\u9a97\uff09\u65b9\u5f0f\u6765\u63a9\u76d6\u771f\u5b9e\u7684\u626b\u63cf\u5730\u5740\uff0c\u4f8b\u5982-D ip1,ip2,ip3,ip4,ME\uff0c\u8fd9\u6837\u5c31\u4f1a\u4ea7\u751f\u591a\u4e2a\u865a\u5047\u7684ip\u540c\u65f6\u5bf9\u76ee\u6807\u673a\u8fdb\u884c\u63a2\u6d4b\uff0c\u5176\u4e2dME\u4ee3\u8868\u672c\u673a\u7684\u771f\u5b9e\u5730\u5740\uff0c\u8fd9\u6837\u5bf9\u65b9\u7684\u9632\u706b\u5899\u4e0d\u5bb9\u6613\u8bc6\u522b\u51fa\u662f\u626b\u63cf\u8005\u7684\u8eab\u4efd\u3002<\/p>\n<pre class=\"lang:default decode:true\">nmap -T4 -F -n -Pn -D192.168.1.100,192.168.1.101,192.168.1.102,ME 192.168.1.1<\/pre>\n<h2>1.3\u00a0 \u5b9a\u5236\u63a2\u6d4b\u5305<\/h2>\n<p>Nmap\u63d0\u4f9b&#8211;scanflags\u9009\u9879\uff0c\u7528\u6237\u53ef\u4ee5\u5bf9\u9700\u8981\u53d1\u9001\u7684TCP\u63a2\u6d4b\u5305\u7684\u6807\u5fd7\u4f4d\u8fdb\u884c\u5b8c\u5168\u7684\u63a7\u5236\u3002\u53ef\u4ee5\u4f7f\u7528\u6570\u5b57\u6216\u7b26\u53f7\u6307\u5b9aTCP\u6807\u5fd7\u4f4d\uff1aURG,\u00a0ACK,\u00a0PSH,RST,\u00a0SYN,and\u00a0FIN\u3002<\/p>\n<p>\u4f8b\u5982\uff0c<\/p>\n<pre class=\"lang:default decode:true\">nmap -sX -T4 --scanflags URGACKPSHRSTSYNFIN targetip<\/pre>\n<p>\u6b64\u547d\u4ee4\u8bbe\u7f6e\u5168\u90e8\u7684TCP\u6807\u5fd7\u4f4d\u4e3a1\uff0c\u53ef\u4ee5\u7528\u4e8e\u67d0\u4e9b\u7279\u6b8a\u573a\u666f\u7684\u63a2\u6d4b\u3002<\/p>\n<p>\u53e6\u5916\u4f7f\u7528&#8211;ip-options\u53ef\u4ee5\u5b9a\u5236IP\u5305\u7684options\u5b57\u6bb5\u3002<\/p>\n<p>\u4f7f\u7528-S\u6307\u5b9a\u865a\u5047\u7684IP\u5730\u5740\uff0c-D\u6307\u5b9a\u4e00\u7ec4\u8bf1\u9a97IP\u5730\u5740\uff08ME\u4ee3\u8868\u771f\u5b9e\u5730\u5740\uff09\u3002-e\u6307\u5b9a\u53d1\u9001\u63a2\u6d4b\u5305\u7684\u7f51\u7edc\u63a5\u53e3\uff0c-g\uff08&#8211;source-port\uff09\u6307\u5b9a\u6e90\u7aef\u53e3\uff0c-f\u6307\u5b9a\u4f7f\u7528IP\u5206\u7247\u65b9\u5f0f\u53d1\u9001\u63a2\u6d4b\u5305\uff0c&#8211;spoof-mac\u6307\u5b9a\u4f7f\u7528\u6b3a\u9a97\u7684MAC\u5730\u5740\u3002&#8211;ttl\u6307\u5b9a\u751f\u5b58\u65f6\u95f4\u3002<\/p>\n<h1>2 \u00a0 \u626b\u63cf\u9632\u706b\u5899<\/h1>\n<p>\u9632\u706b\u5899\u5728\u4eca\u5929\u7f51\u7edc\u5b89\u5168\u4e2d\u626e\u6f14\u7740\u91cd\u8981\u7684\u89d2\u8272\uff0c\u5982\u679c\u80fd\u5bf9\u9632\u706b\u5899\u7cfb\u7edf\u8fdb\u884c\u8be6\u7ec6\u7684\u63a2\u6d4b\uff0c\u90a3\u4e48\u7ed5\u5f00\u9632\u706b\u5899\u6216\u6e17\u900f\u9632\u706b\u5899\u5c31\u66f4\u52a0\u5bb9\u6613\u3002\u6240\u4ee5\uff0c\u6b64\u5904\u8bb2\u89e3\u5229\u7528Nmap\u83b7\u53d6\u9632\u706b\u5899\u57fa\u672c\u4fe1\u606f\u5178\u578b\u7684\u7528\u6cd5\u3002<\/p>\n<p>\u4e3a\u4e86\u83b7\u53d6\u9632\u706b\u5899\u5168\u9762\u7684\u4fe1\u606f\uff0c\u9700\u5c3d\u53ef\u80fd\u591a\u5730\u7ed3\u5408\u4e0d\u540c\u626b\u63cf\u65b9\u5f0f\u6765\u63a2\u6d4b\u5176\u72b6\u6001\u3002\u5728\u8bbe\u8ba1\u547d\u4ee4\u884c\u53c2\u6570\u65f6\uff0c\u53ef\u4ee5\u7efc\u5408\u7f51\u7edc\u73af\u5883\u6765\u5fae\u8c03\u65f6\u5e8f\u53c2\u6570\uff0c\u4ee5\u4fbf\u52a0\u5feb\u626b\u63cf\u901f\u5ea6\u3002<\/p>\n<p><strong>SYN\u626b\u63cf<\/strong><\/p>\n<p>\u9996\u5148\u53ef\u4ee5\u5229\u7528\u57fa\u672c\u7684SYN\u626b\u63cf\u65b9\u5f0f\u63a2\u6d4b\u5176\u7aef\u53e3\u5f00\u653e\u72b6\u6001\u3002<\/p>\n<pre class=\"lang:default decode:true\">nmap\u00a0-sS\u00a0-T4\u00a0www.fakefirewall.com<\/pre>\n<p>\u626b\u63cf\u8f93\u51fa\u4e3a\uff1a<\/p>\n<\/div>\n<blockquote style=\"color: #000000;\">\n<div>\n<div><span style=\"font-family: Consolas, 'Courier New', Courier, mono, serif;\">All\u00a0997\u00a0ports\u00a0are\u00a0filtered \u00a0<\/span><\/div>\n<\/div>\n<div>\n<div><span style=\"font-family: Consolas, 'Courier New', Courier, mono, serif;\">\u00a0\u00a0<\/span><\/div>\n<\/div>\n<div>\n<div><span style=\"font-family: Consolas, 'Courier New', Courier, mono, serif;\">PORT\u00a0\u00a0\u00a0\u00a0STATE\u00a0\u00a0SERVICE \u00a0<\/span><\/div>\n<\/div>\n<div>\n<div><span style=\"font-family: Consolas, 'Courier New', Courier, mono, serif;\">\u00a0\u00a0<\/span><\/div>\n<\/div>\n<div>\n<div><span style=\"font-family: Consolas, 'Courier New', Courier, mono, serif;\">80\/tcp\u00a0\u00a0open\u00a0\u00a0\u00a0http \u00a0<\/span><\/div>\n<\/div>\n<div>\n<div><span style=\"font-family: Consolas, 'Courier New', Courier, mono, serif;\">\u00a0\u00a0<\/span><\/div>\n<\/div>\n<div>\n<div><span style=\"font-family: Consolas, 'Courier New', Courier, mono, serif;\">113\/tcp\u00a0closed\u00a0auth \u00a0<\/span><\/div>\n<\/div>\n<div>\n<div><span style=\"font-family: Consolas, 'Courier New', Courier, mono, serif;\">\u00a0\u00a0<\/span><\/div>\n<\/div>\n<div>\n<div><span style=\"font-family: Consolas, 'Courier New', Courier, mono, serif;\">507\/tcp\u00a0open\u00a0\u00a0\u00a0crs \u00a0<\/span><\/div>\n<\/div>\n<\/blockquote>\n<div style=\"color: #000000;\">\n<p>\u3000\u3000\u6211\u4eec\u53ef\u4ee5\u770b\u5230SYN\u65b9\u5f0f\u63a2\u6d4b\u52303\u4e2a\u7aef\u53e3\u5f00\u653e\uff0c\u800c\u6709997\u4e2a\u7aef\u53e3\u88ab\u8fc7\u6ee4\u3002Nmap\u9ed8\u8ba4\u626b\u63cf\u53ea\u626b\u63cf1000\u4e2a\u6700\u53ef\u80fd\u5f00\u653e\u7684\u7aef\u53e3\uff0c\u5982\u679c\u60f3\u626b\u63cf\u5168\u90e8\u7684\u7aef\u53e3\uff0c\u4f7f\u7528\u547d\u4ee4nmap -sS -T4<strong>-p-<\/strong>\u00a0www.fakefirewall.com<\/p>\n<p><strong>FIN\u626b\u63cf<\/strong><\/p>\n<p>\u7136\u540e\u53ef\u4ee5\u5229\u7528FIN\u626b\u63cf\u65b9\u5f0f\u63a2\u6d4b\u9632\u706b\u5899\u72b6\u6001\u3002FIN\u626b\u63cf\u65b9\u5f0f\u7528\u4e8e\u8bc6\u522b\u7aef\u53e3\u662f\u5426\u5173\u95ed\uff0c\u6536\u5230RST\u56de\u590d\u8bf4\u660e\u8be5\u7aef\u53e3\u5173\u95ed\uff0c\u5426\u5219\u8bf4\u660e\u662fopen\u6216filtered\u72b6\u6001\u3002<\/p>\n<pre class=\"lang:default decode:true\">nmap\u00a0-sF\u00a0-T4\u00a0www.fakefirewall.com<\/pre>\n<p>\u626b\u63cf\u8f93\u51fa\u4e3a\uff1a<\/p>\n<\/div>\n<blockquote style=\"color: #000000;\">\n<div>\n<div>PORT\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0STATE\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0SERVICE<\/div>\n<\/div>\n<div><\/div>\n<div>\n<div>7\/tcp\u00a0\u00a0\u00a0\u00a0\u00a0open|filtered\u00a0echo<\/div>\n<\/div>\n<div><\/div>\n<div>\n<div>9\/tcp\u00a0\u00a0\u00a0\u00a0\u00a0open|filtered\u00a0discard<\/div>\n<\/div>\n<div><\/div>\n<div>\n<div>11\/tcp\u00a0\u00a0\u00a0\u00a0open|filtered\u00a0systat<\/div>\n<\/div>\n<div><\/div>\n<div>\n<div>13\/tcp\u00a0\u00a0\u00a0\u00a0open|filtered\u00a0daytime<\/div>\n<\/div>\n<div><\/div>\n<div>\n<div>23\/tcp\u00a0\u00a0\u00a0\u00a0open|filtered\u00a0telnet<\/div>\n<\/div>\n<div><\/div>\n<div>\n<div>25\/tcp\u00a0\u00a0\u00a0\u00a0open|filtered\u00a0smtp<\/div>\n<\/div>\n<div><\/div>\n<div>\n<div>37\/tcp\u00a0\u00a0\u00a0\u00a0open|filtered\u00a0time<\/div>\n<\/div>\n<div><\/div>\n<div>\n<div>79\/tcp\u00a0\u00a0\u00a0\u00a0open|filtered\u00a0finger<\/div>\n<\/div>\n<div><\/div>\n<div>\n<div>80\/tcp\u00a0\u00a0\u00a0\u00a0open|filtered\u00a0http<\/div>\n<\/div>\n<div><\/div>\n<div>\n<div>\u66f4\u591a\u7aef\u53e3\uff0c\u6b64\u5904\u7701\u7565<\/div>\n<\/div>\n<\/blockquote>\n<div style=\"color: #000000;\">\n<p><strong>ACK\u626b\u63cf<\/strong><\/p>\n<p>\u7136\u540e\u5229\u7528ACK\u626b\u63cf\u5224\u65ad\u7aef\u53e3\u662f\u5426\u88ab\u8fc7\u6ee4\u3002\u9488\u5bf9ACK\u63a2\u6d4b\u5305\uff0c\u672a\u88ab\u8fc7\u6ee4\u7684\u7aef\u53e3\uff08\u65e0\u8bba\u6253\u5f00\u3001\u5173\u95ed\uff09\u4f1a\u56de\u590dRST\u5305\u3002<\/p>\n<pre class=\"lang:default decode:true\">nmap\u00a0-sA\u00a0-T4\u00a0www.fakefirewall.com<\/pre>\n<\/div>\n<blockquote style=\"color: #000000;\">\n<div>\n<div>Not\u00a0shown:\u00a0997\u00a0unfiltered\u00a0ports<\/div>\n<\/div>\n<div><\/div>\n<div>\n<div>PORT\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0STATE\u00a0\u00a0\u00a0\u00a0SERVICE<\/div>\n<\/div>\n<div><\/div>\n<div>\n<div>135\/tcp\u00a0\u00a0\u00a0filtered\u00a0msrpc<\/div>\n<\/div>\n<div><\/div>\n<div>\n<div>1434\/tcp\u00a0\u00a0filtered\u00a0ms-sql-m<\/div>\n<\/div>\n<div><\/div>\n<div>\n<div>32777\/tcp\u00a0filtered\u00a0sometimes-rpc17<\/div>\n<\/div>\n<\/blockquote>\n<div style=\"color: #000000;\">\n<p>\u4ece\u7ed3\u679c\u53ef\u4ee5997\u4e2a\u7aef\u53e3\u662f\u672a\u88ab\u8fc7\u6ee4\u7684\uff08unfiltered\uff09\uff0c\u800c3\u4e2a\uff08135\/1434\/32777\uff09\u88ab\u8fc7\u6ee4\u4e86\u3002\u6240\u4ee5\uff0c\u5c06ACK\u4e0eFIN\u626b\u63cf\u7684\u7ed3\u679c\u7ed3\u5408\u5206\u6790\uff0c\u6211\u4eec\u53ef\u4ee5\u627e\u5230\u5f88\u591a\u5f00\u653e\u7684\u7aef\u53e3\u3002\u4f8b\u59827\u53f7\u7aef\u53e3\uff0cFIN\u4e2d\u5f97\u51fa\u7684\u72b6\u6001\u662f:open\u6216filtered\uff0c\u4eceACK\u4e2d\u5f97\u51fa\u7684\u72b6\u6001\u662funfiltered\uff0c\u90a3\u4e48\u8be5\u7aef\u53e3\u53ea\u80fd\u662fopen\u7684\u3002<\/p>\n<p><strong>Window\u626b\u63cf<\/strong><\/p>\n<p>\u5f53\u7136\u4e5f\u53ef\u4ee5\u5229\u7528Window\u626b\u63cf\u65b9\u5f0f\uff0c\u5f97\u51fa\u4e00\u4e9b\u7aef\u53e3\u4fe1\u606f\uff0c\u53ef\u4ee5\u4e0e\u4e4b\u524d\u626b\u63cf\u5206\u6790\u7684\u7ed3\u679c\u76f8\u4e92\u8865\u5145\u3002Window\u626b\u63cf\u65b9\u5f0f\u53ea\u5bf9\u67d0\u4e9bTCPIP\u534f\u8bae\u6808\u624d\u6709\u6548\u3002<\/p>\n<p>window\u626b\u63cf\u539f\u7406\u4e0eACK\u7c7b\u4f3c\uff0c\u53d1\u9001ACK\u5305\u63a2\u6d4b\u76ee\u6807\u7aef\u53e3\uff0c\u5bf9\u56de\u590d\u7684RST\u5305\u4e2d\u7684Window size\u8fdb\u884c\u89e3\u6790\u3002\u5728\u67d0\u4e9bTCPIP\u534f\u8bae\u6808\u5b9e\u73b0\u4e2d\uff0c\u5173\u95ed\u7684\u7aef\u53e3\u5728RST\u4e2d\u4f1a\u5c06Window size\u8bbe\u7f6e\u4e3a0\uff1b\u800c\u5f00\u653e\u7684\u7aef\u53e3\u5c06Window size\u8bbe\u7f6e\u6210\u975e0\u7684\u503c\u3002<\/p>\n<pre class=\"lang:default decode:true\">nmap\u00a0-sW\u00a0-p-\u00a0-T4\u00a0docsrv.caldera.com<\/pre>\n<p>\u8f93\u51fa\u7ed3\u679c\uff1a<\/p>\n<\/div>\n<blockquote style=\"color: #000000;\">\n<div>\n<div>PORT\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0STATE\u00a0\u00a0\u00a0\u00a0SERVICE<\/div>\n<\/div>\n<div><\/div>\n<div>\n<div>7\/tcp\u00a0\u00a0\u00a0\u00a0\u00a0open\u00a0\u00a0\u00a0\u00a0\u00a0echo<\/div>\n<\/div>\n<div><\/div>\n<div>\n<div>9\/tcp\u00a0\u00a0\u00a0\u00a0\u00a0open\u00a0\u00a0\u00a0\u00a0\u00a0discard<\/div>\n<\/div>\n<div><\/div>\n<div>\n<div>11\/tcp\u00a0\u00a0\u00a0\u00a0open\u00a0\u00a0\u00a0\u00a0\u00a0systat<\/div>\n<\/div>\n<div><\/div>\n<div>\n<div>13\/tcp\u00a0\u00a0\u00a0\u00a0open\u00a0\u00a0\u00a0\u00a0\u00a0daytime<\/div>\n<\/div>\n<div><\/div>\n<div>\n<div>\u66f4\u591a\u7aef\u53e3\uff0c\u6b64\u5904\u7701\u7565<\/div>\n<\/div>\n<\/blockquote>\n<div style=\"color: #000000;\">\u5728\u91c7\u7528\u591a\u79cd\u65b9\u5f0f\u83b7\u53d6\u51fa\u9632\u706b\u5899\u72b6\u6001\u540e\uff0c\u53ef\u4ee5\u8fdb\u4e00\u6b65\u8fdb\u884c\u5e94\u7528\u7a0b\u5e8f\u4e0e\u7248\u672c\u4fa6\u6d4b\u53caOS\u4fa6\u6d4b\u3002\u6b64\u5904\u4e0d\u518d\u8d58\u8ff0\uff01<\/div>\n<h1 style=\"color: #000000;\">3 \u00a0 \u626b\u63cf\u8def\u7531\u5668<\/h1>\n<div style=\"color: #000000;\">\n<p>Nmap\u5185\u90e8\u7ef4\u62a4\u4e86\u4e00\u4efd\u7cfb\u7edf\u4e0e\u8bbe\u5907\u7684\u6570\u636e\u5e93\uff08nmap-os-db\uff09\uff0c\u80fd\u591f\u8bc6\u522b\u6570\u5343\u79cd\u4e0d\u540c\u7cfb\u7edf\u4e0e\u8bbe\u5907\u3002\u6240\u4ee5\uff0c\u53ef\u4ee5\u7528\u6765\u626b\u63cf\u4e3b\u6d41\u7684\u8def\u7531\u5668\u8bbe\u5907\u3002<\/p>\n<h2>3.1\u00a0 \u626b\u63cf\u601d\u79d1\u8def\u7531\u5668<\/h2>\n<pre class=\"lang:default decode:true\">nmap -p1-25,80,512-515,2001,4001,6001,9001 10.20.0.1\/16<\/pre>\n<p>\u601d\u79d1\u8def\u7531\u5668\u4f1a\u5728\u4e0a\u8ff0\u7aef\u53e3\u4e2d\u8fd0\u884c\u4e86\u5e38\u89c1\u7684\u670d\u52a1\u3002\u5217\u4e3e\u51fa\u4e0a\u8ff0\u7aef\u53e3\u5f00\u653e\u7684\u4e3b\u673a\uff0c\u53ef\u4ee5\u5b9a\u4f4d\u5230\u8def\u7531\u5668\u8bbe\u5907\u53ef\u80fd\u7684IP\u5730\u5740\u53ca\u7aef\u53e3\u72b6\u6001\u3002<\/p>\n<h2>3.2\u00a0 \u626b\u63cf\u8def\u7531\u5668TFTP<\/h2>\n<pre class=\"lang:default decode:true\">nmap -sU -p69 -nvv target<\/pre>\n<p>\u5927\u591a\u6570\u7684\u8def\u7531\u5668\u90fd\u652f\u6301TFTP\u534f\u8bae\uff08\u7b80\u5355\u6587\u4ef6\u4f20\u8f93\u534f\u8bae\uff09\uff0c\u8be5\u534f\u8bae\u5e38\u7528\u4e8e\u5907\u4efd\u548c\u6062\u590d\u8def\u7531\u5668\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u8fd0\u884c\u5728UDP 69\u7aef\u53e3\u4e0a\u3002\u4f7f\u7528\u4e0a\u8ff0\u547d\u4ee4\u53ef\u4ee5\u63a2\u6d4b\u51fa\u8def\u7531\u5668\u662f\u5426\u5f00\u653eTFTP\u3002<\/p>\n<h2>3.3\u00a0 \u626b\u63cf\u8def\u7531\u5668\u64cd\u4f5c\u7cfb\u7edf<\/h2>\n<p>\u4e0e\u901a\u7528PC\u626b\u63cf\u65b9\u5f0f\u7c7b\u4f3c\uff0c\u4f7f\u7528-O\u9009\u9879\u626b\u63cf\u8def\u7531\u5668\u7684\u64cd\u4f5c\u7cfb\u7edf\u3002-F\u7528\u4e8e\u5feb\u901f\u626b\u63cf\u6700\u53ef\u80fd\u5f00\u653e\u7684100\u4e2a\u7aef\u53e3\uff0c\u5e76\u6839\u636e\u7aef\u53e3\u626b\u63cf\u7ed3\u679c\u8fdb\u4e00\u6b65\u505aOS\u7684\u6307\u7eb9\u5206\u6790\u3002<\/p>\n<pre class=\"lang:default decode:true\">nmap -O -F -n 192.168.1.1<\/pre>\n<h1>4 \u00a0 \u626b\u63cf\u4e92\u8054\u7f51<\/h1>\n<p>Nmap\u5185\u90e8\u7684\u8bbe\u8ba1\u975e\u5e38\u5f3a\u5927\u7075\u6d3b\uff0c\u65e2\u80fd\u626b\u63cf\u5355\u4e2a\u4e3b\u673a\u3001\u5c0f\u578b\u7684\u5c40\u57df\u7f51\uff0c\u4e5f\u53ef\u4ee5\u626b\u63cf\u6210\u5343\u4e0a\u4e07\u53f0\u4e3b\u673a\u4ece\u4e2d\u53d1\u6398\u7528\u6237\u5173\u6ce8\u7684\u4fe1\u606f\u3002\u626b\u63cf\u5927\u91cf\u4e3b\u673a\uff0c\u9700\u8981\u5bf9\u626b\u63cf\u65f6\u5e8f\u7b49\u53c2\u6570\u8fdb\u884c\u4ed4\u7ec6\u7684\u4f18\u5316\u3002<\/p>\n<h2>4.1\u00a0 \u53d1\u73b0\u4e92\u8054\u7f51\u4e0aweb\u670d\u52a1\u5668<\/h2>\n<pre class=\"lang:default decode:true\">nmap -iR 100000 -sS -PS80 -p 80 -oG nmap.txt<\/pre>\n<p>\u968f\u673a\u5730\u4ea7\u751f10\u4e07\u4e2aIP\u5730\u5740\uff0c\u5bf9\u517680\u7aef\u53e3\u8fdb\u884c\u626b\u63cf\u3002\u5c06\u626b\u63cf\u7ed3\u679c\u4ee5<strong><span style=\"color: #ff0000;\">greppable\uff08\u53ef\u7528grep\u547d\u4ee4\u63d0\u53d6\uff09\u683c\u5f0f<\/span><\/strong>\u8f93\u51fa\u5230nmap.txt\u6587\u4ef6\u3002<\/p>\n<p>\u53ef\u4ee5\u4f7f\u7528grep\u547d\u4ee4\u4ece\u8f93\u51fa\u6587\u4ef6\u63d0\u53d6\u5173\u5fc3\u7684\u7ec6\u8282\u4fe1\u606f\u3002<\/p>\n<h2>4.2\u00a0 \u7edf\u8ba1\u4e92\u8054\u7f51\u4e3b\u673a\u57fa\u672c\u6570\u636e<\/h2>\n<p>Nmap\u7684\u521b\u59cb\u4ebaFyodor\u57282008\u5e74\u7684Black Hat\u5927\u4f1a\u53d1\u8868\u4e00\u7bc7\u6f14\u8bb2\uff0c\u8bb2\u7684\u662f\u5982\u4f55\u4f7f\u7528Nmap\u6765\u626b\u63cf\u4e92\u8054\u7f51\uff08Nmap:\u00a0Scanning\u00a0the\u00a0Internet\uff09\uff0c\u8d44\u6599\u5730\u5740\uff1a<a style=\"color: #ff9900;\" href=\"http:\/\/nmap.org\/presentations\/BHDC08\/\" target=\"_blank\">http:\/\/nmap.org\/presentations\/BHDC08\/<\/a>\u3002<\/p>\n<p>Fyodor\u8fdb\u884c\u4e92\u8054\u7f51\u626b\u63cf\u7684\u521d\u8877\u662f\u7edf\u8ba1\u51fa\u7f51\u7edc\u7ecf\u9a8c\u6570\u636e\u5e76\u7528\u4e4b\u4f18\u5316Nmap\u7684\u6027\u80fd\u3002\u4f8b\u5982\uff0c\u6839\u636e\u7edf\u8ba1\u51fa\u6bcf\u4e2a\u7aef\u53e3\u5f00\u653e\u7684\u6982\u7387\uff0c\u4f18\u5148\u626b\u63cf\u5e38\u89c1\u7aef\u53e3\uff0c\u4ee5\u8282\u7701\u7528\u6237\u7684\u65f6\u95f4\u3002<\/p>\n<p><strong>\u4ea7\u751f\u968f\u673aIP\u5730\u5740<\/strong><\/p>\n<p>\u4ea7\u751f100\u4e07\u4e2a\u968f\u673a\u7684IP\u5730\u5740\uff0c\u5e76\u5c06\u4e4b\u4fdd\u5b58\u5230\u6587\u4ef6\u4e2d\uff0c\u65b9\u4fbf\u540e\u7eed\u626b\u63cf\u65f6\u4f5c\u4e3a\u53c2\u6570\u8f93\u5165\u3002<\/p>\n<pre class=\"lang:default decode:true\">nmap\u00a0-iR\u00a01200000\u00a0-sL\u00a0-n\u00a0|\u00a0grep\u00a0\"not\u00a0scanned\"\u00a0|\u00a0awk\u00a0'{print\u00a0$2}'\u00a0|\u00a0sort\u00a0-n\u00a0|\u00a0uniq\u00a0&gt;!\u00a0tp;\u00a0head -25000000\u00a0tp\u00a0&gt;!\u00a0tcp-allports-1M-IPs;\u00a0rm\u00a0tp<\/pre>\n<p>\u4e0a\u8ff0\u547d\u4ee4\u542b\u4e49\uff1a<strong><span style=\"color: #ff0000;\">\u968f\u673a\u751f\u62101200000\u4e2aIP\u5730\u5740<\/span><\/strong>\uff08-iR 120000\uff09\uff0c\u5e76\u8fdb\u884c\u5217\u8868\u626b\u63cf\uff08-sL\uff0c\u5217\u4e3e\u51faIP\u5730\u5740\uff0c\u4e0d\u8fdb\u884c\u771f\u6b63\u7684\u626b\u63cf\uff09\uff0c\u4e0d\u8fdb\u884cdns\u89e3\u6790\u64cd\u4f5c\uff08-n\uff09\uff0c\u8fd9\u6837\u5c06\u4ea7\u751fNmap\u5217\u8868\u626b\u63cf\u7684\u7ed3\u679c\u3002\u5728\u6b64\u7ed3\u679c\u4e2d\u641c\u51fa\u672a\u626b\u63cf\u7684\u884c\uff08grep\u00a0&#8220;not scanned&#8221;\uff09\uff0c\u6253\u5370\u51fa\u6bcf\u4e00\u884c\u7684\u7b2c\u4e8c\u5217\u5185\u5bb9\uff08awk\u00a0&#8216;{print $2}&#8217;\uff0c\u4e5f\u5c31\u662fIP\u5730\u5740\uff09\uff0c\u7136\u540e\u5bf9\u83b7\u53d6\u5230\u7684IP\u5730\u5740\u8fdb\u884c\u6392\u5e8f\uff08sort -n\uff09\uff0c\u7136\u540e\u5254\u9664\u91cd\u590dIP\u5730\u5740\uff0c\u5c06\u7ed3\u679c\u4fdd\u5b58\u5230\u4e34\u65f6\u6587\u4ef6tp\uff0c\u518d\u53d6\u51fa\u524d1000000\u4e2aIP\u5730\u5740\u4fdd\u5b58\u5230tcp-allports-1M-IPs\u6587\u4ef6\u4e2d\uff0c\u5220\u9664\u4e34\u65f6\u6587\u4ef6\u3002<\/p>\n<p>\u603b\u4e4b\uff0c\u6b64\u5904\u4ea7\u751f\u4e861000000\u4e2a\u968f\u673aIP\u5730\u5740\u5b58\u653e\u5728tcp-allports-1M-IPs\u6587\u4ef6\u4e2d\u3002<\/p>\n<p><strong>\u4f18\u5316\u4e3b\u673a\u53d1\u73b0<\/strong><\/p>\n<pre class=\"lang:default decode:true\">nmap -sP -PE -PP -PS21,22,23,25,80,113,31339-PA80,113,443,10042 --source-port 53 -T4 -iL tcp-allports-1M-IPs<\/pre>\n<p>\u4e0a\u8ff0\u547d\u4ee4\u8fdb\u884c\u4e3b\u673a\u53d1\u73b0\uff1a\u4f7f\u7528\u4ea7\u751f\u7684IP\u5730\u5740\uff08-iL tcp-allports-1M-IPs\uff09\uff0c\u6307\u5b9a\u53d1\u9001\u5305\u7684\u6e90\u7aef\u53e3\u4e3a53\uff08&#8211;source-port 53\uff0c\u8be5\u7aef\u53e3\u662fDNS\u67e5\u8be2\u7aef\u53e3\uff0c\u4e00\u822c\u7684\u9632\u706b\u5899\u90fd\u5141\u8bb8\u6765\u81ea\u6b64\u7aef\u53e3\u7684\u6570\u636e\u5305\uff09\uff0c\u65f6\u5e8f\u7ea7\u522b\u4e3a4\uff08-T4\uff0c\u63a2\u6d4b\u901f\u5ea6\u6bd4\u8f83\u5feb\uff09\uff0c\u4ee5TCP SYN\u5305\u65b9\u5f0f\u63a2\u6d4b\u76ee\u6807\u673a\u768421,22,23,25,80,113,31339\u7aef\u53e3\uff0c\u4ee5TCP ACK\u5305\u65b9\u5f0f\u63a2\u6d4b\u5bf9\u65b980,113,443,10042\u7aef\u53e3\uff0c\u53e6\u5916\u4e5f\u53d1\u9001ICMP ECHO\/ICMP TIMESTAMP\u5305\u63a2\u6d4b\u5bf9\u65b9\u4e3b\u673a\u3002\u53ea\u8981\u4e0a\u8ff0\u7684\u63a2\u6d4b\u5305\u4e2d\u5f97\u5230\u4e00\u4e2a\u56de\u590d\uff0c\u5c31\u53ef\u4ee5\u8bc1\u660e\u76ee\u6807\u4e3b\u673a\u5728\u7ebf\u3002<\/p>\n<p><strong>\u5b8c\u6574\u7684\u626b\u63cf\u547d\u4ee4<\/strong><\/p>\n<p>\u5728\u51c6\u5907\u4e86\u5fc5\u8981\u7684IP\u5730\u5740\u6587\u4ef6\uff0c\u5e76\u5bf9\u4e3b\u673a\u53d1\u73b0\u53c2\u6570\u4f18\u5316\u540e\uff0c\u6211\u4eec\u5c31\u5f97\u5230\u6700\u7ec8\u7684\u626b\u63cf\u547d\u4ee4\uff1a<\/p>\n<pre class=\"lang:default decode:true\">nmap -S [srcip] -d --max-scan-delay 10 -oAlogs\/tcp-allports-%T-%D -iL tcp-allports-1M-IPs --max-retries 1--randomize-hosts -p- -PS21,22,23,25,53,80,443 -T4 --min-hostgroup 256 --min-rate175 \u2013max-rate 300<\/pre>\n<p>\u4e0a\u8ff0\u547d\u4ee4\u7528\u4e8e\u626b\u63cf\u4e92\u8054\u7f51\u4e0a100\u4e07\u53f0\u4e3b\u673a\u5168\u90e8\u7684TCP\u7aef\u53e3\u7684\u5f00\u653e\u60c5\u51b5\u3002<\/p>\n<pre class=\"lang:default decode:true\">\u4f7f\u7528\u5305\u542b100\u4e07\u4e2aIP\u5730\u5740\u7684\u6587\u4ef6(-iL tcp-allports-1M-IPs)\uff0c\u6e90\u7aefIP\u5730\u5740\u8bbe\u7f6e\u4e3asrcip(\u6307\u5b9a\u4e00\u4e2aIP\u5730\u5740\uff0c\u4fdd\u8bc1\u8be5IP\u5730\u5740\u4f4d\u4e8e\u7edf\u4e00\u5c40\u57df\u7f51\u4e2d\uff0c\u5426\u5219\u65e0\u6cd5\u6536\u5230\u76ee\u6807\u673a\u7684\u56de\u590d\u5305)\uff0c\u4e3b\u673a\u53d1\u73b0\u8fc7\u7a0b\u4f7f\u7528TCP SYN\u5305\u63a2\u6d4b\u76ee\u6807\u673a\u768421,22,23,25,53,80,443\uff0c\u626b\u63cf\u8fc7\u7a0b\u5c06\u968f\u673a\u6253\u4e71\u4e3b\u673a\u987a\u5e8f(--randomize-hosts\uff0c\u56e0\u4e3a\u6587\u4ef6\u4e2d\u7684IP\u5df2\u7ecf\u6392\u5e8f\uff0c\u8fd9\u91cc\u5c06\u4e4b\u6253\u4e71\uff0c\u907f\u514d\u88ab\u9632\u706b\u5899\u68c0\u67e5\u51fa)\uff0c\u7aef\u53e3\u626b\u63cf\u8fc7\u7a0b\u68c0\u67e5\u5168\u90e8\u7684TCP\u7aef\u53e3(-p-\uff0c\u7aef\u53e31\u523065535)\uff0c\u4f7f\u7528\u65f6\u5e8f\u7ea7\u522b\u4e3a4(-T4\uff0c\u901f\u5ea6\u6bd4\u8f83\u5feb)\uff0c\u5c06\u7ed3\u679c\u4ee5XML\/grepable\/\u666e\u901a\u683c\u5f0f\u8f93\u51fa\u5230\u6587\u4ef6\u4e2d(-oA logs\/tcp-allports-%T-%D\uff0c\u5176\u4e2d%T\u8868\u793a\u626b\u63cf\u65f6\u95f4\uff0c%D\u8868\u793a\u626b\u63cf\u65e5\u671f)\u3002\n-d\u8868\u793a\u6253\u5370\u8c03\u8bd5\u51fa\u4fe1\u606f\u3002\n\n--max-scan-delay 10\u8868\u793a\u53d1\u5305\u6700\u591a\u5ef6\u65f610\u79d2\uff0c\u9632\u6b62\u7279\u6b8a\u60c5\u666f\u4e0b\u7b49\u5f85\u8fc7\u957f\u7684\u65f6\u95f4\u3002\n\n--max-retries 1\uff0c\u8868\u793a\u7aef\u53e3\u626b\u63cf\u63a2\u6d4b\u5305\u6700\u591a\u88ab\u91cd\u4f20\u4e00\u6b21\uff0c\u9632\u6b62Nmap\u5728\u6ca1\u6709\u6536\u5230\u56de\u590d\u7684\u60c5\u51b5\u4e0b\u591a\u6b21\u91cd\u4f20\u63a2\u6d4b\u5305\uff0c\u5f53\u7136\u8fd9\u6837\u4e5f\u4f1a\u964d\u4f4e\u63a2\u6d4b\u7684\u51c6\u786e\u6027\u3002\n\n--min-host-group 256\u8868\u793a\u8fdb\u884c\u7aef\u53e3\u626b\u63cf\u4e0e\u7248\u672c\u4fa6\u6d4b\u65f6\uff0c\u540c\u65f6\u8fdb\u884c\u63a2\u6d4b\u7684\u4e3b\u673a\u7684\u6570\u91cf\uff0c\u8fd9\u91cc\u81f3\u5c11256\u4e2a\u4e3b\u673a\u4e00\u7ec4\u6765\u8fdb\u884c\u626b\u63cf\uff0c\u53ef\u4ee5\u52a0\u5feb\u626b\u63cf\u901f\u5ea6\u3002\n\n--min-rate 175\u548c--max-rate 300\uff0c\u8868\u793a\u53d1\u5305\u901f\u7387\u4ecb\u4e8e175\u548c300\u4e4b\u95f4\uff0c\u4fdd\u8bc1\u626b\u63cf\u901f\u5ea6\u4e0d\u4f1a\u592a\u6162\uff0c\u4e5f\u4e0d\u4f1a\u56e0\u4e3a\u901f\u7387\u8fc7\u9ad8\u5f15\u8d77\u76ee\u6807\u673a\u7684\u8b66\u89c9\u3002<\/pre>\n<p><strong>\u626b\u63cf\u7ed3\u679c<\/strong><\/p>\n<p>Fyodor\u7ec4\u7ec7\u7684\u6b64\u6b21\u626b\u63cf\u5f97\u51fa\u5f88\u591a\u91cd\u8981\u7ed3\u8bba\uff0c\u7edf\u8ba1\u51fa\u4e86<strong><span style=\"color: #ff0000;\">\u4e92\u8054\u7f51\u6700\u6709\u53ef\u80fd\u5f00\u653e\u768410\u4e2aTCP\u7aef\u53e3<\/span><\/strong>\uff1a<\/p>\n<ul>\n<li>80 (http)<\/li>\n<li>23 (telnet)<\/li>\n<li>22 (ssh)<\/li>\n<li>443 (https)<\/li>\n<li>3389 (ms-term-serv)<\/li>\n<li>445 (microsoft-ds)<\/li>\n<li>139 (netbios-ssn)<\/li>\n<li>21 (ftp)<\/li>\n<li>135 (msrpc)<\/li>\n<li>25 (smtp)<\/li>\n<\/ul>\n<p><strong><span style=\"color: #ff0000;\">\u6700\u6709\u53ef\u80fd\u5f00\u653e\u768410\u4e2aUDP\u7aef\u53e3<\/span><\/strong>\uff1a<\/p>\n<ul>\n<li>137 (netbios-ns)<\/li>\n<li>161 (snmp)<\/li>\n<li>1434 (ms-sql-m)<\/li>\n<li>123 (ntp)<\/li>\n<li>138 (netbios-dgm)<\/li>\n<li>445 (microsoft-ds)<\/li>\n<li>135 (msrpc)<\/li>\n<li>67 (dhcps)<\/li>\n<li>139 (netbios-ssn)<\/li>\n<li>53 (domain)<\/li>\n<\/ul>\n<h1>5 \u00a0 \u626b\u63cfWeb\u7ad9\u70b9<\/h1>\n<p>Web\u662f\u4e92\u8054\u7f51\u4e0a\u6700\u5e7f\u6cdb\u7684\u5e94\u7528\uff0c\u800c\u4e14\u8d8a\u6765\u8d8a\u591a\u7684\u670d\u52a1\u503e\u5411\u4e8e\u4ee5Web\u5f62\u5f0f\u63d0\u4f9b\u51fa\u6765\uff0c\u6240\u4ee5\u5bf9Web\u5b89\u5168\u76d1\u7ba1\u4e5f\u8d8a\u6765\u8d8a\u91cd\u8981\u3002\u76ee\u524d\u5b89\u5168\u9886\u57df\u6709\u5f88\u591a\u4e13\u95e8\u7684Web\u626b\u63cf\u8f6f\u4ef6\uff08\u5982AppScan\u3001WebInspect\u3001W3AF\uff09\uff0c\u80fd\u591f\u63d0\u4f9b\u7aef\u53e3\u626b\u63cf\u3001\u6f0f\u6d1e\u626b\u63cf\u3001\u6f0f\u6d1e\u5229\u7528\u3001\u5206\u6790\u62a5\u8868\u7b49\u8bf8\u591a\u529f\u80fd\u3002\u800cNmap\u4f5c\u4e3a\u4e00\u6b3e\u5f00\u6e90\u7684\u7aef\u53e3\u626b\u63cf\u5668\uff0c\u5bf9Web\u626b\u63cf\u65b9\u9762\u652f\u6301\u4e5f\u8d8a\u6765\u8d8a\u5f3a\u5927\uff0c\u53ef\u4ee5\u5b8c\u6210Web\u57fa\u672c\u7684\u4fe1\u606f\u63a2\u6d4b\uff1a\u670d\u52a1\u5668\u7248\u672c\u3001\u652f\u6301\u7684Method\u3001\u662f\u5426\u5305\u542b\u5178\u578b\u6f0f\u6d1e\u3002\u529f\u80fd\u5df2\u7ecf\u8fdc\u8fdc\u8d85\u8fc7\u540c\u9886\u57df\u7684\u5176\u4ed6\u5f00\u6e90\u8f6f\u4ef6\uff0c\u5982HTTPrint\u3001Httsquash\u3002<\/p>\n<p>\u76ee\u524dNmap\u4e2d\u5bf9Web\u7684\u652f\u6301\u4e3b\u8981\u901a\u8fc7Lua\u811a\u672c\u6765\u5b9e\u73b0\uff0cNSE\u811a\u672c\u5e93\u4e2d\u5171\u670950\u591a\u4e2aHTTP\u76f8\u5173\u7684\u811a\u672c\u3002<\/p>\n<p>\u626b\u63cf\u5b9e\u4f8b\uff1a<\/p>\n<pre class=\"lang:default decode:true\">nmap -sV -p 80 -T4 --script http*,defaultscanme.nmap.org<\/pre>\n<p><a href=\"http:\/\/ixyzero.com\/blog\/wp-content\/uploads\/2014\/07\/3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-440\" src=\"http:\/\/ixyzero.com\/blog\/wp-content\/uploads\/2014\/07\/3-270x300.png\" alt=\"Nmap\u626b\u63cf\u5b9e\u4f8b\" width=\"270\" height=\"300\" \/><\/a><\/p>\n<p>\u4e0a\u9762\u4ee5\u626b\u63cfscanme.nmap.org\u7684Web\u5e94\u7528\u5c55\u793aNmap\u63d0\u4f9bWeb\u626b\u63cf\u80fd\u529b\uff0c\u4ece\u56fe\u4e2d\u53ef\u4ee5\u770b\u5230\u626b\u63cf\u7ed3\u679c\u4e2d\u63d0\u4f9b\u4e86\u6bd4\u8f83\u4e30\u5bcc\u7684\u4fe1\u606f\u3002<\/p>\n<p>\u9996\u5148\u662f\u5e94\u7528\u7a0b\u5e8f\u53ca\u7248\u672c\uff1a<strong><span style=\"color: #00b050;\">Apachehttpd 2.2.14 ((Ubuntu))<\/span><\/strong><\/p>\n<p>\u7136\u540e\u641c\u51fa\u4e86\u8be5\u7ad9\u70b9\u7684affiliate-id:\u8be5ID\u53ef\u7528\u4e8e\u8bc6\u522b\u540c\u4e00\u62e5\u6709\u8005\u7684\u4e0d\u540c\u9875\u9762\u3002<\/p>\n<p>\u7136\u540e\u8f93\u51faHTTP-headers\u4fe1\u606f\uff0c\u4ece\u4e2d\u67e5\u770b\u5230\u57fa\u672c\u914d\u7f6e\u4fe1\u606f\u3002<\/p>\n<p>\u4ecehttp-title\u4e2d\uff0c\u53ef\u4ee5\u770b\u5230\u7f51\u9875\u6807\u9898\u3002\u67d0\u4e9b\u7f51\u9875\u6807\u9898\u53ef\u80fd\u4f1a\u6cc4\u6f0f\u91cd\u8981\u4fe1\u606f\uff0c\u6240\u4ee5\u8fd9\u91cc\u4e5f\u5e94\u5bf9\u5176\u68c0\u67e5\u3002<\/p>\n<p><span style=\"color: #ff0000;\"><strong>\u539f\u6587\u5730\u5740<\/strong><\/span>\uff1a<a href=\"http:\/\/blog.csdn.net\/aspirationflow\/article\/details\/7983368\" target=\"_blank\">Nmap\u9ad8\u7ea7\u7528\u6cd5\u4e0e\u5178\u578b\u573a\u666f<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Nmap\u63d0\u4f9b\u4e86\u56db\u9879\u57fa\u672c\u529f\u80fd\uff08\u4e3b\u673a\u53d1\u73b0\u3001\u7aef\u53e3\u626b\u63cf\u3001\u670d\u52a1\u4e0e\u7248\u672c\u4fa6\u6d4b\u3001OS\u4fa6\u6d4b\uff09\u53ca\u4e30\u5bcc\u7684\u811a\u672c\u5e93\u3002Nmap\u65e2\u80fd\u5e94\u7528\u4e8e\u7b80 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,25,12,20],"tags":[38],"class_list":["post-438","post","type-post","status-publish","format-standard","hentry","category-linux","category-security","category-tools","category-windows","tag-nmap"],"views":4271,"_links":{"self":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/438","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/comments?post=438"}],"version-history":[{"count":0,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/438\/revisions"}],"wp:attachment":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/media?parent=438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/categories?post=438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/tags?post=438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}