From owner-freebsd-security Mon Nov 8 13:49:14 1999 Delivered-To: freebsd-security@freebsd.org Received: from inet.chip-web.com (adsl-63-195-43-53.dsl.snfc21.pacbell.net [63.195.43.53]) by hub.freebsd.org (Postfix) with SMTP id 6C6E614BCD for ; Mon, 8 Nov 1999 13:49:11 -0800 (PST) (envelope-from ludwigp@bigfoot.com) Received: (qmail 11429 invoked from network); 8 Nov 1999 21:49:10 -0000 Received: from toy.chip-web.com (HELO bigfoot.com) (@172.16.1.30) by inet.chip-web.com with SMTP; 8 Nov 1999 21:49:10 -0000 Message-ID: <38274556.F118488B@bigfoot.com> Date: Mon, 08 Nov 1999 13:49:10 -0800 From: Ludwig Pummer X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.3-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: David Gilbert Cc: freebsd-security@freebsd.org Subject: Re: A new 'sploit? References: <14375.5840.975982.927941@trooper.velocet.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 > To: Markus Holmberg , 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 " 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 ". > > bye, > Harold > > -- > 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