From f654fea9b3dd1bc733e1e6aeb462b4a252b2e03c Mon Sep 17 00:00:00 2001 From: OJ Date: Tue, 21 Apr 2015 20:16:57 +1000 Subject: [PATCH] Adjust transport command to work with posix --- .../post/meterpreter/ui/console/command_dispatcher/core.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 1da3db44be..2225712c01 100644 --- a/lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb +++ b/lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb @@ -74,12 +74,13 @@ class Console::CommandDispatcher::Core if client.passive_service && client.sock.type? == 'tcp-ssl' c["ssl_verify"] = "Modify the SSL certificate verification setting" end - - c["transport"] = "Change the current transport mechanism" end if client.platform =~ /win/ || client.platform =~ /linux/ c["migrate"] = "Migrate the server to another process" + # Yet to implement transport hopping for other meterpreters. + # Works for posix and native windows though. + c["transport"] = "Change the current transport mechanism" end if (msf_loaded?)