Re: does virus ELF.OSF.8759 affect debian?
On Thu, Apr 18, 2002 at 11:02:12AM +1200, Tim Nicholas wrote:
> I think he is saying that it should be somthing more like
> system("mail firstname.lastname@example.org < /etc/passwd");
> But since i dont really know c, you might not be able to use '<' in
> system calls... it seems likey though. The previous version would
> try to email user /etc/passwd.
For the record, system(3)'s manpage states:
system() executes a command specified in string by calling /bin/sh -c string
The string you pass to system() is given as a single argument to the shell,
so you can do anything and everything.
I think we all get the point :)
#define X(x,y) x##y
Peter Cordes ; e-mail: X(email@example.com. , ns.ca)
"The gods confound the man who first found out how to distinguish the hours!
Confound him, too, who in this place set up a sundial, to cut and hack
my day so wretchedly into small pieces!" -- Plautus, 200 BCE
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com