rapid7/metasploit-framework — pull request #3622 by darknight007 (2014-08-06 05:17:22+00:00)
Title: Missing require forwardable

The file is extending the forwardable but forwarable is not require(d) which results in stack trace:

/opt/metasploit-framework/lib/rex/exploitation/powershell/script.rb:16:in `': uninitialized constant Rex::Exploitation::Powershell::Script::Forwardable (NameError)
from /opt/metasploit-framework/lib/rex/exploitation/powershell/script.rb:8:in `'
from /opt/metasploit-framework/lib/rex/exploitation/powershell/script.rb:7:in `'
from /opt/metasploit-framework/lib/rex/exploitation/powershell/script.rb:6:in `'
from /opt/metasploit-framework/lib/rex/exploitation/powershell/script.rb:5:in `'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /opt/metasploit-framework/lib/rex/exploitation/powershell.rb:8:in `'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /opt/metasploit-framework/lib/rex/text.rb:6:in `'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /opt/metasploit-framework/lib/rex.rb:44:in `'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from ./msfcli:15:in `

'