Skip to content

Instantly share code, notes, and snippets.

View Howard20181's full-sized avatar
🏥
Running

Howard Wu Howard20181

🏥
Running
View GitHub Profile
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 {
@abc1763613206
abc1763613206 / bvtest.py
Last active March 16, 2025 15:30
BVID Validate
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',
# 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
@5ec1cff
5ec1cff / zygisk.md
Last active April 26, 2025 08:56
Zygisk 源码分析 #Magisk #Zygisk

Zygisk 源码分析

以下分析基于 Magisk 76ddfeb93a8b3612cd68988323f422e996751e16

由于 Magisk 更新太快了,决定弃坑,自己去看源码罢!

Zygisk 注入到 Zygote 进程

Zygisk 加载是通过替换 app_process ,修改 LD_PRELOAD ,再执行原 app_process 实现的。

@vvb2060
vvb2060 / am_proc_start.cpp
Created July 19, 2022 17:12
monitor app process start
#include <unistd.h>
#include <string>
#include <cinttypes>
#include <android/log.h>
#include <sys/system_properties.h>
using namespace std;
extern "C" {
@vvb2060
vvb2060 / nexus2.http
Last active June 28, 2023 09:08
Maven Central Staging API
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}}