Nmap nfs-showmount NSE Script


This page contains detailed information about how to use the nfs-showmount NSE script. For list of all NSE scripts, visit the Nmap NSE Library.

Script Overview


Script source code: https://github.com/nmap/nmap/tree/master/scripts/nfs-showmount.nse
Script categories: discovery, safe
Target service / protocol: rpcbind, mountd, tcp, udp
Target network port(s): 111
List of CVEs: -

Script Description


The nfs-showmount.nse script shows NFS exports, like the showmount -e command.

Nfs-showmount NSE Script Arguments


The nfs-showmount.nse script does not have any arguments.

Nfs-showmount NSE Script Example Usage


Here's an example of how to use the nfs-showmount.nse script:

nmap --script=nfs-showmount <target>

Nfs-showmount NSE Script Example Output


Here's a sample output from the nfs-showmount.nse script:

PORT    STATE SERVICE
111/tcp open  rpcbind
| nfs-showmount:
|   /home/storage/backup 10.46.200.0/255.255.255.0
|_  /home 1.2.3.4/255.255.255.255 10.46.200.0/255.255.255.0

Nfs-showmount NSE Script Example XML Output


There is no sample XML output for this module. However, by providing the -oX <file> option, Nmap will produce a XML output and save it in the file.xml file.

Author


  • Patrik Karlsson

References


See Also


Related NSE scripts to the nfs-showmount.nse script:

Visit Nmap NSE Library for more scripts.

Version


This page has been created based on Nmap version 7.92.