<div dir="ltr">this is totally a headscratcher for me. my browser fetches and displays the expected and reasonable pages for <a href="http://google.com">google.com</a>, <a href="http://www.kfai.org">www.kfai.org</a>, and <a href="http://yermande.org">yermande.org</a>. and the first command below seems to successfully fetch <a href="http://google.com">google.com</a>'s root page. however the second and third commands below get surprising results from <a href="http://www.kfai.org">www.kfai.org</a> and <a href="http://yermande.org">yermande.org</a>. any ideas what's happening?<br><br><span style="font-family:monospace,monospace"><font size="1">>$ exec 3<> /dev/tcp/<a href="http://google.com/80;echo">google.com/80;echo</a> "GET /">&3;while read -r r;do echo $r;done<&3|head -5<br>>HTTP/1.0 200 OK<br>>Date: Thu, 24 Sep 2015 00:17:43 GMT<br>>Expires: -1<br>>Cache-Control: private, max-age=0<br>>Content-Type: text/html; charset=ISO-8859-1<br><br>>$ exec 3<>/dev/tcp/<a href="http://www.kfai.org/80;echo">www.kfai.org/80;echo</a> "GET /">&3;while read -r r;do echo $r;done<&3<br>><html><body><h1>It works!</h1><br>><p>This is the default web page for this server.</p><br>><p>The web server software is running but no content has been added, yet.</p><br>></body></html><br><br>>$
exec 3<>/dev/tcp/<a href="http://yermande.org/80;echo">yermande.org/80;echo</a> "GET /">&3;while
read -r r;do echo $r;done<&3<br>><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><br>><html><head><br>><title>404 Not Found</title><br>></head><body><br>><h1>Not Found</h1><br>><p>The requested URL / was not found on this server.</p><br>><hr><br>><address>Apache Server at 127.0.0.1 Port 80</address><br>></body></html></font></span><br></div>