Links

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
#~ cme smb 172.16.251.152 -u user -p pass --put-file /tmp/whoami.txt \\Windows\\Temp\\whoami.txt

Get a file from the remote target

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