Bugtraq mailing list archives

Re: histhost v1.0.0 xss and possible rmdir


From: "Chris Kuethe" <chris.kuethe () gmail com>
Date: Tue, 14 Mar 2006 16:19:41 -0700

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 () mitre 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?


Current thread: