Files
metasploit-gs/lib/msf/core/post
bcoles 6821066217 Add find_writable_directories to Msf::Post::File
Add a method to discover writable directories on Unix targets using the
`find` command. This is useful in post-exploitation scenarios where a
module needs to locate a writable staging path.

Parameters:
- path: base directory to search (default: /)
- max_depth: find -maxdepth limit (default: 2)
- timeout: maximum seconds for cmd_exec to wait (default: 15)

Raises on Windows sessions. Returns an array of absolute paths, or nil
on failure. Non-absolute lines (e.g. find error messages) are filtered
from the output.
2026-04-17 02:31:19 +10:00
..
2024-11-21 04:34:15 -05:00
2023-06-05 12:10:10 -05:00
2024-10-12 14:36:09 +11:00
2022-08-06 14:01:56 -04:00
2024-06-13 15:46:02 -04:00