Download and Upload Files
Example usage:
# Share name is "/home/user/Desktop/NFSShare"
nxc nfs <ip> --share /home/user/Desktop/NFSShare/ --get-file as.txt as.txt
# Example Output
NFS <ip> <nfs_port> <ip> [*] Supported NFS versions: (3, 4) (root escape:True)
NFS <ip> <nfs_port> <ip> [*] Downloading as.txt to as.txt
NFS <ip> <nfs_port> <ip> File successfully downloaded from as.txt to as.txt
nxc nfs <ip> --share /home/user/Desktop/NFSShare/ --put-file aa.txt aa.txt
# Example Output
NFS <ip> <nfs_port> <ip> [*] Supported NFS versions: (3, 4) (root escape:True)
NFS <ip> <nfs_port> <ip> [*] Uploading from aa.txt to aa.txt
NFS <ip> <nfs_port> <ip> [*] Trying to create aa.txtaa.txt
NFS <ip> <nfs_port> <ip> [+] aa.txt successfully created
NFS <ip> <nfs_port> <ip> [+] Data from aa.txt successfully written to aa.txt with permissions 777
NFS <ip> <nfs_port> <ip> File aa.txt successfully uploaded to aa.txtDownload File
Example usage:
Upload File
Uploaded files are created with chmod 777 permissions. If folders in the specified path do not exist yet, they will be created as well. Example usage:
If the local file already exists on the remote server, NetExec asks whether you want to overwrite it.
Last updated
Was this helpful?

