explaingit

codetips/baidunetdiskplugin-macos

8,846Objective-CAudience · developerComplexity · 3/5Setup · moderate

TLDR

An unmaintained macOS plugin that patches the Baidu Netdisk desktop app to remove local download speed caps, created as a learning exercise in macOS dynamic library injection.

Mindmap

mindmap
  root((baidunetdiskplugin))
    What it does
      Remove speed caps
      Patch Baidu app
    How it works
      DYLD injection
      Dynamic library
      Shell script install
    Tech
      Objective-C
      Xcode
      insert_dylib
    Status
      Unmaintained 2019
      Learning resource
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Study how macOS dynamic library injection works by examining a real-world example that patches a running app.

USE CASE 2

Learn the basics of macOS reverse engineering by reading how this plugin modifies Baidu Netdisk behavior without changing the original app file.

Tech stack

Objective-CXcode

Getting it running

Difficulty · moderate Time to first run · 30min

Unmaintained since 2019, macOS security hardening changes may prevent injection on modern systems.

In plain English

Baidu Netdisk (also called Baidu Pan) is a popular Chinese cloud storage service, similar to Google Drive or Dropbox. The free tier of Baidu Netdisk throttles download speeds significantly, and the faster speeds are reserved for paying SVIP subscribers. This project is a macOS plugin, written in Objective-C, that patches the Baidu Netdisk desktop application to remove those local speed limits. The README is in Chinese. The plugin works by injecting a dynamic library into the Baidu Netdisk app at launch, modifying its behavior without changing the original application file permanently. According to the README, it removes the local client-side speed cap and the trial time limit for high-speed downloads, and shows the SVIP status icon in the app. The author notes that Baidu's servers have their own limits (around 200 KB per file), and that after downloading 10 GB continuously the service will throttle speeds to around 20 KB per file regardless of client-side changes. Installation is done by running a shell script from the terminal, which handles the injection automatically. There is also an option to build from source using Xcode. The project depends on a separate open-source tool called insert_dylib for the injection step. The project has not been updated since November 2019 and the author states it will no longer receive updates. The README includes a disclaimer that the project was intended for learning about macOS reverse engineering and should not be used for commercial or other unintended purposes. The author recommends purchasing an official Baidu SVIP subscription if you rely on the service regularly.

Copy-paste prompts

Prompt 1
Explain how dynamic library injection works on macOS and how a tool like insert_dylib is used to patch a third-party application at launch.
Prompt 2
Walk me through how DYLD injection works on macOS and what the insert_dylib tool does step by step.
Prompt 3
Show me how to build the Baidu Netdisk speed plugin from source using Xcode and install it with the shell script.
Open on GitHub → Explain another repo

← codetips on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.