Skip to content

Commit 89f508a

Browse files
committed
Land rapid7#9039: add transport command to java on OSX
2 parents 10dafdc + e534d3c commit 89f508a

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
@@ -97,8 +97,9 @@ def commands
9797
# the OS platform rather than the meterpreter arch. When we've properly implemented
9898
# the platform update feature we can remove some of these conditions
9999
if client.platform == 'windows' || client.platform == 'linux' ||
100-
client.platform == 'python' || client.platform == 'java' ||
101-
client.arch == ARCH_PYTHON || client.platform == 'android'
100+
client.platform == 'python' || client.arch == ARCH_PYTHON ||
101+
client.platform == 'java' || client.arch == ARCH_JAVA ||
102+
client.platform == 'android' || client.arch == ARCH_DALVIK
102103
# Yet to implement transport hopping for other meterpreters.
103104
c['transport'] = 'Change the current transport mechanism'
104105

0 commit comments

Comments
 (0)