Metasploit mailing list archives

Exploit failed: uninitialized constant Msf::ModuleSet::NDR


From: fabien.carrion at gmail.com (Fabien Carrion)
Date: Tue, 12 Aug 2008 12:04:25 -0500

If I put the NDR alias (NDR            = Rex::Encoder::NDR) directly
in the exploit (I have been working with lsa_transnames_heap.rb), it
doesn't work and I still get the error message "Exploit failed:
uninitialized constant Msf::ModuleSet::NDR"

If I put the NDR alias (NDR            = Rex::Encoder::NDR) in the
module_manager.rb, in the class ModuleSet, it works.

On Mon, Aug 11, 2008 at 12:39 PM, H D Moore <hdm at metasploit.com> wrote:
The weird part is only a few people can reproduce this, and the NDR
namespace is already set via the 'alias' done inside of the DCERPC mixin.
While that will avoid the aliasing as a problem, it doesn't solve the
real issue of why that aliasing isnt working for some people.

Monday 11 August 2008, Fabien Carrion wrote:
To solve this, I replaced NDR.* by Rex::Encoder::NDR.*


_______________________________________________
http://spool.metasploit.com/mailman/listinfo/framework




-- 
Fabien Carrion

() Campagne du ruban ASCII -- Contre les mails en html
/\ contre les pieces-jointes Microsoft
Web: http://fabien.carrion.free.fr/



Current thread: