# NFS

```
ls /usr/share/nmap/scripts/ | grep NFS

sudo mount -t nfs -o nolock,nfsvers=3 10.11.1.72:/home /mnt/home/

showmount -e IPADDR
nmap -sV –script=nfs-showmount 10.10.10.3

#Try mounting anything that shows up
mkdir tyken
mount -t nfs 10.10.10.3:/_0_bill bill
```

```
mount 192.168.1.1:/vol/share /mnt/nfs  -nolock

```

mounts the share to /mnt/nfs without locking it

```
mount -t cifs -o username=user,password=pass,domain=blah //192.168.1.X/share-name /mnt/cifs

```

Mount Windows CIFS / SMB share on Linux at /mnt/cifs if you remove password it will prompt on the CLI (more secure as it wont end up in bash\_history)

```
net use Z: \\win-server\share password  /user:domain\janedoe /savecred /p:no

```

Mount a Windows share on Windows from the command line

```
apt-get install smb4k –y
```
