rapid7/metasploit-framework — pull request #2196 by R3dy (2013-08-07 17:09:59+00:00)
Title: added module smb_localadmin_search.rb

This module will check a set of credentials against an RHOSTS range for local admin rights. It simply authenticates over SMB and then checks for a successful bind to the ADMIN$. If successful it uses the same report_creds method as smb_login.rb to store the credentials to the database.