Page 2 of 2 FirstFirst 12
Results 11 to 11 of 11

Thread: HOWTO: Netcat - TCP/IP swiss army knife

  1. #11
    Join Date
    Jan 2011
    Beans
    2

    Re: HOWTO: Netcat - TCP/IP swiss army knife

    A friend of mine directed me to the answer: https://bugs.launchpad.net/ubuntu/+s...sd/+bug/544935

    This works for me:
    loco@ubuntu:~$ lsb_release -d
    Description: Ubuntu 10.04.1 LTS
    loco@ubuntu:~$ echo -e "HEAD / HTTP/1.0\r\n" | nc www.kernel.org 80 -q -1
    HTTP/1.1 200 OK
    Date: Mon, 31 Jan 2011 07:53:54 GMT
    Server: Apache/2.2.17 (Fedora)
    Accept-Ranges: bytes
    Content-Type: text/html; charset=UTF-8
    Connection: close
    Last edited by LocoDelAs_embly; January 31st, 2011 at 08:57 AM. Reason: All line breaks were removed when posting

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •