-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Open
Labels
Description
The #mkdir post API method behaves inconsistently between session types.
Powershell, Windows and the fall-through mkdir -p all create intermediary directories automatically. The Windows Meterpreter uses CreateDirectoryW which does not, meaning it'll fail if an intermediate directory is missing. Other Meterpreters may or may not handle it in the same way.
Expected behavior
- It should behave consistently regardless of the session type, shell, powershell, meterpreter, etc.
- It should be included in our
post/test/filetests, like#rm_rfis
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo