Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Nov 1999 13:49:10 -0800
From:      Ludwig Pummer <ludwigp@bigfoot.com>
To:        David Gilbert <dgilbert@velocet.ca>
Cc:        freebsd-security@freebsd.org
Subject:   Re: A new 'sploit?
Message-ID:  <38274556.F118488B@bigfoot.com>
References:  <14375.5840.975982.927941@trooper.velocet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
David Gilbert wrote:
> I'm still stuck with trying to remove this giant block of
> directories.  Bash won't allow me to cd into them, but if I cd into
> them with sh, I can get all the way to the end.  Once I'm in that last
> directory, if I try to run any command (any non-internal command), I
> get:

> Subject: Re: how to remove directories made by the core-following-symlink test code?
>      Date: Wed, 1 Sep 1999 03:49:54 +0200
>      From: Harold Gutch <logix@foobar.franken.de>
>       To: Markus Holmberg <saska@acc.umu.se>, freebsd-security@FreeBSD.ORG
> 
> 
> On Wed, Sep 01, 1999 at 03:23:16AM +0200, Markus Holmberg wrote:
> > Wanted to test if the 2.2.8-STABLE production box here was vulnerable, so I
> > compiled and executed with the deep dir structure as a result..
> > 
> > Am I missing something very trivial here, or how am I supposed to do to
> > remove the very deep directory structure that was made by the
> > core-follow-symlink test/exploit/whatever code?
> > 
> > A normal "rm -rf <dir>" won't do it..
> > 
> I had the same problem - my (quick) solution was something like
>   while (true) do mv * a && cd a done
> 
> which would rename every directory to "a" (as every directory
> contains only a single subdirectory), which then could be removed
> with "rm -rf <dir>".
> 
> bye,
>   Harold
> 
> -- 
> <Shabby> Sleep is an abstinence syndrome wich occurs due to lack of caffein.
> Wed Mar  4 04:53:33 CET 1998   #unix, ircnet


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38274556.F118488B>