Home page logo

fulldisclosure logo Full Disclosure mailing list archives

Re: annoying bug in Windows XP
From: Thierry Zoller <Thierry () sniff-em com>
Date: Sun, 16 Oct 2005 20:36:52 +0200

Dear Jerome,

A DOS 8.3 extension has 3 characters, del and various
other dos tools ignore everything that has more then
3 chars, so for del .jav is the same as .java


JA> Hi,

JA> maybe something similar to this:

JA> http://seclists.org/lists/vuln-dev/2005/Feb/0007.html

JA> Frank Dietrich wrote:

Hi to all readers,

this day I found a annoying misbehavior in Windows XP professional
with SP2. 

I had a directory with some Java sources (*.java) and some backup
files (*.jav). Because I din't longer need the backup files I would
delete them with 'del *.jav'. But this command also delete all the
source files. #§%*. The last backup was 4 hours ago. :-/

So I tried what happen and the result is the command above checks
only the first three chars from the extension (DOS is alive).

Here is how you can reproduce it:

mkdir testbug
cd testbug
del *.jav

All three files are deleted. Is this a known bug or a unknown feature?


Mit freundlichen Grüßen
Thierry Zoller
mailto:Thierry () sniff-em com

Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]