rapid7/metasploit-framework — pull request #1067 by mubix (2012-11-15 04:55:34+00:00)
Title: add admin already and admin group checks

adds check to see if already in admin mode
as well as checking to see if the user is in the local admins group in order to bypass UAC