That's not HTTP.  You meant:

$ echo -e 'GET /path/to/script.cgi HTTP/1.0\r\n\r\n' | netcat
www.example.com 80

or

$ echo -e 'GET /path/to/script.cgi HTTP/1.1\r\nHost:
www.example.com\r\n\r\n' | netcat www.example.com 80


Of course wget or curl is a lot easier.  For posting something, you can
use "curl -d"

C

On Thu, 2002-03-28 at 23:01, Olivier Nicole wrote:
> > (I don't know HTTP that well, just enough to issue a v1.0 GET
> 
> Try:
> 
> telnet www.agn-e.com 80
> GET /cgi-bin/formmail.cgi 80
> Host:  www.agn-e.com
> 
> It works. (took me some time to figure out the syntax of the Host:
> header and it is not documented)
> 
> Olivier
> 
> _______________________________________________
> Spamassassin-talk mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
> 
> 


_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to