Get and Put files
Get a remote file or send a remote file using CrackMapExec

Send a file to the remote target

Send a local file to the remote target
1
#~ cme smb 172.16.251.152 -u user -p pass --put-file /tmp/whoami.txt \\Windows\\Temp\\whoami.txt
Copied!

Get a file from the remote target

Get a remote file on the remote target
1
#~ cme smb 172.16.251.152 -u user -p pass --get-file \\Windows\\Temp\\whoami.txt /tmp/whoami.txt
Copied!
​