We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 70c8296 + 4728a59 commit ab64c42Copy full SHA for ab64c42
lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb
@@ -329,8 +329,11 @@ def cmd_migrate_help
329
#
330
# Migrates the server to the supplied process identifier.
331
332
+ # @param args [Array<String>] Commandline arguments, only -h or a pid
333
+ # @return [void]
334
+
335
def cmd_migrate(*args)
- if (args.length == 0)
336
+ if ( args.length == 0 or args.include?("-h") )
337
cmd_migrate_help
338
return true
339
end
0 commit comments