Netbios-shares-scanner
Jump to navigation
Jump to search
Description
Netbios Shares Scanner has been developed by SecPoint. The tool scans an IP address and tries to retrieve shared disks and their content. It works for Windows workstations/servers as well as for Linux boxes (smbclient used for login).
Installation
$ cd /data/src/ $ wget http://packetstorm.austin2600.net/UNIX/scanners/netbios-shares-scanner-0.2.zip $ mkdir /pentest/scanners/ $ unzip netbios-shares-scanner-0.2.zip -d /pentest/scanners/
Usage
$ python netbios-shares-scanner.py <IP>
Example
$ cd /pentest/scanners/netbios-shares-scanner-0.2/ $ python netbios-shares-scanner.py 192.168.100.30 Anonymous login successful Sharename Type Comment --------- ---- ------- print$ Disk Printer Drivers tmp Disk oh noes! opt Disk IPC$ IPC IPC Service (metasploitable server (Samba 3.0.20-Debian)) ADMIN$ IPC IPC Service (metasploitable server (Samba 3.0.20-Debian)) Anonymous login successful Server Comment --------- ------- METASPLOITABLE metasploitable server (Samba 3.0.20-Debian) TESTPC-PC TESTLAB-ED7B8FBD TESTLAB-Q5KN93VK Workgroup Master --------- ------- WORKGROUP METASPLOITABLE Found share: tmp Anonymous login successful . D 0 Sat Jan 29 21:22:00 2011 .. DR 0 Thu Apr 29 00:25:52 2010 .ICE-unix DH 0 Sun Jan 9 19:11:58 2011 .X11-unix DH 0 Sun Jan 9 19:11:58 2011 samba_symlink_dir_traversal.nasl-1295296593 D 0 Sat Jan 29 21:22:00 2011 56891 blocks of size 131072. 44945 blocks available Found share: opt Anonymous login successful tree connect failed: NT_STATUS_ACCESS_DENIED Found share: print$ Anonymous login successful tree connect failed: NT_STATUS_ACCESS_DENIED