run NFS client to the rpc(111) port filterd server
330
nmap <target> -p- -Pn --open
nmap <target> -p<port1>,<port2>... -Pn -sV -sC
3.1. assign target and mountd port
docker run --privileged --rm -it -e TARGET=<target> -e MOUNTD_PORT=<port> tim124058/nfs-without-rpc
or using rpc_data file
docker run --privileged --rm -it -e TARGET=<target> -v $(pwd)/rpc_data:/rpc_data tim124058/nfs-without-rpc
3.2. run nfs command
rpcinfo -p <target>
showmount -e <target>
mount -t nfs -o nfsvers=3 <target>:/var/nfsshare /mnt/
rpc_data example:
100003 3 tcp 2049 nfs
100005 3 tcp 46941 mountd
Content type
Image
Digest
Size
156.5 MB
Last updated
about 5 years ago
docker pull tim124058/nfs-without-rpc