psexec.py
Execute commands on a remote Windows machine using RemComSvc, providing PsExec-like functionality. tldr-pages
On several platforms
Several platforms
Execute commands on a remote Windows machine using RemComSvc, providing PsExec-like functionality. Part of the Impacket suite.
Spawn an interactive shell on a remote target
psexec.py domain/username:password@targetIdentifyExecute a specific command on a remote target
psexec.py domain/username:password@target commandIdentifyCopy the filename for later execution, arguments are passed in the command
psexec.py -c filename domain/username:password@target commandIdentifyExecute a command from a specific path on a remote target
psexec.py -path path domain/username:password@target commandIdentifyAuthenticate using pass-the-hash authentication instead of a password
psexec.py -hashes LM_Hash:NT_Hash domain/username@targetIdentifyUse Kerberos authentication for the target
psexec.py -k -no-pass domain/username@targetIdentifySpecify the IP address of the domain controller
psexec.py -dc-ip domain_controller_ip domain/username:password@targetIdentify