{"id":7,"date":"2014-06-21T10:18:38","date_gmt":"2014-06-21T10:18:38","guid":{"rendered":"http:\/\/ixyzero.com\/blog\/?p=7"},"modified":"2014-06-21T10:18:38","modified_gmt":"2014-06-21T10:18:38","slug":"%e8%b0%83%e7%94%a8nmap%e6%89%b9%e9%87%8f%e6%89%ab%e6%8f%8fip%e7%ab%af%e5%8f%a3","status":"publish","type":"post","link":"https:\/\/ixyzero.com\/blog\/archives\/7.html","title":{"rendered":"\u8c03\u7528nmap\u6279\u91cf\u626b\u63cfIP\u7aef\u53e3"},"content":{"rendered":"<p>\u6279\u91cf\u626b\u63cfIP\u7aef\u53e3\uff0c\u5e76\u5c06\u7ed3\u679c\u5bfc\u51fa\u4e3a\u7531IP\u547d\u540d\u7684\u6587\u4ef6\u3002<\/p>\n<p>\u5047\u8bbeIPlist.txt\u6587\u4ef6\u5185\u5bb9\u4e3a\uff1a<br \/>\n127.0.0.1<br \/>\n192.168.1.1<\/p>\n<p>\u7136\u540e\u6211\u4eec\u83b7\u53d6\u6587\u4ef6\u5185\u5bb9IP\u8fdb\u884c\u626b\u63cf\uff08<span style=\"color: #ff0000;\">nmap\u7684&#8221;-p-&#8220;\u9009\u9879\u6307\u5b9anmap\u626b\u63cf\u4ece1-65535\u7684\u6240\u6709\u7aef\u53e3\uff1b\u9ed8\u8ba4\u60c5\u51b5\u4e0bnmap\u53ea\u626b\u63cf\u5e38\u89c1\u76841000\u4e2a\u7aef\u53e3\uff1b\u5982\u679c\u4f60\u60f3\u8981\u66f4\u5feb\u7684\u8bdd\uff0c\u53ef\u4ee5\u4f7f\u7528&#8221;-F&#8221;\u9009\u9879\u53ea\u626b\u63cf\u6700\u5e38\u89c1\u7684100\u4e2a\u7aef\u53e3<\/span>\uff09\uff1a<\/p>\n<h5>Windows\u4e0a\u7684\u6279\u5904\u7406\u7248\u672c<\/h5>\n<pre class=\"wrap:true lang:default decode:true\">:IPlist.txt \u4e3a\u6587\u4ef6\u540d\uff0c\u53ef\u6839\u636e\u9700\u6c42\u8fdb\u884c\u4fee\u6539\n:C:\\nmap\\nmap-6.46\\nmap.exe \u4e3aNmap\u5e94\u7528\u7a0b\u5e8f\u7684\u8def\u5f84\uff0c\u9700\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u8fdb\u884c\u4fee\u6539\n:\u628a IPlist.txt\u6587\u4ef6 \u4e0e \u8be5\u626b\u63cf\u811a\u672c \u653e\u5728\u540c\u4e00\u4e2a\u76ee\u5f55\u4e0b\n@echo off\nfor \/f %%i in (IPlist.txt) do C:\\nmap\\nmap-6.46\\nmap.exe -T3 -A -v -p- %%i &gt;%%i.txt<\/pre>\n<h5><strong>Linux shell\u7248\u672c<\/strong><\/h5>\n<pre class=\"wrap:true lang:sh decode:true\">echo \"Start scan.\"\ncat IPlist.txt | grep -Ev '^(#|$)' | while read line; do\n    nmap -T3 -A -v -p- $line &gt; $line.txt\n    echo \"scan $line ok!\"\ndone\necho \"All done.\"<\/pre>\n<p>\u7136\u540e\u7ed3\u5408\u626b\u63cf\u51fa\u6765\u7684\u6587\u4ef6\uff0c\u8fdb\u884c\u6279\u91cf\u7b5b\u9009\u51faIP\u3001Port\u3001\u72b6\u6001\u3001\u670d\u52a1\u5408\u6210\u4e00\u4e2a\u6587\u4ef6\uff0c\u7136\u540e\u7edf\u8ba1excel\u6587\u6863\u5c31\u5f88\u5feb\u901f\u4e86:)<\/p>\n<h6>\u53e6\uff1a<\/h6>\n<p>\u5176\u5b9eNmap\u81ea\u8eab\u6709&#8221;-iL&#8221;\u9009\u9879\u652f\u6301\u76f4\u63a5\u4ece\u6587\u4ef6\u4e2d\u8bfb\u53d6IP\u5217\u8868\u8fdb\u884c\u6279\u91cf\u626b\u63cf\uff0c\u8fd8\u6709\u6307\u5b9aIP\u5730\u5740\u5757\u7b49\u65b9\u5f0f\u8fdb\u884c\u6279\u91cf\u626b\u63cf\uff0c\u8fd9\u7edd\u5bf9\u662f\u4e00\u7b49\u4e00\u7684\u626b\u63cf\u795e\u5668\uff01<\/p>\n<p>====<\/p>\n<h6>\u5e38\u7528\u7aef\u53e3\u53f7\uff1a<\/h6>\n<ul>\n<li>HTTP\u534f\u8bae\u4ee3\u7406\u670d\u52a1\u5668\u5e38\u7528\u7aef\u53e3\u53f7\uff1a80\/8080\/8081\/8888\/9080<\/li>\n<li>SOCKS\u4ee3\u7406\u534f\u8bae\u670d\u52a1\u5668\u5e38\u7528\u7aef\u53e3\u53f7\uff1a1080<\/li>\n<li>FTP\uff08\u6587\u4ef6\u4f20\u8f93\uff09\u534f\u8bae\u4ee3\u7406\u670d\u52a1\u5668\u5e38\u7528\u7aef\u53e3\u53f7\uff1a21<\/li>\n<li>Telnet\uff08\u8fdc\u7a0b\u767b\u5f55\uff09\u534f\u8bae\u4ee3\u7406\u670d\u52a1\u5668\u5e38\u7528\u7aef\u53e3\uff1a23<\/li>\n<\/ul>\n<ul>\n<li>HTTP\u670d\u52a1\u5668\uff0c\u9ed8\u8ba4\u7684\u7aef\u53e3\u53f7\u4e3a80\/tcp\uff08\u6728\u9a6cExecutor\u5f00\u653e\u6b64\u7aef\u53e3\uff09\uff1b<\/li>\n<li>HTTPS\uff08securely transferring web pages\uff09\u670d\u52a1\u5668\uff0c\u9ed8\u8ba4\u7684\u7aef\u53e3\u53f7\u4e3a443\/tcp 443\/udp\uff1b<\/li>\n<li>Telnet\uff08\u4e0d\u5b89\u5168\u7684\u6587\u672c\u4f20\u9001\uff09\uff0c\u9ed8\u8ba4\u7aef\u53e3\u53f7\u4e3a23\/tcp\uff08\u6728\u9a6cTiny Telnet Server\u6240\u5f00\u653e\u7684\u7aef\u53e3\uff09\uff1b<\/li>\n<li>FTP\uff0c\u9ed8\u8ba4\u7684\u7aef\u53e3\u53f7\u4e3a21\/tcp\uff08\u6728\u9a6cDoly Trojan\u3001Fore\u3001Invisible FTP\u3001WebEx\u3001WinCrash\u548cBlade Runner\u6240\u5f00\u653e\u7684\u7aef\u53e3\uff09\uff1b<\/li>\n<li>TFTP\uff08Trivial File Transfer Protocol \uff09\uff0c\u9ed8\u8ba4\u7684\u7aef\u53e3\u53f7\u4e3a69\/udp\uff1b<\/li>\n<li>SSH\uff08\u5b89\u5168\u767b\u5f55\uff09\u3001SCP\uff08\u6587\u4ef6\u4f20\u8f93\uff09\u3001\u7aef\u53e3\u91cd\u5b9a\u5411\uff0c\u9ed8\u8ba4\u7684\u7aef\u53e3\u53f7\u4e3a22\/tcp\uff1b<\/li>\n<li>SMTP Simple Mail Transfer Protocol (E-mail)\uff0c\u9ed8\u8ba4\u7684\u7aef\u53e3\u53f7\u4e3a25\/tcp\uff08\u6728\u9a6cAntigen\u3001Email Password Sender\u3001Haebu Coceda\u3001Shtrilitz Stealth\u3001WinPC\u3001WinSpy\u90fd\u5f00\u653e\u8fd9\u4e2a\u7aef\u53e3\uff09\uff1b<\/li>\n<li>POP3 Post Office Protocol (E-mail) \uff0c\u9ed8\u8ba4\u7684\u7aef\u53e3\u53f7\u4e3a110\/tcp\uff1b<\/li>\n<li>WebLogic\uff0c\u9ed8\u8ba4\u7684\u7aef\u53e3\u53f7\u4e3a7001\uff1b<\/li>\n<li>WebSphere\u5e94\u7528\u7a0b\u5e8f\uff0c\u9ed8\u8ba4\u7684\u7aef\u53e3\u53f7\u4e3a9080\uff1b<\/li>\n<li>WebSphere\u7ba1\u7406\u5de5\u5177\uff0c\u9ed8\u8ba4\u7684\u7aef\u53e3\u53f7\u4e3a9090\uff1b<\/li>\n<li>JBOSS\uff0c\u9ed8\u8ba4\u7684\u7aef\u53e3\u53f7\u4e3a8080\uff1b<\/li>\n<li>TOMCAT\uff0c\u9ed8\u8ba4\u7684\u7aef\u53e3\u53f7\u4e3a8080\uff1b<\/li>\n<li>WIN2003\u8fdc\u7a0b\u767b\u9646\uff0c\u9ed8\u8ba4\u7684\u7aef\u53e3\u53f7\u4e3a3389\uff1b<\/li>\n<li>Symantec AV\/Filter for MSE ,\u9ed8\u8ba4\u7aef\u53e3\u53f7\u4e3a 8081\uff1b<\/li>\n<li>Oracle \u6570\u636e\u5e93\uff0c\u9ed8\u8ba4\u7684\u7aef\u53e3\u53f7\u4e3a1521\uff1b<\/li>\n<li>ORACLE EMCTL\uff0c\u9ed8\u8ba4\u7684\u7aef\u53e3\u53f7\u4e3a1158\uff1b<\/li>\n<li>Oracle XDB\uff08 XML \u6570\u636e\u5e93\uff09\uff0c\u9ed8\u8ba4\u7684\u7aef\u53e3\u53f7\u4e3a8080\uff1b<\/li>\n<li>Oracle XDB FTP\u670d\u52a1\uff0c\u9ed8\u8ba4\u7684\u7aef\u53e3\u53f7\u4e3a2100\uff1b<\/li>\n<li>MS SQL*SERVER\u6570\u636e\u5e93server\uff0c\u9ed8\u8ba4\u7684\u7aef\u53e3\u53f7\u4e3a1433\/tcp 1433\/udp\uff1b<\/li>\n<li>MS SQL*SERVER\u6570\u636e\u5e93monitor\uff0c\u9ed8\u8ba4\u7684\u7aef\u53e3\u53f7\u4e3a1434\/tcp 1434\/udp\uff1b<\/li>\n<li>QQ\uff0c\u9ed8\u8ba4\u7684\u7aef\u53e3\u53f7\u4e3a1080\/udp<\/li>\n<\/ul>\n<h6>\u53c2\u8003\u94fe\u63a5\uff1a<\/h6>\n<ul>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/List_of_TCP_and_UDP_port_numbers\" target=\"_blank\">https:\/\/en.wikipedia.org\/wiki\/List_of_TCP_and_UDP_port_numbers<\/a><\/li>\n<li><a href=\"http:\/\/tool.chinaz.com\/port\/\" target=\"_blank\">http:\/\/tool.chinaz.com\/port\/<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u6279\u91cf\u626b\u63cfIP\u7aef\u53e3\uff0c\u5e76\u5c06\u7ed3\u679c\u5bfc\u51fa\u4e3a\u7531IP\u547d\u540d\u7684\u6587\u4ef6\u3002 \u5047\u8bbeIPlist.txt\u6587\u4ef6\u5185\u5bb9\u4e3a\uff1a 127.0.0.1  [&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,12,20],"tags":[38],"class_list":["post-7","post","type-post","status-publish","format-standard","hentry","category-linux","category-tools","category-windows","tag-nmap"],"views":14024,"_links":{"self":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/7","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=7"}],"version-history":[{"count":0,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/7\/revisions"}],"wp:attachment":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/media?parent=7"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/categories?post=7"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/tags?post=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}