SessionExec
SessionExec
Usage
SMB execution with password authentication, targeting workstations
PsMapExec SMB -Module SessionExec -Targets "Workstations" -Username [User] -Password [Pass] -Command "whoami /all"WinRM execution with hash authentication, targeting servers
PsMapExec WinRM -Module SessionExec -Targets "Servers" -Username [User] -Hash [Hash] -Command "whoami /all"WMI execution with Kerberos ticket authentication (Username not required)
PsMapExec WMI -Module SessionExec -Targets "All" -Ticket [doI..] Optional Parameters
1) The command to run as each user, if not specified a simple "whoami" will be executed.
-Command2) Displays each targets output to the console
3) Display only successful results
Supported Methods
Last updated