Metasploit mailing list archives

Re: New Bug in "run" auto-completion ?


From: "HD Moore" <hdm () metasploit com>
Date: Wed, 18 Jul 2012 15:04:22 -0500

Thanks! Looks like a new one - its using the symbolic/cached reference not
the real module here. Looking into it.

 

From: framework-bounces () spool metasploit com
[mailto:framework-bounces () spool metasploit com] On Behalf Of Ing. Michael F.
Schratt, MSc
Sent: Wednesday, July 18, 2012 2:30 PM
To: framework () spool metasploit com
Subject: [framework] New Bug in "run" auto-completion ?

 

Hi,

 

hitting TAB after "run" command results in 

 

meterpreter > run [-] RbReadline Error: NoMethodError undefined method `new'
for "__SYMBOLIC__":String
["/opt/metasploit/msf3/lib/rex/post/meterpreter/ui/console/command_dispatche
r/core.rb:860:in `block in tab_complete_postmods'",
"/opt/metasploit/msf3/lib/msf/core/module_manager.rb:121:in `each'",
"/opt/metasploit/msf3/lib/msf/core/module_manager.rb:121:in `each'",
"/opt/metasploit/msf3/lib/rex/post/meterpreter/ui/console/command_dispatcher
/core.rb:859:in `map'",
"/opt/metasploit/msf3/lib/rex/post/meterpreter/ui/console/command_dispatcher
/core.rb:859:in `tab_complete_postmods'",
"/opt/metasploit/msf3/lib/rex/post/meterpreter/ui/console/command_dispatcher
/core.rb:528:in `cmd_run_tabs'",
"/opt/metasploit/msf3/lib/rex/ui/text/dispatcher_shell.rb:350:in
`tab_complete_helper'",
"/opt/metasploit/msf3/lib/rex/ui/text/dispatcher_shell.rb:310:in `block in
tab_complete_stub'",
"/opt/metasploit/msf3/lib/rex/ui/text/dispatcher_shell.rb:299:in `each'",
"/opt/metasploit/msf3/lib/rex/ui/text/dispatcher_shell.rb:299:in
`tab_complete_stub'",
"/opt/metasploit/msf3/lib/rex/ui/text/dispatcher_shell.rb:284:in
`tab_complete'", "/opt/metasploit/msf3/lib/rex/ui/text/shell.rb:59:in `block
in init_tab_complete'",
"/opt/metasploit/msf3/lib/readline_compatible.rb:157:in `call'",
"/opt/metasploit/msf3/lib/readline_compatible.rb:157:in
`readline_attempted_completion_function'",
"/opt/metasploit/msf3/lib/rbreadline.rb:6262:in `gen_completion_matches'",
"/opt/metasploit/msf3/lib/rbreadline.rb:6747:in `rl_complete_internal'",
"/opt/metasploit/msf3/lib/rbreadline.rb:6837:in `rl_complete'",
"/opt/metasploit/msf3/lib/rbreadline.rb:4307:in `_rl_dispatch_subseq'",
"/opt/metasploit/msf3/lib/rbreadline.rb:4296:in `_rl_dispatch'",
"/opt/metasploit/msf3/lib/rbreadline.rb:4716:in
`readline_internal_charloop'",
"/opt/metasploit/msf3/lib/rbreadline.rb:4790:in `readline_internal'",
"/opt/metasploit/msf3/lib/rbreadline.rb:4812:in `readline'",
"/opt/metasploit/msf3/lib/readline_compatible.rb:77:in `readline'",
"/opt/metasploit/msf3/lib/rex/ui/text/input/readline.rb:90:in `pgets'",
"/opt/metasploit/msf3/lib/rex/ui/text/shell.rb:184:in `run'",
"/opt/metasploit/msf3/lib/rex/post/meterpreter/ui/console.rb:66:in
`interact'",
"/opt/metasploit/msf3/lib/msf/base/sessions/meterpreter.rb:431:in
`_interact'", "/opt/metasploit/msf3/lib/rex/ui/interactive.rb:49:in
`interact'",
"/opt/metasploit/msf3/lib/msf/ui/console/command_dispatcher/core.rb:1595:in
`cmd_sessions'",
"/opt/metasploit/msf3/lib/rex/ui/text/dispatcher_shell.rb:420:in
`run_command'",
"/opt/metasploit/msf3/lib/rex/ui/text/dispatcher_shell.rb:382:in `block in
run_single'",
"/opt/metasploit/msf3/lib/rex/ui/text/dispatcher_shell.rb:376:in `each'",
"/opt/metasploit/msf3/lib/rex/ui/text/dispatcher_shell.rb:376:in
`run_single'",
"/opt/metasploit/msf3/lib/msf/ui/console/command_dispatcher/exploit.rb:179:i
n `cmd_exploit'",
"/opt/metasploit/msf3/lib/rex/ui/text/dispatcher_shell.rb:420:in
`run_command'",
"/opt/metasploit/msf3/lib/rex/ui/text/dispatcher_shell.rb:382:in `block in
run_single'",
"/opt/metasploit/msf3/lib/rex/ui/text/dispatcher_shell.rb:376:in `each'",
"/opt/metasploit/msf3/lib/rex/ui/text/dispatcher_shell.rb:376:in
`run_single'", "/opt/metasploit/msf3/msfcli:247:in `<main>'"]

 

Is this known? (Linux x86 meterpreter)

 

Thanks,

BR Michi

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

Current thread: