made requested changes
added improvements by egix
fix check function after speak with egix
add admin already and admin group checks
remove debugging code
Rename the PAYLOAD_TYPE datastore option

This datastore option conflicts with a reserved option in Pro causing
this module to fail in Pro.
Merge branch 'master' into web-modules
Initial import of Nessus basic aux scripts
Initial import of Metasploit RPC aux scripts
Initial import of Nexpose aux scripts
Initial import of OpenVAS aux scripts
Remove EOL spaces
Remove EOL spaces
Prepend unlink instead of appending

Makes it work when using meterpreter.  Because "quit" or "exit" in the
console ends up calling die() instead of falling through to whatever's
left in the file, a meterpreter session would never reach the code to
delete itself before this change.
remove curly braces
Remove curly braces
Remove curly braces
Remove curly braces
fixed -c problems, plugin name, some tab_compl issues remain
Add a FileDropper mixin for recording cleanup targets

Doesn't cover shell sessions yet, so needs a bit more work