Get and Put Files

Send a File to the Remote Target

Send a local file to the remote target

nxc smb <target> -u <username> -p <password> --put-file /tmp/whoami.txt \\Windows\\Temp\\whoami.txt

Get a File From the Remote Target

Get a remote file on the remote target

nxc smb <target> -u <username> -p <password> --get-file \\Windows\\Temp\\whoami.txt /tmp/whoami.txt