Get a remote file or send a remote file using NetExec
Send a local file to the remote target
nxc ssh 172.16.251.152 -u user -p pass --put-file file.txt /tmp/file.txt
Get a remote file on the remote target
nxc ssh 172.16.251.152 -u user -p pass --get-file /tmp/file.txt file.txt
Last updated 1 year ago
Was this helpful?