rapid7/metasploit-framework — pull request #444 by darkoperator (2012-06-04 11:13:56+00:00)
Title: Fixes for OSX and Remote Desktop Post Modules

Added privilege checking for when:

* Creating an account on the target system
* Enabling the RDP Service

Added error checking for when:

* Creating an account

Will print now the error it got from the net command for easier understanding of why it failed. Change the cmd_exec calls to use proper command and option parameters. Added the fixes requested in the redmine ticket that egypt assigned me for the OSX post modules.