Skip to content

Instantly share code, notes, and snippets.

View pharaoh1's full-sized avatar

The Architect pharaoh1

View GitHub Profile
@pharaoh1
pharaoh1 / laravel_valet_setup.md
Created November 28, 2023 16:16 — forked from bradtraversy/laravel_valet_setup.md
Laravel Valet install on mac

Laravel Valet Setup (Mac)

This will get you setup with Laravel & Valet on your Mac. Quentin Watt has a good video tutorial on getting setup here as well

Install Homebrew

Go to https://brew.sh/ and copy the command and run in your terminal

It will be something like this...

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
@pharaoh1
pharaoh1 / laravel_xampp_setup.md
Created November 28, 2023 16:16 — forked from bradtraversy/laravel_xampp_setup.md
Laravel Xampp setup on Mac and Windows

Laravel Xampp Setup (Windows & Mac)

Install Xampp

Install Xampp from https://www.apachefriends.org/index.html

  • Run the Xampp installer and open the Xampp control panel
  • Make sure that you enable the Apache and MySQL services
  • On mac you need to click "Start" on the Home tab, "Enable" on the Network tab and "Mount" on the Location Tab. Click "Explore" on the location tab to open your Xampp/Lampp folder

Install Composer

@pharaoh1
pharaoh1 / colors
Created August 19, 2023 03:16 — forked from dtmilano/colors
Shows terminal colors
#! /bin/bash
n=32
arg=setaf
text='Hello World! This is %s %d'
_help()
{
printf 'usage: %s [--help|-H] [--16] [--256] [-t|--tiny] [--background|-b]\n' "$(basename $0)"
exit 0
@pharaoh1
pharaoh1 / demo1.py
Created August 18, 2023 21:57 — forked from richardbwest/demo1.py
Python ANSI Colors Tutorial example
import os
os.system("cls") #use this for windows. change to os.system("clear") for linux
COLORS = {\
"black":"\u001b[30;1m",
"red": "\u001b[31;1m",
"green":"\u001b[32m",
"yellow":"\u001b[33;1m",
"blue":"\u001b[34;1m",
@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