111 - NFS/RPC

scanning for

nmap -v -p 111 10.11.1.1-254

search for nmap NSE scripts

ls -1 /usr/share/nmap/scripts/nfs*
    /usr/share/nmap/scripts/nfs-ls.nse
    /usr/share/nmap/scripts/nfs-showmount.nse
    /usr/share/nmap/scripts/nfs-statfs.nse

nmap NSE script

nmap -sV -p 111 --script=rpcinfo 10.11.1.1-254
nmap -p 111 --script nfs* 10.11.1.72

mount a share

mkdir <local_folder>
sudo mount -o nolock 10.11.1.72:<remote_folder> <local_folder>
cd <local_folder> && ls

mount a share downgrading NFS version

sudo mount -t nfs -o vers=3 <ip>:<remote_folder> <local_folder> -o nolock

Last updated