> For the complete documentation index, see [llms.txt](https://notes.programmersecurity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.programmersecurity.com/network-penetration-testing/2049-pentesting-nfs.md).

# 2049 - Pentesting NFS

## Showmount (to show the mounts)

```python
showmount -e 10.10.179.151
```

<figure><img src="/files/vwjok99u36ifmlJdDoRb" alt=""><figcaption></figcaption></figure>

## Mounting Remote Directories

```python
sudo mount -t nfs 10.10.179.151:/mnt/nfs_shares mnt -o nolock
```

<figure><img src="/files/Mamy3UrF2WTUihM6nDnY" alt=""><figcaption></figcaption></figure>
