Skip to content

Instantly share code, notes, and snippets.

View pharaoh1's full-sized avatar

The Architect pharaoh1

View GitHub Profile
@pharaoh1
pharaoh1 / ios_14_downgrade.md
Created December 10, 2021 18:37
How to downgrade from iOS 15 to iOS 14

How to downgrade from iOS 15 to iOS 14

The latest SEP/BB as of right now is iOS 15.1, and is partially or fully compatible with iOS 14 depending on your device. See the appropriate section for exact compatibility info.

Prequisites

Notes

  • If the exploit fails even after multiple attempts or your device reboots out of DFU mode, you'll have to start over from the beginning and be quicker next time. (You don't have to redownload anything though.) You may have to force restart your device if it's stuck in DFU.
@pharaoh1
pharaoh1 / phoenix.c
Created April 25, 2021 15:56 — forked from Siguza/phoenix.c
Phœnix exploit / iOS 9.3.5
// Bugs by NSO Group / Ian Beer.
// Exploit by Siguza & tihmstar.
// Thanks also to Max Bazaliy.
#include <stdint.h> // uint32_t, uint64_t
#include <stdio.h> // fprintf, stderr
#include <string.h> // memcpy, memset, strncmp
#include <unistd.h> // getpid
#include <mach/mach.h>
#include <stdlib.h>
@pharaoh1
pharaoh1 / tutorial.md
Created April 8, 2021 15:00 — forked from dhinakg/tutorial.md
iOS/iPadOS 14.3 OTA
//A7~A9, use SHA1 algorithm to generate apnonce.
unsigned long buf = 0x1111111111111111;
unsigned char result[CC_SHA1_DIGEST_LENGTH];
CC_SHA1(&buf, sizeof(buf), result);
for (int i = 0; i < CC_SHA1_DIGEST_LENGTH; i++)
printf("%02" PRIx32, result[i]);
putchar('\n');
//A10~A11, use SHA384 algorithm, but only take the first 32 bits to generate apnonce.
unsigned long buf = 0x1111111111111111;
@pharaoh1
pharaoh1 / devicetree-iPhone12,3-17C54.txt
Created February 24, 2021 08:08 — forked from bazad/devicetree-iPhone12,3-17C54.txt
iPhone12,3 17C54 device tree
device-tree:
target-type (5): "D421"
mlb-serial-number (32): "C07947707R3LTPJB"
compatible (27): "D421AP\0iPhone12,3\0AppleARM\0"
secure-root-prefix (3): "md"
AAPL,phandle (4): 0x1
platform-name (32): "t8030"
device_type (8): "bootrom"
region-info (32): "LL/A"
regulatory-model-number (32): "A2160"
@pharaoh1
pharaoh1 / checkm8_a8_a9.patch usage.md
Created December 27, 2020 03:28 — forked from a1exdandy/checkm8_a8_a9.patch usage.md
checkm8_a8_a9.patch usage
import sys
from PyQt5.QtWidgets import QWidget, QProgressBar, QPushButton, QApplication
from PyQt5.QtCore import QBasicTimer
class ProgressBarDemo(QWidget):
def __init__(self):
super().__init__()
self.progressBar = QProgressBar(self)
self.progressBar.setGeometry(30, 40, 200, 25)
@pharaoh1
pharaoh1 / ISOCountryCodes.csv
Created May 18, 2020 13:00 — forked from u10int/ISOCountryCodes.csv
iOS Country Codes
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
AD Andorra
AE United Arab Emirates
AF Afghanistan
AG Antigua and Barbuda
AI Anguilla
AL Albania
AM Armenia
AN Netherlands Antilles
AO Angola
AQ Antarctica
@pharaoh1
pharaoh1 / Activate Office 2019 for macOS VoL.md
Created January 6, 2020 14:23 — forked from zthxxx/Activate Office 2019 for macOS VoL.md
crack activate office on mac with license file

Activate MS Office 2019/2016 for macOS - Microsoft_Office_2019_VL_Serializer

Office 2019 above

2019-06-03

Note that Office2019 DO NOT support activate via simple copy/paste plist license file which is the simplest way to activate Office 2016. Fortunately, you can also use the VL Serializer tool, just install Office 2019 and Serializer, then run Serializer to activate.

Ref

@pharaoh1
pharaoh1 / snake.py
Created December 15, 2019 11:51 — forked from sanchitgangwar/snake.py
Snakes Game using Python
# SNAKES GAME
# Use ARROW KEYS to play, SPACE BAR for pausing/resuming and Esc Key for exiting
import curses
from curses import KEY_RIGHT, KEY_LEFT, KEY_UP, KEY_DOWN
from random import randint
curses.initscr()
win = curses.newwin(20, 60, 0, 0)