lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
From: measl at mfn.org (J.A. Terranson)
Subject: FAT32 input > output = null?

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


Powered by blists - more mailing lists