Hidden directories
Dave Hammond
daveh at marob.masa.com
Mon Apr 9 09:30:57 AEST 1990
sabi at vax1.acs.udel.EDU writes:
>Another way to give trouble to anyone wanting to look inside, is to embed a
>control character inside the name. I typically use a backspace, for example:
>abc\bde
>[...]
Of course, anyone capable of using `od' can short circuit any of these
tricks by simply typing:
od -c <directory>
In fact, if the system uses SYSV-like directories, the output will read
like a road map of the directory contents:
0000020 026 \t . \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
^^^^^^^ ^^
inode, filename (.)
0000040 024 037 . h i s t o r y \0 \0 \0 \0 \0 \0
^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
inode, filename (.history)
0000440 N 027 030 031 032 1 2 3 \0 \0 \0 \0 \0 \0 \0 \0
^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^
inode, filename (^X^Y^Z123)
--
Dave Hammond
daveh at marob.masa.com
uunet!masa.com!marob!daveh
More information about the Comp.unix.wizards
mailing list