Google generates custom error when using netcat for banner information

Google error logoI was writing an article on how to use HTTP to view web banner information. My first choice was to use the big G, Google.com. However, when I used the command nc google.com 80 and used OPTIONS / HTTP/1.1, Google generated this error message.

It is also interesting to observe how Google generates its logo using the color codes.

Google error message when using netcat

Following is the full code of this error message

<html><head>
<meta http-equiv=”content-type” content=”text/html;charset=utf-8″>
<title>400 Bad Request</title>
<style><!–
body {font-family: arial,sans-serif}
div.nav {margin-top: 1ex}
div.nav A {font-size: 10pt; font-family: arial,sans-serif}
span.nav {font-size: 10pt; font-family: arial,sans-serif; font-weight: bold}
div.nav A,span.big {font-size: 12pt; color: #0000cc}
div.nav A {font-size: 10pt; color: black}
A.l:link {color: #6f6f6f}
A.u:link {color: green}
//–></style>
<script><!–
var rc=400;
//–>
</script>
</head>
<body text=#000000 bgcolor=#ffffff>
<table border=0 cellpadding=2 cellspacing=0 width=100%><tr><td rowspan=3 width=1% nowrap>
<b><font face=times color=#0039b6 size=10>G</font><font face=times color=#c41200 size=10>o</font><font face=times color=#f3c518 size=10>o</font><font face=times color=#0039b6 size=10>g</font><font face=times color=#30a72f size=10>l</font><font face=times color=#c41200 size=10>e</font>  </b>
<td> </td></tr>
<tr><td bgcolor=#3366cc><font face=arial,sans-serif color=#ffffff><b>Error</b></td></tr>
<tr><td> </td></tr></table>
<blockquote>
<H1>Bad Request</H1>
Your client has issued a malformed or illegal request.
<BR><BR>Please see Google’s Terms of Service posted at http://www.google.com/terms_of_service.html
<BR><BR><P>We have encountered an error while processing your request. If you would like to provide us with information about this error, please <A HREF=” http://www.google.com/support/bin/request.py?contact_type=user&hl=en”>report</A> your problem. In your email, please send us the <b>entire</b> code displayed below.  Please also send us any information you may know about how you are performing your Google searches– for example, “I’m using the Opera browser on Linux to do searches from home.  My Internet access is through a dial-up account I have with the FooCorp ISP.” or “I’m using the Konqueror browser on Linux to search from my job at myFoo.com.  My machine’s IP address is 10.20.30.40, but all of myFoo’s web traffic goes through some kind of proxy server whose IP address is 10.11.12.13 .”  (If you don’t know any information like this, that’s OK.  But this kind of information can help us track down problems, so please tell us what you can.)</P><P>We will use all this information to diagnose the problem, and we’ll hopefully have you back up and searching with Google again quickly!</P>
<P>Please note that although we read all the email we receive, we are not always able to send a personal response to each and every email.  So don’t despair if you don’t hear back from us!</P>
<P>Also note that if you do not send us the <b>entire</b> code below, <i>we will not be able to help you</i>.</P><P>Best wishes,<BR>The Google Team</BR></P><BLOCKQUOTE>/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/<BR>
fgr2QdxA4Aue–uLmFACAlDzg3hFB0fTEGD-weBX4JfnRgVSH<BR>
s1qtCCAX9Fe0XVOWKn27Vvg4rWo_dbGMyofON2n-SwixtFERw<BR>
Lo0A==<BR>
+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+/+<BR></BLOCKQUOTE>

<p>
</blockquote>
<table width=100% cellpadding=0 cellspacing=0><tr><td bgcolor=#3366cc><img alt=”" width=1 height=4></td></tr></table>
</body></html>

Related Articles:

Google has a Retard as a CAPTCHA

Leave a Comment