post/local_admin_search_enum~Regex fails,module 2
If the regex fails then the entire moudle would too
Import Powershell libs and modules (again)

Add Rex powershell parser:
 reads PSH, determines functions, variables, blocks
 compresses and cleans up the code it's read, obfuscates
 handles string literals and reserved variable names
 extracts code blocks and functions for reuse
  turns powersploit into a useful sub-component for MSF
Rewire Msf powershell modules
 Make use of Rex parser
 Handles payload generation, substituions
 Brings convenience methods - byte array generation and download
 Re-add .NET compiler
  Compiles .NET code (C#/VB.NET) in memory
  Can generate binary output file (dynamic persistence)
  Handles code-signing (steal cert with mimikatz, sign your bin)
  Not detected by AV (still...)
 Update payload generation
  GZip compression and decompression (see Rex module as well)
  msftidy violations for space efficiency - each char counts
Re-submit psexec-psh
 Makes use of updated Msf and Rex modules
 Runs shellcode in-memory (in a hidden PSH window)
 Completely bypasses all AVs tested for the last year...
Added powershell psexec module
Removed Revision
Revert "post/local_admin_search_enum~Regex fails,module 2"

@g0tm1lk: no clue, you must've pwned me in your sl33p. :)
Merge branch 'master' into powershell_import

Resolve conflicts from old code being pulled into master.

Conflicts:
	lib/msf/core/exploit/powershell.rb
	modules/exploits/windows/smb/psexec_psh.rb
Trim to core requirements

Remove .NET compiler, post lib and modules.
Import old powershell post lib from master

This is temporary and rather messy. Since the internals for
dealing with PSH code have moved to Rex there may be a hiccup or
two here. This was my original attempt at basic PSH integration
and does not make use of the new libraries and namespaces in
this PR.

Will introduce the updated modules and libraries in separate PR.
replace lib/msf/core/exploit/powershell.rb, thanks @Meatballs1
Merge remote-tracking branch 'upstream/master'
Updated Description
Fix git branch mauling - reintroduce psexec_psh

Replace powershell lib which snuck in as psexec_psh.
Introduce psexec_psh module which uses the Rex and Msf PSH
methods provided in the lib import.
Selective psexec_psh merge.
Merge remote-tracking branch 'remotes/semperv/powershell_import' into psh_merge

Conflicts:
	modules/exploits/windows/smb/psexec_psh.rb
Merge Upstream Exploit::Powershell
Update datastore changes
Merge remote-tracking branch 'origin/psh_merge' into psh_merge
Merge pull request #5 from Meatballs1/psh_merge

Looks good from here, though we may want to address the all caps opt names.
Merge branch 'master' of https://github.com/rapid7/metasploit-framework into powershell_import
Merge branch 'powershell_import' of github.com:sempervictus/metasploit-framework into powershell_import