Adjust transport command to work with posix

bug/bundler_fix
OJ 2015-04-21 20:16:57 +10:00
parent 86957d9b07
commit f654fea9b3
1 changed files with 3 additions and 2 deletions

View File

@ -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?)