Mailinglist Archive: opensuse-security (465 mails)

< Previous Next >
Re: [suse-security] Hack, creating a directory with whitespace name only
  • From: Peter Wiersig <wiersig@xxxxxxxxx>
  • Date: Tue, 11 Dec 2001 21:43:34 +0100
  • Message-id: <200112112041.VAA13712@xxxxxxxxxxxxx>
On Tuesday, 11. December 2001 21:33, Hella.Breitkopf@xxxxxxxxxx wrote:
> ~/tmp1 > ls -la
> total 1897
> drwxr-xr-x 2 hacker root 1024 Dec 11 21:03
> drwxr-xr-x 4 me users 1024 Dec 11 21:01 .
> drwx------ 34 me users 3072 Dec 11 19:07 ..
> drwxr-xr-x 2 me users 1024 Aug 17 15:39 1234
> -rw-r--r-- 1 me users 11150 Jul 24 16:35 blah
>
> If it isn't shown with ls -la, the directory is hidden
> in a more sophisticated way .. (that's when it gets interesting)

If I do that in my ~ I'm sure I'll oversee that directory.

ls --help shows '-Q' which puts the listed item in quotes which is nicer.
(I hope I remember that for those smb-shares... )

But there are some tricks with control characters like "Carriage-Return" and
"line-up" which could(?) overprint the line with the hidden dir with the
following line.

Peter

< Previous Next >
Follow Ups
References