Merge remote-tracking branch 'upstream/master' into bypassuac_redo
Move ExitThread patching to Msf::Util::EXE
Uncomment fail_with
Enable DLL injection in msfvenom
Indentation
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
Revert "Enable DLL injection in msfvenom"

This reverts commit 64e6531bbc3ed9ec9e339e7762cd30b3284d2fb2.
Enable inject
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
Add getenvs, update getenv, change extract_path use

Stacks of modules were using `extract_path` where it wasn't really semantically correct
because this was the only way to expand environment variables. This commit fixes that
up a bit.

Also, I changed the existing `getenv` function in `stdapi` to `getenvs`, and had it
support the splat operator. I added a `getenv` function which is used just for a
single variable and uses `getenvs` behind the scenes.

The meterpreter console `getenv` command now uses `getenvs`