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

Need help with 15. Hack device #62

Open
iAladeen opened this issue Jan 24, 2024 · 0 comments
Open

Need help with 15. Hack device #62

iAladeen opened this issue Jan 24, 2024 · 0 comments

Comments

@iAladeen
Copy link

iAladeen commented Jan 24, 2024

Its stuck here. Failed to install test apk

Creating payload APK...

[-] No platform was selected, choosing Msf::Module::Platform::Android from the payload
[-] No arch selected, selecting arch: dalvik from the payload
No encoder specified, outputting raw payload
Payload size: 10232 bytes


Installing APK to target device...

Security exception: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS

java.lang.SecurityException: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS
	at com.android.providers.settings.SettingsProvider.enforceWritePermission(SettingsProvider.java:2340)
	at com.android.providers.settings.SettingsProvider.mutateGlobalSetting(SettingsProvider.java:1405)
	at com.android.providers.settings.SettingsProvider.insertGlobalSetting(SettingsProvider.java:1379)
	at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:556)
	at android.content.ContentProvider.call(ContentProvider.java:2162)
	at android.content.ContentProvider$Transport.call(ContentProvider.java:481)
	at com.android.providers.settings.SettingsService$MyShellCommand.putForUser(SettingsService.java:375)
	at com.android.providers.settings.SettingsService$MyShellCommand.onCommand(SettingsService.java:277)
	at android.os.ShellCommand.exec(ShellCommand.java:104)
	at com.android.providers.settings.SettingsService.onShellCommand(SettingsService.java:49)
	at android.os.Binder.shellCommand(Binder.java:881)
	at android.os.Binder.onTransact(Binder.java:765)
	at android.os.Binder.execTransactInternal(Binder.java:1021)
	at android.os.Binder.execTransact(Binder.java:994)
Security exception: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS

java.lang.SecurityException: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS
	at com.android.providers.settings.SettingsProvider.enforceWritePermission(SettingsProvider.java:2340)
	at com.android.providers.settings.SettingsProvider.mutateGlobalSetting(SettingsProvider.java:1405)
	at com.android.providers.settings.SettingsProvider.insertGlobalSetting(SettingsProvider.java:1379)
	at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:556)
	at android.content.ContentProvider.call(ContentProvider.java:2162)
	at android.content.ContentProvider$Transport.call(ContentProvider.java:481)
	at com.android.providers.settings.SettingsService$MyShellCommand.putForUser(SettingsService.java:375)
	at com.android.providers.settings.SettingsService$MyShellCommand.onCommand(SettingsService.java:277)
	at android.os.ShellCommand.exec(ShellCommand.java:104)
	at com.android.providers.settings.SettingsService.onShellCommand(SettingsService.java:49)
	at android.os.Binder.shellCommand(Binder.java:881)
	at android.os.Binder.onTransact(Binder.java:765)
	at android.os.Binder.execTransactInternal(Binder.java:1021)
	at android.os.Binder.execTransact(Binder.java:994)
Performing Streamed Install
adb: failed to install test.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.metasploit.stage signatures do not match previously installed version; ignoring!]

Launching app...

  bash arg: -p
  bash arg: com.metasploit.stage
  bash arg: 1
args: [-p, com.metasploit.stage, 1]
 arg: "-p"
 arg: "com.metasploit.stage"
 arg: "1"
data="com.metasploit.stage"
** No activities found to run, monkey aborted.

Sending keycodes to accept the app permissions


Launching and Setting up Metasploit-Framework



Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant