Sign inSign up

tim124058/nfs-without-rpc

By tim124058

•Updated about 5 years ago

run NFS client to the rpc(111) port filterd server

Image
0

330

tim124058/nfs-without-rpc repository overview

⁠Usage

  1. port scan (all port)
nmap <target> -p- -Pn --open
  1. port scan (verbose)
nmap <target> -p<port1>,<port2>... -Pn -sV -sC
  1. run showmount or mount in container

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

Tag summary

Content type

Image

Digest

Size

156.5 MB

Last updated

about 5 years ago

docker pull tim124058/nfs-without-rpc