apt install nfs-common 安装nfs客户端
showmount -e 192.168.244.128 查看nfs服务器上的共享目录
/666/share 假设文件共享为 /666/share
挂载
mkdir tmp123 本地创建tmp123
mount -t nfs 192.168.244.128:/666/share tmp123 挂载至tmp123
ls /mnt
卸载
umount tmp123
或者使用msf检测
use auxiliary/scanner/nfs/nfsmount
set rhosts 192.168.244.128
run
![](https://upload-images.jianshu.io/upload_images/4664072-a0949d8bcf8a556b.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)