以下分析基于 Magisk 76ddfeb93a8b3612cd68988323f422e996751e16
由于 Magisk 更新太快了,决定弃坑,自己去看源码罢!
Zygisk 加载是通过替换 app_process ,修改 LD_PRELOAD ,再执行原 app_process 实现的。
| GET https://s01.oss.sonatype.org/service/local/staging/profile_repositories | |
| Accept: application/xml | |
| Authorization: basic {{basic}} | |
| ### | |
| POST https://s01.oss.sonatype.org/service/local/staging/bulk/close | |
| Accept: application/json | |
| Content-Type: application/json | |
| Authorization: basic {{basic}} |
| #include <unistd.h> | |
| #include <string> | |
| #include <cinttypes> | |
| #include <android/log.h> | |
| #include <sys/system_properties.h> | |
| using namespace std; | |
| extern "C" { |
以下分析基于 Magisk 76ddfeb93a8b3612cd68988323f422e996751e16
由于 Magisk 更新太快了,决定弃坑,自己去看源码罢!
Zygisk 加载是通过替换 app_process ,修改 LD_PRELOAD ,再执行原 app_process 实现的。
| # Attribute: userinfo-url={{print .subscribe_url}} | |
| # Attribute: filename={{hostOf .subscribe_url}}.yaml | |
| ipv6: true | |
| mixed-port: 7890 | |
| mode: rule | |
| allow-lan: true | |
| log-level: info | |
| external-controller: 127.0.0.1:6170 |
| import requests | |
| import json | |
| import random | |
| Back_URL = 'https://api.bilibili.com/x/web-interface/archive/stat?aid=' | |
| headers = { | |
| 'Cookie': "Replace Me With REAL COOKIE" , | |
| 'Pragma': 'no-cache', |
| import com.android.build.api.transform.* | |
| import com.android.build.gradle.internal.pipeline.TransformManager | |
| import org.apache.commons.io.FileUtils | |
| import java.util.jar.JarEntry | |
| import java.util.jar.JarFile | |
| import java.util.jar.JarOutputStream | |
| import java.util.zip.ZipEntry | |
| class JarZipUtil { |