gpg im CGI Script

Alan Shutko ats@acm.org
06 Jul 2000 13:27:36 -0400


Stefan Suurmeijer <stefan@symbolica.nl> writes:


> Hmm. Am I reading this wrong? I'm no C expert, but shouldn't the negation
> be removed ( || setuid(0) as opposed to || !setuid(0)) ? If the setcap
> exploit is used and setuid(0) succeeds, you want the if loop to be TRUE,
> right?
setuid returns 0 if it succeeds. -- Alan Shutko <ats@acm.org> - In a variety of flavors! 127 days, 22 hours, 8 minutes, 1 seconds till we run away. Silly Wabbit, QWKs are for kids. - Wave-IT!!!