-
Notifications
You must be signed in to change notification settings - Fork 105
How To Display|Change 'Client' Working Directory
pedro ubuntu edited this page Feb 28, 2020
·
31 revisions
This Wiki explains How To Display|Change meterpeter remote 'Client' Working Directory.
Client Remote Working directory its located in $env:tmp
(IF the dropper.bat its executed), But meterpeter gives us access to one 'Interactive powershell console', That means that all powershell commands executed in :meterpeter>
prompt will be executed remotely sutch as: cd <DirName>
Remark
- we can use
cd
Command or$env:
(environment variables) to change the Client working dir ..
- Client default working dir is:
$env:tmp
and meterpeter working dir depends of were its executed.
- meterpeter.ps1 must be executed inside meterpeter directory because it depends of other scripts
Article Quick Jump List
pwd
or dir
PowerShell Native Command(s) can help us to discover the Client
working directory..
Environment variables (or Absoluct Paths) can be used to change the
Client
remote working dir ..