cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: cookies appearing in ps stack (fwd)

From: Roth, Kevin P. <KPRoth_at_MarathonOil.com>
Date: Mon, 16 Dec 2002 02:19:36 -0500

There is already a workaround for this - it's called `curl -K`...

Put your command line args into a "config file", with one arg
per line (such as --cookie name=value), then specify your
file-name like curl -K filename.

Or, if it's just cookies you're concerned with, try using a
cookie-jar file. See the -c option, combined with -b.

--Kevin

---------- Forwarded message ----------
Date: Sun, 15 Dec 2002 17:26:00 -0500
From: alex avriette <avriettea_at_speakeasy.net>

i'm interacting with a website whereby i must authenticate. i am using
curl, and i noticed that i (and other users, eep) am able to see the
contents of the cookies by running "ps" or "w". only some os's actually
support changing the name of the currently running program. there is
some weirdness, for example on openbsd where you can actually change
the name of the currently running program with no effect. but if you
fork, the children will have the "new" name. linux doesn't care.
solaris, as i recall, is iffy. but what else is new.

anyways, it would be nice to have a --private option or something to
occlude the ps line.

-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
Received on 2002-12-16