List Info

Thread: using netcat (nc) to POST data to a web server ...




using netcat (nc) to POST data to a web server ...
user name
2006-11-30 13:30:47
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Does anyone have an example of this?  I've searched google,
and am finding 
nothing other then that it can be done ...

Thx ...

- ----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email . scrappyhub.org                              MSN .
scrappyhub.org
Yahoo . yscrappy               Skype: hub.org        ICQ .
7615664
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFbt0H4QvfyHIvDvMRAvbvAKDmsFSZUl7R03UX0KHzGvKQfTDXsACe
IEZ0
e8A9L2ZpqL13dgTcCVMIsGg=
=P1MV
-----END PGP SIGNATURE-----

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
using netcat (nc) to POST data to a web server ...
user name
2006-11-30 13:58:24
On Thursday 30 November 2006 15:30, Marc G. Fournier wrote:
> 
> Does anyone have an example of this?  I've searched
google, and am finding
> nothing other then that it can be done ...
> 

Interesting question Marc.

Just found this
http
://www.jmarshall.com/easy/http/#othermethods

If you google for (telnet post http) you'll find many
similar pages.

Nikos
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
using netcat (nc) to POST data to a web server ...
user name
2006-11-30 16:08:33
In the last episode (Nov 30), Marc G. Fournier said:
> using netcat (nc) to POST data to a web server ...  
>
> Does anyone have an example of this?  I've searched
google, and am
> finding nothing other then that it can be done ...

I'd recommend using curl.  It has options for sending HTTP
POST data in
a couple of different formats.  With nc, you'll have to
fabricate the
entire request and pipe it in.  Easy enough to determine the
format by
tcpdumping a browser session, but curl has done the work and
lets you
do error checking on the response.

-- 
	Dan Nelson
	dnelsonallantgroup.com
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
using netcat (nc) to POST data to a web server ...
user name
2006-11-30 20:03:20
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



- --On Thursday, November 30, 2006 10:08:33 -0600 Dan Nelson

<dnelsonallantgroup.com> wrote:

> In the last episode (Nov 30), Marc G. Fournier said:
>> using netcat (nc) to POST data to a web server ...
>>
>> Does anyone have an example of this?  I've searched
google, and am
>> finding nothing other then that it can be done ...
>
> I'd recommend using curl.  It has options for sending
HTTP POST data in
> a couple of different formats.  With nc, you'll have to
fabricate the
> entire request and pipe it in.  Easy enough to
determine the format by
> tcpdumping a browser session, but curl has done the
work and lets you
> do error checking on the response.

Availability, mostly :(  nc seems to be part of the base OS,
while curl is an a 
port ... I'm trying to find a way to use POST to send the
bsdstats data out, 
insted of GET ...

Thanks though ...

- ----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email . scrappyhub.org                              MSN .
scrappyhub.org
Yahoo . yscrappy               Skype: hub.org        ICQ .
7615664
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFbzkI4QvfyHIvDvMRAiP4AKDLW9gP4gxQ4HwLoho0l2zEpo+AtgCd
GtNP
oYCDi83TRONyHfS8NmCT6mo=
=StiC
-----END PGP SIGNATURE-----

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
using netcat (nc) to POST data to a web server ...
user name
2006-11-30 20:23:24
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



- --On Thursday, November 30, 2006 15:58:24 +0200 Nikos
Vassiliadis 
<nvassteledomenet.gr> wrote:

> On Thursday 30 November 2006 15:30, Marc G. Fournier
wrote:
>>
>> Does anyone have an example of this?  I've searched
google, and am finding
>> nothing other then that it can be done ...
>>
>
> Interesting question Marc.
>
> Just found this
> http
://www.jmarshall.com/easy/http/#othermethods
>
> If you google for (telnet post http) you'll find many
similar pages.

Perfect, thank you ... didn't think to search for telnet :(

- ----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email . scrappyhub.org                              MSN .
scrappyhub.org
Yahoo . yscrappy               Skype: hub.org        ICQ .
7615664
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFbz284QvfyHIvDvMRAmRZAKCsaFTEwaX37bRo4w7Ihx4YBjs/9gCd
GmUt
BqWxBznTsO3Q8RDS0/I6yCs=
=nviy
-----END PGP SIGNATURE-----

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )