Home page logo
/

metasploit logo Metasploit mailing list archives

Re: Metasploit - error in opcodes.rb
From: Tod Beardsley <todb () packetfu com>
Date: Sun, 16 Mar 2014 14:27:58 -0500

We recently updated our local copy of metasm so I'm sure that's the crux of
the problem. Can I get you to open a bug on our redmine instance?
Dev.metasploit.com .
On Mar 15, 2014 7:58 AM, "Fancy Hawaii" <go.hawaii () gmx de> wrote:

Hi everybody,

anybody else noticed this error after the latest upgrade?
Or is it just me having this prob?
NB: before the latest upgrade all worked fuine  :-(




root () kali:~/# msfconsole
/opt/metasploit/apps/pro/msf3/lib/metasm/metasm/cpu/ia32/opcodes.rb:27:in
`[]=':
can't convert Symbol into Integer (TypeError)
    from
/opt/metasploit/apps/pro/msf3/lib/metasm/metasm/cpu/ia32/opcodes.rb:27:in
`block
in init_cpu_constants'
    from
/opt/metasploit/apps/pro/msf3/lib/metasm/metasm/cpu/ia32/opcodes.rb:21:in
`each'
    from
/opt/metasploit/apps/pro/msf3/lib/metasm/metasm/cpu/ia32/opcodes.rb:21:in
`init_cpu_constants'
    from
/opt/metasploit/apps/pro/msf3/lib/metasm/metasm/cpu/ia32/opcodes.rb:39:in
`init_386_common_only'
    from
/opt/metasploit/apps/pro/msf3/lib/metasm/metasm/cpu/ia32/opcodes.rb:1053:in
`init_386_common'
    from
/opt/metasploit/apps/pro/msf3/lib/metasm/metasm/cpu/ia32/opcodes.rb:1057:in
`init_386'
    from
/opt/metasploit/apps/pro/msf3/lib/metasm/metasm/cpu/ia32/opcodes.rb:1066:in
`init_486'
    from
/opt/metasploit/apps/pro/msf3/lib/metasm/metasm/cpu/ia32/opcodes.rb:1072:in
`init_pentium'
    from
/opt/metasploit/apps/pro/msf3/lib/metasm/metasm/cpu/ia32/opcodes.rb:1082:in
`init_p6'
    from
/opt/metasploit/apps/pro/msf3/lib/metasm/metasm/cpu/ia32/opcodes.rb:1087:in
`init_sse'
    from
/opt/metasploit/apps/pro/msf3/lib/metasm/metasm/cpu/ia32/opcodes.rb:1092:in
`init_sse2'
    from
/opt/metasploit/apps/pro/msf3/lib/metasm/metasm/cpu/ia32/opcodes.rb:1097:in
`init_sse3'
    from
/opt/metasploit/apps/pro/msf3/lib/metasm/metasm/cpu/ia32/opcodes.rb:1102:in
`init_ssse3'
    from
/opt/metasploit/apps/pro/msf3/lib/metasm/metasm/cpu/ia32/opcodes.rb:1107:in
`init_sse41'
    from
/opt/metasploit/apps/pro/msf3/lib/metasm/metasm/cpu/ia32/opcodes.rb:1112:in
`init_sse42'
    from
/opt/metasploit/apps/pro/msf3/lib/metasm/metasm/cpu/ia32/opcodes.rb:1117:in
`init_avx'
    from
/opt/metasploit/apps/pro/msf3/lib/metasm/metasm/cpu/ia32/opcodes.rb:1122:in
`init_avx2'
    from
/opt/metasploit/apps/pro/msf3/lib/metasm/metasm/cpu/ia32/opcodes.rb:1128:in
`init_all'
    from
/opt/metasploit/apps/pro/msf3/lib/metasm/metasm/cpu/ia32/main.rb:226:in
`init_opcode_list'
    from /usr/lib/ruby/1.9.1/metasm/main.rb:28:in `opcode_list'
    from /usr/lib/ruby/1.9.1/metasm/main.rb:42:in `opcode_list_byname'
    from /usr/lib/ruby/1.9.1/metasm/parse.rb:40:in `parse_instruction'
    from /usr/lib/ruby/1.9.1/metasm/parse.rb:330:in `parse'
    from /usr/lib/ruby/1.9.1/metasm/exe_format/shellcode.rb:69:in
`assemble'
    from /usr/lib/ruby/1.9.1/metasm/exe_format/main.rb:70:in `assemble'
    from

/opt/metasploit/apps/pro/msf3/modules/payloads/singles/bsd/x86/exec.rb:90:in
`generate_stage'
    from
/opt/metasploit/apps/pro/msf3/lib/msf/core/payload/single.rb:36:in
`generate'
    from /opt/metasploit/apps/pro/msf3/lib/msf/core/payload/bsd.rb:82:in
`generate'
    from /opt/metasploit/apps/pro/msf3/lib/msf/core/payload.rb:169:in
`size'
    from /opt/metasploit/apps/pro/msf3/lib/msf/core/payload_set.rb:91:in
`block in recalculate'
    from /opt/metasploit/apps/pro/msf3/lib/msf/core/payload_set.rb:78:in
`each_pair'
    from /opt/metasploit/apps/pro/msf3/lib/msf/core/payload_set.rb:78:in
`recalculate'
    from
/opt/metasploit/apps/pro/msf3/lib/msf/core/modules/loader/base.rb:283:in
`block in load_modules'
    from
/opt/metasploit/apps/pro/msf3/lib/msf/core/modules/loader/base.rb:280:in
`each'
    from
/opt/metasploit/apps/pro/msf3/lib/msf/core/modules/loader/base.rb:280:in
`load_modules'
    from
/opt/metasploit/apps/pro/msf3/lib/msf/core/module_manager/loading.rb:118:in
`block in load_modules'
    from
/opt/metasploit/apps/pro/msf3/lib/msf/core/module_manager/loading.rb:116:in
`each'
    from
/opt/metasploit/apps/pro/msf3/lib/msf/core/module_manager/loading.rb:116:in
`load_modules'
    from

/opt/metasploit/apps/pro/msf3/lib/msf/core/module_manager/module_paths.rb:56:in
`block in add_module_path'
    from

/opt/metasploit/apps/pro/msf3/lib/msf/core/module_manager/module_paths.rb:55:in
`each'
    from

/opt/metasploit/apps/pro/msf3/lib/msf/core/module_manager/module_paths.rb:55:in
`add_module_path'
    from

/opt/metasploit/apps/pro/msf3/lib/msf/base/simple/framework/module_paths.rb:14:in
`init_module_paths'
    from
/opt/metasploit/apps/pro/msf3/lib/msf/ui/console/driver.rb:228:in
`initialize'
    from /opt/metasploit/apps/pro/msf3/msfconsole:148:in `new'
    from /opt/metasploit/apps/pro/msf3/msfconsole:148:in `<main>'



Cheers,
Nick
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework

_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault