Skip to content

Instantly share code, notes, and snippets.

@limhoff-r7
Last active April 14, 2021 21:54
Show Gist options
  • Save limhoff-r7/8437892 to your computer and use it in GitHub Desktop.
Save limhoff-r7/8437892 to your computer and use it in GitHub Desktop.
Running msfconsole with Rubymine remote debugger so that tab completion works in msfconsole
  1. Click Run in the window menu
  2. Click Edit Configurations
  3. Click the + in the top left of the configurations window
  4. Select Ruby remote debug
  5. Enter the below information
  6. Click Apply to save the configuration
  7. Click Ok to close the configurations window

Ruby remote debug

msfconsole (tab completion)

Name: msfconsole (tab completion)

Info

Server Command: rdebug-ide --host 0.0.0.0--port 1234 --dispatcher-port 26162 -- $COMMAND$

Settings

Remote host: localhost

Remote port: 1234

Remote root folder: pwd/metasploit-framework

Local port: 26162

Local root folder: pwd/metasploit-framework

rdebug-ide --host 0.0.0.0 --port 1234 --dispatcher-port 26162 -- $PWD/msfconsole --environment development
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment