Initial commit
Merge remote-tracking branch 'upstream/master' into wmic_post
Get and parse result from clipboard
Use WaitForSingleObject instead of loop
Fix up local wmi exploit.
Final tidyup
Clear clipboard first
Re-add file out to wmic_command
Load extapi before wmic
Revert to file io if no EXTAPI
Convert UTF16 to ASCII
Shadowcopy should use common wmic command

Small fix to ensure output is retrieved (args -> nil)
Modify shadowcopy to use wmic_query
Merge remote-tracking branch 'upstream/master' into wmic_post

Conflicts:
	lib/msf/core/post/windows.rb
Merge remote-tracking branch 'upstream/master' into wmic_post
Blame @OJ

He changed the clipboard API underneat me.
adjust timeout for shadowcopy

WMIC defaults to 10 sec timeout but shadowcopy
often needs longer.
Land #2764, WMIC Post Mixin changes

lands Meatballs WMIC changes