Metasploit mailing list archives

Re: PrintfUtil uninitialized constant error when starting msfencode


From: HD Moore <hdm () metasploit com>
Date: Tue, 08 Mar 2011 13:21:41 -0600

On 3/8/2011 9:36 AM, Joff Thyer wrote:

I am running Ubuntu 10.04 Lucid 64-bit desktop.    I have done the
requisite 'apt-get' installations for dependencies as follows:

sudo apt-get install ruby libopenssl-ruby libyaml-ruby libdl-ruby libiconv-ruby libreadline-ruby irb ri rubygems


However, I see this with both the current tree, and framework-3.6.0:

$ ./msfencode -l
(eval):35:in `initialize': uninitialized constant
Msf::Encoder::Type::PrintfUtil (NameError)
    from ./lib/msf/core/module_manager.rb:92:in `new'
    from ./lib/msf/core/module_manager.rb:92:in `create'
    from ./lib/msf/core/module_manager.rb:185:in `demand_load_modules'
    from ./lib/msf/core/module_manager.rb:181:in `each_pair'
    from ./lib/msf/core/module_manager.rb:181:in `demand_load_modules'
    from ./lib/msf/core/module_manager.rb:129:in `each_module_ranked'
    from ./msfencode:84:in `get_encoders'
    from ./msfencode:213

What am I missing?   Any suggestions appreciated.


Your installation tree has a leftover file that was removed from SVN.
The 3.6.0 installer does not have this problem, so you may still be
running the old version by mistake.
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework


Current thread: