Skip to content

Nesting error and Crash When Debugging #65

Closed
ruby/debug
#774
@gwillcox-r7

Description

@gwillcox-r7

Seem to keep getting this nesting error after I leave the debugger idle for too long:

["DEBUGGER Exception: /home/gwillcox/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/debug-1.6.2/lib/debug/thread_client.rb:1108",
 #<NoMethodError: undefined method `nesting' for Msf::Module:Class>,
 ["(eval):1:in `check'",
  "/home/gwillcox/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/debug-1.6.2/lib/debug/server_dap.rb:914:in `eval'",
  "/home/gwillcox/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/debug-1.6.2/lib/debug/server_dap.rb:914:in `search_const'",
  "/home/gwillcox/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/debug-1.6.2/lib/debug/server_dap.rb:853:in `process_dap'",
  "/home/gwillcox/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/debug-1.6.2/lib/debug/thread_client.rb:1097:in `wait_next_action_'",
  "/home/gwillcox/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/debug-1.6.2/lib/debug/thread_client.rb:797:in `wait_next_action'",
  "/home/gwillcox/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/debug-1.6.2/lib/debug/thread_client.rb:310:in `suspend'",
  "/home/gwillcox/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/debug-1.6.2/lib/debug/thread_client.rb:344:in `block in step_tp'",
  "/home/gwillcox/git/metasploit-framework/modules/exploits/unix/http/pfsense_pfblockerng_webshell.rb:107:in `check'",
  "/home/gwillcox/git/metasploit-framework/lib/msf/core/exploit/remote/auto_check.rb:44:in `with_prepended_auto_check'",
  "/home/gwillcox/git/metasploit-framework/lib/msf/core/exploit/remote/auto_check.rb:26:in `exploit'",
  "/home/gwillcox/git/metasploit-framework/lib/msf/core/exploit_driver.rb:228:in `job_run_proc'",
  "/home/gwillcox/git/metasploit-framework/lib/msf/core/exploit_driver.rb:181:in `run'",
  "/home/gwillcox/git/metasploit-framework/lib/msf/base/simple/exploit.rb:144:in `exploit_simple'",
  "/home/gwillcox/git/metasploit-framework/lib/msf/base/simple/exploit.rb:171:in `exploit_simple'",
  "/home/gwillcox/git/metasploit-framework/lib/msf/ui/console/command_dispatcher/exploit.rb:45:in `exploit_single'",
  "/home/gwillcox/git/metasploit-framework/lib/msf/ui/console/command_dispatcher/exploit.rb:182:in `cmd_exploit'",
  "/home/gwillcox/git/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:581:in `run_command'",
  "/home/gwillcox/git/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:530:in `block in run_single'",
  "/home/gwillcox/git/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:524:in `each'",
  "/home/gwillcox/git/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:524:in `run_single'",
  "/home/gwillcox/git/metasploit-framework/lib/rex/ui/text/shell.rb:162:in `run'",
  "/home/gwillcox/git/metasploit-framework/lib/metasploit/framework/command/console.rb:48:in `start'",
  "/home/gwillcox/git/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'",
  "/home/gwillcox/git/metasploit-framework/msfconsole:23:in `<main>'"]]
[-] Exploit failed: NoMethodError undefined method `nesting' for Msf::Module:Class

Any reason this might be occurring?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions