BugTraq
Re: histhost v1.0.0 xss and possible rmdir Mar 14 2006 08:40PM
Steven M. Christey (coley mitre org) (1 replies)
Re: histhost v1.0.0 xss and possible rmdir Mar 14 2006 11:19PM
Chris Kuethe (chris kuethe gmail com)
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 (at) mitre (dot) org [email concealed]> 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?

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus