This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// from https://github.com/verygenericname/SSHRD_Script/commit/708ce254fea08e442ecb4cd20c3fdbfe6ce9ab66 | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#define MAX_DIFFS 16384 | |
void print_usage(const char *prog_name) { | |
printf("Usage: %s kernelcache_original kernelcache_patched output.bpatch\n", prog_name); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# diff between theapplewiki and fwkeydb ivkeys | |
types=(iPhone1,1 iPhone1,2 iPhone2,1 iPhone3,1 iPhone3,2 iPhone3,3 iPhone4,1 iPhone5,1 iPhone5,2 iPhone5,3 iPhone5,4 | |
iPad1,1 iPad2,1 iPad2,2 iPad2,3 iPad2,4 iPad2,5 iPad2,6 iPad2,7 iPad3,1 iPad3,2 iPad3,3 iPad3,4 iPad3,5 iPad3,6 | |
iPod1,1 iPod2,1 iPod3,1 iPod4,1 iPod5,1) | |
#types=(iPhone2,1) | |
comps=(AppleLogo BatteryCharging BatteryCharging0 BatteryCharging1 BatteryFull BatteryLow0 BatteryLow1 BatteryPlugin DeviceTree KernelCache LLB RecoveryMode EraseRamdisk iBEC iBSS iBoot UpgradeRamdisk) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
int main() { | |
system("nvram -c"); | |
system("nvram boot-partition=2"); | |
system("nvram auto-boot=1"); | |
//system("nvram auto-boot=0"); // for 4.2.x and lower, to send device to recovery after restore | |
system("umount /mnt1"); | |
system("mount_hfs /dev/disk0s1 /mnt1"); | |
system("dd if=/iBoot of=/mnt1/iBEC bs=512k"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# If you like this script and my work on libimobiledevice, please | |
# consider becoming a patron at https://patreon.com/nikias - Thanks <3 | |
REV=1.0.17 | |
export MACOSX_DEPLOYMENT_TARGET=10.11 | |
if test "`echo -e Test`" != "Test" 2>&1; then | |
echo Please run this with zsh or bash. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Home Depot Offsets iOS 9.x. | |
Found with the help of https://github.com/stek29/awful-offset-finder | |
offset finder gives wrong clock_ops offsets for 9.0-9.1, so those are found manually. | |
allproc offsets are likely wrong for 9.0-9.0.2. | |
I can't get the 9.0-9.0.2 offsets to work anyway when I tried testing on my iPhone 5. | |
A5 9.0-9.0.2 | |
0x317de4 | |
0x31a5d0 | |
0x1daec |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Home Depot Offsets iOS 8.x. | |
Found with the help of https://github.com/Merculous/OF32 | |
bufattr_cpx and bx_lr offsets: first result of searching hex 00687047 | |
A5 offsets should work. tested working: 8.0, 8.3, 8.4.1 | |
A6 does not seem to work at all on Home Depot, possibly because of something to do with the Trident exploit. | |
A5 8.0-8.0.2 | |
0x2c5308 | |
0x2c73e8 | |
0x1ba80 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
platform="ios" | |
echo "* Platform: iOS Procursus" | |
mkdir bin deb tmp | |
cd tmp | |
sudo apt install -y autoconf automake autopoint bison cmake cmake-data curl dirmngr docbook-xml docbook-xsl fakeroot file flex gettext gettext-base git gnupg gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libarchive13 libcurl4 libfl-dev libfl2 libksba8 liblocale-gettext-perl liblzo2-2 libnghttp2-14 libpod-parser-perl libpython3.9 librtmp1 libsgmls-perl libssh2-1 libterm-readkey-perl libtextstyle0v5 libtool libusb-1.0-0 libuv1 libxml2 libxml2-utils libyaml-tiny-perl m4 make patch perl pinentry pkg-config po4a python3 python3.9 scdaemon triehash wget build-essential clang clang-11 dsymutil dsymutil-11 ld64 libc++-11-dev libc++-dev libclang-common-11-dev libclang-cpp11 libllvm11 liblto liblto11 libtapi libuuid16 libxar1 odcctools text-cmds | |
if [[ ! -d /usr/share/SDKs/MacOSX.sdk ]]; then | |
curl -LO https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX10.15.sdk.tar.xz | |
7z x MacOSX10.15.s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
device=$1 | |
ecid=$2 | |
if [[ -z $device || -z $ecid ]]; then | |
echo "* Save Cydia blobs for your device" | |
echo "Usage:" | |
echo " $0 [ProductType] [ECID]" | |
echo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>SectionsEnabledIdentifiers</key> | |
<array> | |
<string>com.apple.controlcenter.settings</string> | |
<string>com.apple.controlcenter.brightness</string> | |
<string>com.atwiiks.controlcenterx.volume-slider</string> | |
<string>com.atwiiks.controlcenterx.air-night</string> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script for QuadtreeAmogufier | |
# https://github.com/snailcon/QuadtreeAmogufier | |
cd "$(dirname $0)" | |
if [[ $1 == clean ]]; then | |
rm -f audio.ogg in/*.png out/*.png | |
exit |
NewerOlder