Enumerating content providers

Much like enumerating activities and packages, drozer also provides some modules for listing all of the content providers and some information on them. The following recipe talks about how to do this using the app.provider.info module.

How to do it...

Let's get started enumerating content providers.

  1. Execute the following command from your drozer terminal:
    dz> run app.provider.info
    
  2. This will return the following information about a content provider:
    • Authorities – the names of the classes implementing their SQLite frontends
    • Read permission
    • Write permission
    • Grant URI permissions
    • Paths

How it works...

Let's take a look at the code for the app.provider.info module.

Get Android Security Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.