MCPcopy Index your code
hub / github.com/ReversecLabs/drozer-agent

github.com/ReversecLabs/drozer-agent @3.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release 3.1.0 ↗ · + Follow
692 symbols 1,831 edges 83 files 33 documented · 5%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

drozer-agent

drozer (formerly Mercury) is a leading security testing framework for Android.

drozer allows you to search for security vulnerabilities in apps and devices by assuming the role of an app and interacting with the Dalvik VM, other apps' IPC endpoints and the underlying OS.

drozer provides tools to help you use, share and understand public Android exploits. It helps you to deploy a drozer Agent to a device through exploitation or social engineering. Using weasel (MWR's advanced exploitation payload) drozer is able to maximise the permissions available to it by installing a full agent, injecting a limited agent into a running process, or connecting a reverse shell to act as a Remote Access Tool (RAT).

drozer is open source software, maintained by WithSecure, and can be downloaded from [https://labs.withsecure.com/tools/drozer]

Building Using Android Studio

  1. Open Android Studio and launch the Android SDK manager from it (Tools > Android > SDK Manager)
  2. Check that these two components are installed and updated to the latest version. Install or upgrade them if necessary.
    1. Android SDK Platform Tools
    2. Android Support Library
    3. Google Play Services
    4. Google Repository
    5. Android NDK tools
  3. Return to Android Studio and select Import Project
  4. Select the drozer-agent directory
  5. Select "Import from existing model - Gradle"

IMPORTANT: Once imported make sure the project has been synchronized with the Gradle files.

License

drozer is released under a 3-clause BSD License. See LICENSE for full details.

Contacting the Project

drozer is Open Source software, made great by contributions from the community.

For full source code, to report bugs, or to suggest features and contribute patches please see our Github project:

[https://github.com/WithSecureLabs/drozer]

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 592
Class 82
Interface 13
Function 4
Enum 1

Languages

Java99%
C++1%

Modules by API surface

jsolar/src/main/java/com/WithSecure/jsolar/api/connectors/Endpoint.java29 symbols
jsolar/src/main/java/com/WithSecure/jsolar/api/builders/ReflectionResponseFactory.java26 symbols
agent/src/main/java/com/WithSecure/dz/models/EndpointManager.java25 symbols
jsolar/src/main/java/com/WithSecure/jsolar/connection/AbstractConnection.java22 symbols
jsolar/src/main/java/com/WithSecure/jsolar/api/connectors/Server.java22 symbols
agent/src/main/java/com/WithSecure/dz/Agent.java21 symbols
agent/src/main/java/com/WithSecure/dz/activities/MainActivity.java18 symbols
jsolar/src/main/java/com/WithSecure/jsolar/connection/AbstractLink.java17 symbols
jsolar/src/main/java/com/WithSecure/jsolar/reflection/Reflector.java16 symbols
jsolar/src/main/java/com/WithSecure/jsolar/connection/AbstractSession.java14 symbols
jsolar/src/main/java/com/WithSecure/jsolar/api/handlers/ReflectionMessageHandler.java14 symbols
agent/src/main/java/com/WithSecure/dz/services/ClientService.java14 symbols

For agents

$ claude mcp add drozer-agent \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page