hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

Full Version: Bsd /proc
coder
ok, this is really not that big of a deal, just something i noticed...

while on one of shell accounts (one with restrictions) i'm not allowed to view the processes (ie, "ps") but i do read access to the whole drive (or what i think is the whole drive). now, this wouldn't be abig deal if i wasn't allowed out of my own directory.

like i said before, it's no show stopper- but hey, this can be easily faulted by restricting read access to the /proc dir.

i got the idea while running a Tiny BSD Kernel (not all regular binaries work under some really small distros) - there is a nifty lil app (in c) for BSD that will read (if you have the rights) /proc and print out a nice list smile.gif

http://people.freebsd.org/~picobsd/tinyware/aps/main.c
the_master912
even if posted a long time ago, i say thanks a lot! it was exactly the kind of script i was looking for biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.