Enumerating activities

drozer also offers a useful module for enumerating information about the activity components available on a target Android device. The following recipe demonstrates the use of this module.

How to do it...

You may at some point want to find out which activities are installed and exported on your device. The drozer framework makes this pretty easy, here's how to do it:

Fire off the following command from your drozer console:

dz> run app.activity.info

This command will list all the activities that are exported on your device.

There's more...

You may want to get a little more information about the activities on your device; for example, listing all applications that have a certain name or a certain string in their name, such as "browser" ...

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.