Skip to content

Commit 8f3fab4

Browse files
committed
fix sleep and transport on android
1 parent 19bcef0 commit 8f3fab4

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def commands
9595
# the platform update feature we can remove some of these conditions
9696
if client.platform == 'windows' || client.platform == 'linux' ||
9797
client.platform == 'python' || client.platform == 'java' ||
98-
client.arch == ARCH_PYTHON || (client.arch == ARCH_JAVA && client.platform != 'android')
98+
client.arch == ARCH_PYTHON || client.platform == 'android'
9999
# Yet to implement transport hopping for other meterpreters.
100100
c["transport"] = "Change the current transport mechanism"
101101

0 commit comments

Comments
 (0)