Projects / Sambascan2


Sambascan2 allows you to search an entire network or a number of hosts for SMB shares. It will also list the contents of all public shares that it finds. The difference between sambascan2 and other SMB viewers and scanners is that it will scan everything using TCP/IP, and it will not send a lot of broadcast messages, so it can be used over LAN boundaries. It only uses Samba to scan the shares and their contents. It can also scan known hosts and search indexed files.

Operating Systems

Recent releases

  •  03 Feb 2011 16:04

    Release Notes: This release cleans up the code, removing old debug style. Many changes in the output and cleanup of errors, and the behavior can be controlled with -V. Another option to skip scanning hidden shares like C$ and D$. Options parsing is now done with getopt. Updated parsing of -a, -d and -g for working with getopts. Scans also on post 445. Generic auth support (using the same login and password for all hosts and shares, if no specific password is suplied). Some bugs were fixed.

    •  30 Nov 2009 21:06

      Release Notes: Scanning shares with spaces now works.

      •  08 Dec 2007 12:36

        Release Notes: A new option to scan the hosts listed in a file was added. The default sambascan directory was changed to be invisible. The utility should now be more portable, as it uses the auto-tools to find the right helper commands.

        •  17 May 2007 12:00

          Release Notes: This version adds the ability to scan password protected shares, using known logins and passwords for the host being scanned.

          •  24 Apr 2005 18:46

            Release Notes: Some minor output cleanup. Added features: scanning of known hosts (already found hosts), help, searching for filenames, and searching for files with minimum and/or maximum file sizes.

            Recent comments

            18 Nov 2009 05:44 zhuweihua

            hi!I report a bug of sambascan2. Sambascan2 can not scan sharing folders whose folder name has one or more space. Can you fix this bug and mail me,, thank you very much!

            16 Feb 2004 00:07 asturio

            Feedback wanted
            Hey, I'm glad that sambascan2 hast already some subscribers :). Actualy I want some Ideas, how I could make it more attractive. By now it only generate a file/share-list of hosts. I'm thinking about adding a Download-Daemon function, which should watch if the host is on-line, and when it is, it should begin downloading a given file, probably from a "download-configuration-file", with the same syntax, as the generated indexes.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.