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-next>] [day] [month] [year] [list]
From: chris at defcon.org (chris)
Subject: FAT32 input > output = null?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This also works with the 2.4.24 Linux kernel (Slackware 9.1):

chris@...mer:~$ more testfile.txt
Let's try this in Linux
chris@...mer:~$ ls -al testfile.txt
- -rw-r--r--    1 chris    users          24 Apr  7 12:43 testfile.txt
chris@...mer:~$ testfile.txt>testfile.txt
- -bash: ./testfile.txt: Permission denied
chris@...mer:~$ more testfile.txt
chris@...mer:~$ ls -al testfile.txt
- -rw-r--r--    1 chris    users           0 Apr  7 12:44 testfile.txt
chris@...mer:~$

Tried with +x too:

chris@...mer:~$ mv testfile.txt testfile
chris@...mer:~$ echo "ls -al">testfile
chris@...mer:~$ ls -al testfile
- -rw-r--r--    1 chris    users           7 Apr  7 12:48 testfile
chris@...mer:~$ chmod u+x testfile
chris@...mer:~$ ls -al testfile
- -rwxr--r--    1 chris    users           7 Apr  7 12:48 testfile*
chris@...mer:~$ ./testfile
total 346520
<My ls snipped>
chris@...mer:~$ testfile>testfile
- -bash: ./testfile: Text file busy
chris@...mer:~$ ls -al testfile
- -rwxr--r--    1 chris    users           0 Apr  7 12:49 testfile*


Chris



__________________________________
YAP, works for ntfs too...

- --------------------------------------
- --- morning_wood <se_cur_ity@...mail.com> wrote:
> Fat32 file output redirect overwrites self.
> ===========================
>
> odd behavior... >?
>
> 1.) console application output redirected to itself
> ( file.ext > file.ext )
> C:\test>program.exe >program.exe
>  program.exe

__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAdDGIOyWtx0MtxawRAuP6AJ9QHaZ/mhNxttBze9Nxb+ifZwU+nwCgmBZO
a1zOdYCkpelbTkIjRVo0VCw=
=xDPp
-----END PGP SIGNATURE-----


Powered by blists - more mailing lists