Print default values when unset options
Unformat the prompt and promptchar
Use Rails, not Ruby, time formats.

Since MSF now equires ActiveSupport, may as well reference it correctly.
[FixRM #8419] Add module platform to ms04_011_pct
[FixRM #8494] Don't try to create war without exe
[FixRM #8525] undefined method `+' for nil:NilClass in enum_ie

Looks like for some reason if CryptUnprotectData fails, the decrypt_reg()
method will return "". And when you unpack "", you produce an array of nils.
Since you cannot add something to nil, this should cause an
"undefined method `+' for nil:NilClass" error.

This will check if we get an array of nils, we jump to the next iteration.
Check dec instead
Add missing require for Msf::Exploit::Powershell

Thanks for the report, @mubix.
[FixRM #4398] Report credentials to database
Add Msf Exploit module and Proxy options

Allow http proxy to force connections to specified host/port.
Allow http proxy to use upstream proxies.
Allow mandating of remote host SSL state.

Wire up Msf Exploit module, add options, proc handlers, clean up
old implementation leftovers.
Import SVIT attempts at http proxy

Import functionality from initial attempt at HTTP proxy.
Allow static host, port, and SSL configuration.
Allow upstream proxy configuration for HTTP and TCP clients built
during request and connect proxies.
Import Msf::Exploit::Remote::HttpServer::Proxy and original http
proxy aux module with MITM and logging. Wraps proxy in Service,
brings functionality in line with prior implementation.

Allow Rex::Proto::Proxy to take a block and execute between buff
acquisition and return to the other side.
Extend HTTP proxy in Rex to pass procs in as appropriate, allows
MITM of CONNECT proxy sessions.

Tested: connect proxy, forced connect proxy, pt->ssl->pt
transitions. MITM works intermittently, logging mostly working

TODO: address http chunked encoding responses coming back from
the TCP proxy. Google.com is a good example - broken encoding in
transfer looks like unicode on a bad day.
Cleans up with RE like .gsub(/\r\n\d\r\n/,'').gsub("\r\n","\n")
which is by no means a real solution.
Test more...