Full Disclosure mailing list archives
Re: FAT32 input > output = null?
From: "J.A. Terranson" <measl () mfn org>
Date: Wed, 7 Apr 2004 23:27:29 -0500 (CDT)
On Wed, 7 Apr 2004, morning_wood wrote:
where did the delete command came from ???? this has nothing to do with any system command it was simply an odd behavior where by ">" piping output of a file into itself, causes a 0 byte or corrupted file C:>del.exe >del.exe in particular, executeable files.
You are confusing Pipes and Redirection. Pipes are "|" while redirection is ">" and ">>". The redirection operators imply the opening of a file for writing, which in the case of ">" will always truncate the target as part of the open.
m.wood
Se_cur_ity my ass. -- "One of the nice things about ignorance is that it is curable. Unlike Neo-Conservatism. Eric Michael Cordian _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.netsys.com/full-disclosure-charter.html
Current thread:
- FAT32 input > output = null? morning_wood (Apr 06)
- Re: FAT32 input > output = null? bipin gautam (Apr 07)
- <Possible follow-ups>
- Re: FAT32 input > output = null? chris (Apr 07)
- Re: FAT32 input > output = null? Chris Palmer (Apr 07)
- Re: FAT32 input > output = null? jamie (Apr 08)
- Re: FAT32 input > output = null? madsaxon (Apr 08)
- Re: FAT32 input > output = null? Chris Palmer (Apr 07)
- Re: FAT32 input > output = null? morning_wood (Apr 07)
- Re: FAT32 input > output = null? Nico Golde (Apr 08)
- Re: FAT32 input > output = null? Hugh Mann (Apr 07)
- Re: FAT32 input > output = null? morning_wood (Apr 07)
- Re: FAT32 input > output = null? J.A. Terranson (Apr 07)
- RE: FAT32 input > output = null? Aditya, ALD [Aditya Lalit Deshmukh] (Apr 08)
- Re: FAT32 input > output = null? morning_wood (Apr 08)
- Re: FAT32 input > output = null? Harlan Carvey (Apr 08)
- Re: FAT32 input > output = null? morning_wood (Apr 07)
- Re: FAT32 input > output = null? Frederic Pasteleurs (Apr 08)
- Re: FAT32 input > output = null? harry (Apr 08)
- Re: [EXPLAIN!] FAT32 input > output = null? bipin gautam (Apr 08)
- Re: [EXPLAIN!] FAT32 input > output = null? bipin gautam (Apr 08)
- Re: [EXPLAIN!] FAT32 input > output = null? bipin gautam (Apr 08)
- Re: [EXPLAIN!] FAT32 input > output = null? bipin gautam (Apr 08)