Skip to content

Instantly share code, notes, and snippets.

View Forgo7ten's full-sized avatar
😃
I may be slow to respond.

Forgo7ten Forgo7ten

😃
I may be slow to respond.
View GitHub Profile
@Forgo7ten
Forgo7ten / frida-update-ios.sh
Created August 20, 2026 17:16
frida-update-ios.sh
#!/bin/bash
set -Eeuo pipefail
#
# Frida version
#
FRIDA_VER="${1:-}"
if [ -z "$FRIDA_VER" ]; then
@Forgo7ten
Forgo7ten / guide.txt
Created August 10, 2026 07:51 — forked from mineek/guide.txt
block revokes permanently on enterprise certs on iOS
This will permanently block revokes and some ppq stuff.
Use this together with the profile to block some domains "without" a DNS.
Even if you don't have the profile, after applying this your device just cannot register revokes anymore. So you'll just not be able to install the app, but you will not get permanently blacklisted.
note this may lead to side effects. I am not sure. However, it does work.
AS ALWAYS, USE AT YOUR OWN RISK.
Basically all u need to do is run these commands one by one in a terminal on a jailbroken device:
@Forgo7ten
Forgo7ten / ida_mc_notes.md
Created July 24, 2026 09:33 — forked from icecr4ck/ida_mc_notes.md
Some notes about the IDA Microcode (intermediate language).
@Forgo7ten
Forgo7ten / download_ndk.py
Created November 4, 2025 14:47
download_ndk.py - 输入版本下载指定ndk
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Android NDK 历史版本下载助手(极简元数据版)
用法示例:
python ndk_downloader.py -v r28
python ndk_downloader.py -v r26 -s mac
"""
@Forgo7ten
Forgo7ten / mock_adbd.py
Created August 14, 2025 09:12
简单实现adbd协议的server
import socket
import struct
import threading
import time
class Mock:
"""Mock类,包含所有模拟设备输出的函数"""
def __init__(self):
# 设备属性
@Forgo7ten
Forgo7ten / move_cert.sh
Last active December 19, 2024 07:37
用于快速的转换证书并放入Android设备中
#!/bin/bash
# 检查是否提供了文件名参数
if [ -z "$1" ]; then
echo "请提供证书文件名作为参数!"
exit 1
fi
# 获取输入文件名和扩展名
input_file="$1"
@Forgo7ten
Forgo7ten / ReflectionUtils.java
Last active February 3, 2023 04:42
Java反射工具类 单文件,提取自XposedHelpers
package utils;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Member;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.*;
@Forgo7ten
Forgo7ten / 010_register.sh
Last active January 30, 2024 02:21
Linux and MacOS, 010Editor Register.
echo "[General]
D75BD954-8B63-84BA-75B3-019654928EE7=2786127075
E68B43C9-B732-8573-76A8-01AB75B3683A=253686975
F175B8C0-783C-8BA0-7045-014CA847B302=2765028028
F73529D0-8362-B7A9-7B25-01538B3C632A=1689813065
Hidden=false
LastDate=
Name=Forgo7ten
Password=1f93-56ac-c63e-540d-a9ab" > ~/.config/SweetScape/010\ Editor.ini
OS=`uname -s`
@Forgo7ten
Forgo7ten / clash.yaml
Last active August 31, 2022 14:55
手机clash抓包配置文件
mixed-port: 7890
allow-lan: false
mode: global
external-controller: 127.0.0.1:9090
log-level: info
@Forgo7ten
Forgo7ten / md5_algorithm.py
Created August 13, 2022 07:15
MD5算法实现
import binascii
import sys
import os.path
SV = [0xd76aa478, 0xe8c7b756, 0x242070db, 0xc1bdceee, 0xf57c0faf,
0x4787c62a, 0xa8304613, 0xfd469501, 0x698098d8, 0x8b44f7af,
0xffff5bb1, 0x895cd7be, 0x6b901122, 0xfd987193, 0xa679438e,
0x49b40821, 0xf61e2562, 0xc040b340, 0x265e5a51, 0xe9b6c7aa,
0xd62f105d, 0x2441453, 0xd8a1e681, 0xe7d3fbc8, 0x21e1cde6,
0xc33707d6, 0xf4d50d87, 0x455a14ed, 0xa9e3e905, 0xfcefa3f8,