Skip to content

Commit f654fea

Browse files
committed
Adjust transport command to work with posix
1 parent 86957d9 commit f654fea

File tree

1 file changed

+3
-2
lines changed
  • lib/rex/post/meterpreter/ui/console/command_dispatcher

1 file changed

+3
-2
lines changed

lib/rex/post/meterpreter/ui/console/command_dispatcher/core.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,13 @@ def commands
7474
if client.passive_service && client.sock.type? == 'tcp-ssl'
7575
c["ssl_verify"] = "Modify the SSL certificate verification setting"
7676
end
77-
78-
c["transport"] = "Change the current transport mechanism"
7977
end
8078

8179
if client.platform =~ /win/ || client.platform =~ /linux/
8280
c["migrate"] = "Migrate the server to another process"
81+
# Yet to implement transport hopping for other meterpreters.
82+
# Works for posix and native windows though.
83+
c["transport"] = "Change the current transport mechanism"
8384
end
8485

8586
if (msf_loaded?)

0 commit comments

Comments
 (0)