[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <91981b3e0603141519n5cae30f6ofe063749d779837@mail.gmail.com>
Date: Tue, 14 Mar 2006 16:19:41 -0700
From: "Chris Kuethe" <chris.kuethe@...il.com>
To: "Steven M. Christey" <coley@...re.org>
Cc: retard@...igs.com, bugtraq@...urityfocus.com
Subject: Re: histhost v1.0.0 xss and possible rmdir
and my manpages for rmdir(1) [the utility] and rmdir(2) [the system
call] both say that the directory must be empty (ie, have no entries
other than "." or "..").
rmdir(2) should fail and errno should be set to ENOTEMPTY if the
directory is not empty.
On 3/14/06, Steven M. Christey <coley@...re.org> wrote:
>
> retard said:
>
> >as you see line 19 raises suspision of the possibility of rming 0777
> >dirs i've tried it on on my personal server with no sucess, if someone
> >knows of a way let me know.
>
> According to the PHP manual, rmdir only works on empty directories.
> Did you try to remove an empty directory?
>
> - Steve
>
--
GDB has a 'break' feature; why doesn't it have 'fix' too?
Powered by blists - more mailing lists