NFS (Port 2049)
NFS
# Step 1: Collect information about the NFS service
$ nmap --script nfs-ls,nfs-showmount,nfs-statfs <ip>
$ showmount -e <ip>
# Step 2: Create a new directory for mounting
$ mkdir /mnt/new_back
# Step 3: Mount the remote directory to our local directory
$ mount -t nfs <ip>:<remote_directory> <local_directory> -o nolock
# Step 4 (optional): Verify if the remote directory was successfully mounted
$ mount
# Step 5: Now the files from the remote directory can be found in /mnt/new_back
$ cd /mnt/new_back && ls -laReference
Last updated