might be available via RPC -111 port as well.
#nmap
nmap --script=nfs-ls.nse,nfs-showmount.nse,nfs-statfs.nse 10.10.10.10 -Pn
#Check if NFS is actually running or not; Update RPC process ID
rpcinfo -p 10.10.10.10
rpcinfo -n 2049 -t 10.10.10.10 100005
#List the available mountable shares
showmount -e
#Mount a drive
mkdir /tmp/new
mount -t nfs 10.10.10.10:/ /tmp/new -o nolock -o vers=3
or
mount -t nfs4 -o proto=tcp,port=2049 10.10.10.10:/home /tmp/new/
Note: if requested NFS version or transport protocol is not supported, change the version (-o vers=3) or (-o vers=2) or totally remove the version and let it take the version.
you can also add -o rw,vers=3
Comments
Post a Comment