[3736] in WWW Security List Archive

home help back first fref pref prev next nref lref last post

Re: command line html commands

daemon@ATHENA.MIT.EDU (Yiorgos Adamopoulos)
Fri Dec 6 18:36:15 1996

From: Yiorgos Adamopoulos <Y.Adamopoulos@noc.ntua.gr>
To: bc17684@90.deere.com (Bertrum Carroll)
Date: Fri, 6 Dec 1996 22:14:10 +0200 (EET)
Cc: www-security@ns2.rutgers.edu
In-Reply-To: <32A6B7F5.4E1A@90.deere.com> from "Bertrum Carroll" at Dec 5, 96 05:54:29 am
Reply-To: y.adamopoulos@noc.ntua.gr
Errors-To: owner-www-security@ns2.rutgers.edu

Hi,

> Is it possible to do a http request via a script or command line?

Yes.  You can use socket(1) or netcat for this.  Example

$ echo GET / | nc www.host.dom 80

More sophisticated stuff can be done if you hack the webcopy (Perl) source.

> 	Goal is to preload "stuff" in to a proxy

This is tougher, but I suppose it can be done (although maybe not needed).


-Yiorgos.

home help back first fref pref prev next nref lref last post