Sharesniffer – Network Share Sniffer and Auto-mounter

sharesniffer is a network analysis tool for finding open and closed file shares on your local network. It includes auto-network discovery and auto-mounting of any open cifs and nfs shares.

sharesniffer - Network Share Sniffer and File Systems Auto-mounter
sharesniffer – Network Share Sniffer and File Systems Auto-mounter

Some of the functionality with this tool are:

  • Host scan, example: or user may just select the targeted subnet to run a network scan and discover active hosts and services.
  • Option to exclude hosts from the scan. this will be useful to accelerate the network mapping operation and not re-scan already known assets.
  • Scan speed aggressiveness level from 3-5
  • support scanning network for nfs shares
  • Allow user scanning network for smb shares
  • Auto-mount any open nfs/smb shares
  • Support SMB username and password
  • Mountpoint to mount shares

Required packages to use the tool are the following:

  • Python 2.7. or 3.5/3.6 (tested on 2.7.15 and 3.6.5)
  • Linux or macOS
  • Nmap 7. in PATH (tested on 7.70)
  • Nmap scripts (.nse) (on Linux/macOS they are usually in /usr/local/share/nmap/scripts/ or /usr/share/nmap/scripts/)
  • python-nmap (pip install python-nmap)
  • netifaces (pip install netifaces)

This will be useful for penetration tester and RedTeam to sniff out and find all smb/nfs shares on the local network and try to mount them for crawling. You can read more and download this tool over here:

Notify of
Inline Feedbacks
View all comments