{"id":899,"date":"2013-12-23T10:53:21","date_gmt":"2013-12-23T02:53:21","guid":{"rendered":"http:\/\/www.awaysoft.com\/taor\/?p=899"},"modified":"2014-04-03T15:17:46","modified_gmt":"2014-04-03T07:17:46","slug":"linux-%e6%a3%80%e6%b5%8b%e8%bf%9c%e7%a8%8b%e7%ab%af%e5%8f%a3%e6%98%af%e5%90%a6%e6%89%93%e5%bc%80","status":"publish","type":"post","link":"https:\/\/actom.me\/blog\/linux-%e6%a3%80%e6%b5%8b%e8%bf%9c%e7%a8%8b%e7%ab%af%e5%8f%a3%e6%98%af%e5%90%a6%e6%89%93%e5%bc%80.html","title":{"rendered":"Linux \u68c0\u6d4b\u8fdc\u7a0b\u7aef\u53e3\u662f\u5426\u6253\u5f00"},"content":{"rendered":"<p>\u90e8\u95e8\u5bf9\u5916\u63d0\u4f9b\u670d\u52a1\u4f7f\u7528\u7684\u662fssh\u96a7\u9053\u5230\u4e91\u4e3b\u673a\uff0c\u4f46\u662f\u6709\u65f6\u5019\uff0c\u96a7\u9053\u4f1a\u65ad\u5f00\uff0c\u901a\u8fc7\u68c0\u6d4b\u8fdc\u7a0b\u7aef\u53e3\u662f\u5426\u6253\u5f00\u4ee5\u91cd\u65b0\u5efa\u7acb\u8fde\u63a5\u3002<\/p>\n<p>\u7ecf\u8fc7\u767e\u5ea6\uff0c\u627e\u5230\u4e86nmap\u547d\u4ee4\uff0c\u4f7f\u7528\u4e0b\u9762\u547d\u4ee4\u68c0\u6d4b\u8fdc\u7a0b\u7aef\u53e3<\/p>\n<pre class=\"theme:github lang:sh decode:true\">\/usr\/bin\/nmap -sS www.baidu.com -p 80<\/pre>\n<p>\u663e\u793a\u7ed3\u679c\u5982\u4e0b\uff1a<\/p>\n<pre class=\"theme:github lang:default mark:6 decode:true\">Starting Nmap 6.40 ( http:\/\/nmap.org ) at 2013-12-23 10:49 CST\r\nNmap scan report for www.baidu.com (115.239.210.27)\r\nHost is up (0.030s latency).\r\nOther addresses for www.baidu.com (not scanned): 115.239.210.26\r\nPORT   STATE SERVICE\r\n80\/tcp open  http\r\n\r\nNmap done: 1 IP address (1 host up) scanned in 1.43 seconds<\/pre>\n<p>\u53ef\u4ee5\u770b\u523080\u7aef\u53e3\u662f\u6253\u5f00\u7684\uff0c\u90a3\u4e48\u6211\u4eec\u5c31\u53ef\u4ee5\u901a\u8fc7\u5982\u4e0b\u547d\u4ee4\u6765\u6267\u884c\u60f3\u8981\u7684\u64cd\u4f5c\u4e86<\/p>\n<pre class=\"theme:github lang:sh decode:true crayon-selected\">i1=`\/usr\/bin\/nmap -sS www.baidu.com -p 80 | grep 80 | awk '{printf $2}'`\r\nif [ \"$i1\" == \"closed\" ]; then\r\n        killall ssh\r\nfi<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u90e8\u95e8\u5bf9\u5916\u63d0\u4f9b\u670d\u52a1\u4f7f\u7528\u7684\u662fssh\u96a7\u9053\u5230\u4e91\u4e3b\u673a\uff0c\u4f46\u662f\u6709\u65f6\u5019\uff0c\u96a7\u9053\u4f1a\u65ad\u5f00\uff0c\u901a\u8fc7\u68c0\u6d4b\u8fdc\u7a0b &#8230; <a class=\"more-link\" href=\"https:\/\/actom.me\/blog\/linux-%e6%a3%80%e6%b5%8b%e8%bf%9c%e7%a8%8b%e7%ab%af%e5%8f%a3%e6%98%af%e5%90%a6%e6%89%93%e5%bc%80.html\">Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[],"_links":{"self":[{"href":"https:\/\/actom.me\/blog\/wp-json\/wp\/v2\/posts\/899"}],"collection":[{"href":"https:\/\/actom.me\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/actom.me\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/actom.me\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/actom.me\/blog\/wp-json\/wp\/v2\/comments?post=899"}],"version-history":[{"count":4,"href":"https:\/\/actom.me\/blog\/wp-json\/wp\/v2\/posts\/899\/revisions"}],"predecessor-version":[{"id":902,"href":"https:\/\/actom.me\/blog\/wp-json\/wp\/v2\/posts\/899\/revisions\/902"}],"wp:attachment":[{"href":"https:\/\/actom.me\/blog\/wp-json\/wp\/v2\/media?parent=899"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/actom.me\/blog\/wp-json\/wp\/v2\/categories?post=899"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/actom.me\/blog\/wp-json\/wp\/v2\/tags?post=899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}