How to find the directory of a process?
You can check this on: /proc/PID/cwd directory or you can use pwdx command to report the current working directory of a process or processes.
Using pwdx:# pwdx 1234
Output:1234: /folder/
Usign /proc/PID/cwd:
# nano /proc/1234/cwd
This is a good way to check if someone is running processes on hiden folders.
9:51 PM
|
Tags:
security
|
This entry was posted on 9:51 PM
and is filed under
security
.
You can follow any responses to this entry through
the RSS 2.0 feed.
You can leave a response,
or trackback from your own site.
Subscribe to:
Post Comments (Atom)
0 Comments:
Post a Comment