diff --git a/lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb b/lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb index a1eb4e7a9e..def9219ad1 100644 --- a/lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb +++ b/lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb @@ -63,7 +63,11 @@ class Console::CommandDispatcher::Core if client.passive_service c["detach"] = "Detach the meterpreter session (for http/https)" end - if client.commands.include? "core_migrate" + # The only meterp that implements this right now is native Windows and for + # whatever reason it is not adding core_migrate to its list of commands. + # Use a dumb platform til it gets sorted. + #if client.commands.include? "core_migrate" + if client.platform =~ /win/ c["migrate"] = "Migrate the server to another process" end