Skip to content

Instantly share code, notes, and snippets.

Avatar

tihmstar

View GitHub Profile
@tihmstar
tihmstar / iPhone_8_15.1_19B74_kernelpatches.txt
Last active Jul 5, 2022
iPhone 8 15.1 19B74 checkm8 jb patches
View iPhone_8_15.1_19B74_kernelpatches.txt
iPhone8 15.1 19B74
iBoot: 0x1800309c0 : 000080d2
iBoot: 0x180038744 : af070094
iBoot: 0x18003a844 : 9386ff17
iBoot: 0x18001c290 : a1000058df0301eb40000054202080d2c0035fd6
iBoot: 0x18001c2a4 : 4887038001000000
iBoot: 0x1800325dc : 200080d2
iBoot: 0x18009127f : 7261316e736e3077206d6f6465
iBoot: 0x180038f04 : 1f2003d5
@tihmstar
tihmstar / Odyssey14_leak.cpp
Last active Apr 27, 2021
Stable internal kernelRW primitives #odyssey14 #leak
View Odyssey14_leak.cpp
extern "C"
void initKernRw(mach_port_t dstTask, uint64_t dstTaskAddr, uint64_t (*kread64)(uint64_t addr), void (*write_20)(uint64_t addr, const void *buf)){
KernelRW *newKrw = new KernelRW;
auto p = newKrw->getPrimitivepatches(kread64,dstTaskAddr);
{
uint8_t buf[20];
for (int i=0; i<sizeof(buf); i+=8) {
*((uint64_t*)&buf[i]) = kread64(p.where-20+8+4+i);
View nvrampatcher.c
/*
* The MIT License (MIT)
*
* Copyright (c) 2016 Pupyshev Nikita
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
* the Software, and to permit persons to whom the Software is furnished to do so,