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  linux-hardening  linux-cve-announce  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]
Date: Wed, 21 Sep 2011 13:56:22 +0100
From: Jacqui Caren <jacqui.caren@...world.com>
To: full-disclosure@...ts.grok.org.uk
Subject: Re: Possibility to exploit bash "*" processing

On 21/09/2011 10:39, Cédric Jeanneret wrote:
> Consider using:
> rm ./*

I dont see why someone would know how to use '--' for touch and not for rm...

[jacqui@...ter test]$ touch -- -f -r
[jacqui@...ter test]$ rm *
[jacqui@...ter test]$ ls -l
total 0
-rw-rw-r-- 1 jacqui jacqui 0 Sep 21 12:53 -f
-rw-rw-r-- 1 jacqui jacqui 0 Sep 21 12:53 -r
[jacqui@...ter test]$ rm -- *
[jacqui@...ter test]$ ls -l
total 0
[jacqui@...ter test]$

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ