Land #9039: add transport command to java on OSX

bug/bundler_fix
OJ 2017-10-04 12:56:02 +10:00
commit 89f508a500
No known key found for this signature in database
GPG Key ID: D5DC61FB93260597
1 changed files with 3 additions and 2 deletions

View File

@ -97,8 +97,9 @@ class Console::CommandDispatcher::Core
# the OS platform rather than the meterpreter arch. When we've properly implemented
# the platform update feature we can remove some of these conditions
if client.platform == 'windows' || client.platform == 'linux' ||
client.platform == 'python' || client.platform == 'java' ||
client.arch == ARCH_PYTHON || client.platform == 'android'
client.platform == 'python' || client.arch == ARCH_PYTHON ||
client.platform == 'java' || client.arch == ARCH_JAVA ||
client.platform == 'android' || client.arch == ARCH_DALVIK
# Yet to implement transport hopping for other meterpreters.
c['transport'] = 'Change the current transport mechanism'