Netcat examples

echo -e 'GET / HTTP/1.0\r\n\r\n' | nc -w 8 www.tic.ch 80
HTTP/1.1 400 Bad Request
Content-Type: text/html
Date: Fri, 23 Nov 2007 11:12:11 GMT
Connection: close
Content-Length: 39

This entry was posted in Software and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.