From Windows

Snaffler

https://github.com/SnaffCon/Snaffler

When run on a domain joined machine, automatically identifies accessible network shares and searches for interesting files.

Snaffler.exe -s

PowerHuntShares

https://github.com/NetSPI/PowerHuntShares

Powershell script.

Generates an HTML report.

Set-ExecutionPolicy -Scope Process Bypass
Import-Module .\\PowerHuntShares.psm1
Invoke-HuntSMBShares -Threads 100 -OutputDirectory c:\\Users\\Public

Hunting from Linux

Manspider

https://github.com/blacklanternsecurity/MANSPIDER

To scan SMB shares from Linux