Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Android remove_lock to work with 4.3 devices #6571

Merged
merged 1 commit into from Feb 26, 2016

Conversation

timwr
Copy link
Contributor

@timwr timwr commented Feb 14, 2016

As spotted in #5416 on Android 4.3 the am start command gives
java.lang.SecurityException: Permission Denial: startActivity asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL
This change fixes the error by using the Android activity_start command and fixes remove_lock on 4.3 devices.

  • Get a meterpreter session on an Android 4.3 device with a lock screen set.
  • use post/android/manage/remove_lock and ensure the lock screen is removed.

@bcook-r7
Copy link
Contributor

Works well, thanks!

@bcook-r7 bcook-r7 merged commit 9791e66 into rapid7:master Feb 26, 2016
@timwr timwr deleted the fix_remove_lock_4.3 branch October 31, 2017 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants