MuntashirAkon / AppManager

A full-featured package manager and viewer for Android
https://muntashirakon.github.io/AppManager/
Other
5.05k stars 282 forks source link

Add Intent Intercept like features #75

Open MuntashirAkon opened 4 years ago

MuntashirAkon commented 4 years ago

Intent Intercept allows user to edit the content of intercepted intent before resending it to the destination apps. This is useful not only for debugging purpose but also for other purposes.

Roadmap

Unlike the original app, my intention is to make it as smooth as possible. This includes all the features of Intent Intercept along with the following extras:

  1. [ ] Save mime-specific default apps (via an always button)
  2. [x] Add/remove extras (only for known classes)
  3. [x] Add/remove flags
  4. [x] Add/remove categories
  5. [x] Set identifier
  6. [x] Set component name
  7. [x] Set package name
  8. [x] Extended support for exported activities in the activities tab
  9. [ ] Save/import/export intents
  10. [x] For root users, open non-exported activities via root (for activities tab)
  11. [x] Set data and type
  12. [ ] Support for receivers and services
bb010g commented 3 years ago

Noting that only get*Extra values are handled currently, while get*ArrayListExtra values are ignored.

MuntashirAkon commented 3 years ago

Noting that only get*Extra values are handled currently, while get*ArrayListExtra values are ignored.

Thanks for reporting, I'll look into it.

MuntashirAkon commented 3 years ago

Noting that only get*Extra values are handled currently, while get*ArrayListExtra values are ignored.

Can you provide the steps to reproduce this? They seem to be working fine on my end.

isral commented 1 year ago

Is it possible to disable this? It's hijacking all non associated file type in file manager.

MuntashirAkon commented 1 year ago

Is it possible to disable this?

Yes. Read the relevant docs.

Bakr-Ali commented 1 month ago

Is it possible to intercept an intent that has specified its target package?

Like this intent: Screenshot_20241013125424

When leaving the package field empty, it can be opened/intercepted by several apps including AM. But when I specified the package as com.android.chrome, only Chrome appears in the matching activities.

If not possible in AM, then can you please tell me if it is possible at all? Using ADB? I'm trying to intercept similar intents to the one I attached above (from the now unsupported Sesame Search) to learn how they work and use them in Kvaesitso.

MuntashirAkon commented 1 month ago

Is it possible to intercept an intent that has specified its target package?

It's only possible via root (e.g. *Posed apps or Frida). Had it been possible in no-root mode, that would've been a disaster in terms of security.

Bakr-Ali commented 1 month ago

Had it been possible in no-root mode, that would've been a disaster in terms of security.

Yeah, that's what I thought too but I asked anyway hoping there was some hidden developer/debugging way. Thanks for the quick response.