Sodamhan.com

TL;DR

nmblookup

Discover SMB shares. More information: https://www.samba.org/samba/docs/current/man-html/nmblookup.1.html.

  • Find hosts in the local network with SMB shares:

nmblookup -S '*'

  • Find hosts in the local network with SMB shares run by SAMBA:

nmblookup --status __SAMBA__

This document was created using the contents of the tldr project.