-
Notifications
You must be signed in to change notification settings - Fork 788
Using mixins
metall0id edited this page Nov 26, 2014
·
6 revisions
drozer provides a number of Mixins that provide easy APIs to access commonly used functionality. These are available in the drozer.modules.common
package:
- Assets
- BusyBox
- ClassLoader
- FileSystem
- Filters
- PackageManager
- Provider
- ServiceBinding
- Shell
- Strings
- SuperUser
- TableFormatter
- ZipFile
To use a mixin, your module class must extend it using Python’s multiple inheritance:
from drozer.modules import common, Module
class GetInteger(Module, common.ClassLoader, common.PackageManager):
pass