Skip to content

Instantly share code, notes, and snippets.

View baiyunping333's full-sized avatar

tony eve baiyunping333

  • guangzhou
View GitHub Profile
@baiyunping333
baiyunping333 / .Cloud.md
Created November 27, 2024 04:04 — forked from imba-tjd/.Cloud.md
☁️ 一些免费的云资源

  • IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装。PaaS提供语言环境和框架(可以自己选)。SaaS只能使用开发好的软件(卖软件本身,如税务会计、表格文字)。BaaS一般类似于非关系数据库,但各家不通用
  • 云服务的特点:零前期成本&按需付费&弹性(类似于租,可随时多加、退掉;但没有残值)、高可用(放在机房中,不同AZ间水电隔离)

其他人的集合

// From the iOS 16.5 kernelcache for the iPhone 12.
{
.kernel_base = 0xfffffff007004000,
.vn_kqfilter = 0xfffffff007f43d40,
.ptov_table = 0xfffffff0078e3188,
.gVirtBase = 0xfffffff00792e2d8,
.gPhysBase = 0xfffffff007930100,
.gPhysSize = 0xfffffff007930108,
.perfmon_devices = 0xfffffff00a4db540,
.perfmon_dev_open = 0xfffffff007ef4214,
@Orangera1n
Orangera1n / 15on16sepactivationguide.md
Last active March 11, 2025 14:43
How to activate a device on iOS 15 that was futurerestored on 16 sep

whatisthisthisthisthisthisthis?

This is a guide on how to activate ur idevice on ios 15 (maybe ios 14 idk) when its futurerestored on 16 sep.

DISCLAIMER: I am very aware people might use this to bypass icloud, but I am NOT encouraging you to bypass icloud.

ALSO: THIS IS RECOMMENDED FOR ADVANCED USERS ONLY, i am not responsable for ur device being broken (tho idk how it becomes broken via this)

also, i've only tested this on macOS, might work on linux tho if u replace darwin with linux and shit.

@import Darwin;
@import Foundation;
@import MachO;
#import <mach-o/fixup-chains.h>
// you'll need helpers.m from Ian Beer's write_no_write and vm_unaligned_copy_switch_race.m from
// WDBFontOverwrite
// Also, set an NSAppleMusicUsageDescription in Info.plist (can be anything)
// Please don't call this code on iOS 14 or below
// (This temporarily overwrites tccd, and on iOS 14 and above changes do not revert on reboot)
@m1stadev
m1stadev / nonce-setter.py
Last active September 3, 2024 15:43
iOS/tvOS nonce setter
#!/usr/bin/env python3
from pathlib import Path
from remotezip import RemoteZip
import argparse
import plistlib
import requests
import subprocess
import tempfile
@44670
44670 / gist:42a1baa1fe770c2a37170ca0ad6f7737
Last active February 4, 2024 06:23
Allwinner D1 Set HDMI Resolution
HDMI_RESOLUTION=5 #720p
cd /sys/kernel/debug/dispdbg
echo disp0 > name; echo switch1 > command; echo 4 $HDMI_RESOLUTION 0 0 0x4 0x101 0 0 0 8 > param; echo 1 > start;
@stek29
stek29 / 0webosbrew-letsencrypt-ca.md
Last active January 19, 2025 21:38
fix webOS ca certificates for DST Root X3 expiry (on rooted TVs)

HowTo

  • Root via rootmy.tv
  • Install

Tested on webOS 4.5, should at least on webOS 3.5+

Installation/Update

curl -qs "https://gist.githubusercontent.com/stek29/761232c6f7e1ffbc36b98da2a3a0f4d9/raw/install.sh?$(date +%s)" | sh -
@its-a-feature
its-a-feature / _obs_tcc.md
Created January 1, 2021 18:11 — forked from theevilbit/_obs_tcc.md
[StreamLabs OBS macOS TCC bypass]

StreamLabs OBS macOS TCC bypass

The Streamlabs macOS thick client does have hardened runtime enabled, but specifically allows DYLD environment variables and also disables library validation, which kills the purpose of hardened runtime. Having these settings on the executable enables an attacker to inject custom DYLIB libraries into the application. This would allow an attacker to access data inside the app, and possibly gain persistence on a machine, beyond that, as StreamLabs has access to the microphone and camera a user would gain access to that once exploited.

We can see the wrong permissions with running the codesign utility:

csaby@bigsur ~ % codesign -dv --entitlements :- /Applications/Streamlabs\ OBS.app 
Executable=/Applications/Streamlabs OBS.app/Contents/MacOS/Streamlabs OBS
Identifier=com.streamlabs.slobs
Format=app bundle with Mach-O thin (x86_64)
@yunqu
yunqu / install-gcc.md
Last active October 8, 2024 01:45
Install a different version of GCC on Ubuntu

First, add the ubuntu-toolchain-r/test PPA to your system with:

sudo apt install software-properties-common
sudo add-apt-repository ppa:ubuntu-toolchain-r/test

Install the desired GCC and G++ versions by typing:

sudo apt install gcc-7 g++-7 gcc-8 g++-8 gcc-9 g++-9
@bazad
bazad / arm64_sysregs_ios.py
Created July 17, 2020 19:58
Label iOS arm64 system registers in IDA Pro
#
# arm64_sysregs_ios.py
# Brandon Azad
#
# Based on https://github.com/gdelugre/ida-arm-system-highlight by Guillaume Delugre.
#
import idautils
import idc