[SECURITY] Simpleinit root exploit

Matthias Benkmann matthias at winterdrache.de
Mon May 27 09:57:57 PDT 2002


On Sun, 26 May 2002 23:23:27 -0600 Rob 'Feztaa' Park <feztaa at shaw.ca>
wrote:

> Is it possible to list open filehandles? I don't suppose that 
> 'ls -l /dev/fd/' would cut it, eh? 

Well, you were close. If you look at the output of

ls -ld /dev/fd 

you'll see that it's a symlink to /proc/self/fd which contains the file
descriptors of the process reading it. To list open descriptors do

ls -l /proc/*/fd

MSB

-- 
Where...the ENIAC is equipped with 18000 vacuum tubes and weighs 30 tons,
computers in the future may have 1000 vacuum tubes and perhaps weigh just
1-1/2 tons.

Popular Mechanics, March 1949, p.258

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-security' in the subject header of the message



More information about the lfs-security mailing list