Skip to content

Instantly share code, notes, and snippets.

@ox1111
ox1111 / error.sh
Created December 26, 2019 00:29
error
hacker@ubuntu:~/src/schrodinger/schrodinger-equation-1d-demo$ sudo killall apt apt-get
apt: no process found
apt-get: no process found
hacker@ubuntu:~/src/schrodinger/schrodinger-equation-1d-demo$ sudo rm /var/lib/apt/lists/lock
hacker@ubuntu:~/src/schrodinger/schrodinger-equation-1d-demo$ sudo rm /var/cache/apt/archives/lock
hacker@ubuntu:~/src/schrodinger/schrodinger-equation-1d-demo$ sudo rm /var/lib/dpkg/lock*
hacker@ubuntu:~/src/schrodinger/schrodinger-equation-1d-demo$ sudo dpkg --configure -a
hacker@ubuntu:~/src/schrodinger/schrodinger-equation-1d-demo$ sudo apt update
tag : DXUW-MEAC-UGLI-ECIY
안녕하세요 블랙팔콘입니다.
우선 입팀과제 시험 보는 것에
동의해주신 것에 감사합니다.
아래는 프로젝트와 팀 구조에 대한 설명 문서입니다.
참조하시기 바랍니다.
https://speedr00t.tistory.com/878
@ox1111
ox1111 / iphoneWontBoot
Created June 4, 2025 22:03 — forked from gistya/iphoneWontBoot
console output
========================
ASL is here to serve you
>
Jul 1 06:33:43 apsd[83] <Warning>: 2013-07-01 06:33:43 -0700 apsd[83]: <APSCourier: 0x14568410>: forceDelayedReconnect.
Jul 1 06:33:43 apsd[83] <Warning>: 2013-07-01 06:33:43 -0700 apsd[83]: <APSCourierConnection: 0x1466bd90> asked to resumeManager with action 5 with invalid interface None
Jul 1 06:33:43 apsd[83] <Warning>: 2013-07-01 06:33:43 -0700 apsd[83]: copyTokenForDomain push.apple.com (null)
Jul 1 06:33:43 apsd[83] <Warning>: 2013-07-01 06:33:43 -0700 apsd[83]: <APSCourier: 0x14568410> adding connectionserver <APSConnectionServer: 0x14586ce0>, setting publicToken:(null)
Jul 1 06:33:44 apsd[83] <Warning>: 2013-07-01 06:33:44 -0700 apsd[83]: copyTokenForDomain push.apple.com (null)
Jul 1 06:33:44 apsd[83] <Warning>: 2013-07-01 06:33:44 -0700 apsd[83]: Do we need to enable the courier? needToken YES _hasEnabledCouriers NO
@ox1111
ox1111 / iPhone_8_15.1_19B74_kernelpatches.txt
Created April 18, 2024 23:16 — forked from tihmstar/iPhone_8_15.1_19B74_kernelpatches.txt
iPhone 8 15.1 19B74 checkm8 jb patches
저자 commnet
I guess i can't help but tease you a bit more :P
Here are the patches i used on my iPhone8 to boot into iOS 15.1 jb
https://gist.github.com/tihmstar/faaa1fe3fe9302782800a4d40bb67825
- remove passcode
- kernelpatches may be incomplete (i didn't test tweaks, just sileo)
iPhone8 15.1 19B74
// Decompiled by hand (based-ish on a Ghidra decompile) from Hypervisor.framework on macOS 12.0b1
@import Darwin;
#include <assert.h>
typedef uint64_t hv_return_t;
typedef void* hv_vm_config_t;
#define HV_CALL_VM_GET_CAPABILITIES 0
#define HV_CALL_VM_CREATE 1
@ox1111
ox1111 / afuu.c
Created March 26, 2024 00:55 — forked from 0x36/afuu.c
AppleFirmwareUpdateKext::loadFirmware() : Missing lock leads to double object release
#if 0
// Fixed in iOS 13.1 with CVE-2019-8747
__thiscall
AppleFirmwareUpdateKext::loadFirmware
(AppleFirmwareUpdateKext *this,IOMemoryDescriptor *Memory,void *off_0x10,uint off_0x18)
{
uint uVar1;
byte addr;
byte len;
@ox1111
ox1111 / ApplePPM_oobw.c
Created March 26, 2024 00:55 — forked from 0x36/ApplePPM_oobw.c
ApplePPM::setProperties() OOB writes
#if 0
Fixed in iOS 13.0 with CVE-2019-8712.
ApplePPM::setProperties() : OSArray::initWithArray called without locks leads to OOB Writes
__thiscall ApplePPM::setProperties(ApplePPM *this,OSDictionary *param_1)
{
...
...
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <linux/types.h>
#include <arpa/inet.h>
#include <linux/in.h>
#include <linux/in6.h>
#include <linux/if.h>
@ox1111
ox1111 / xfrm.c
Created March 25, 2024 23:41 — forked from 0x36/xfrm.c
CVE-2017-16939
#define _GNU_SOURCE
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <asm/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <linux/netlink.h>
#include <linux/xfrm.h>
# Fix a metacast output in iOS kernelcache
#@author simo
#@category iOS.kernel
#@keybinding Meta Shift M
#@toolbar logos/m.png
# -*- coding: utf-8 -*-
# This script can be only used in GHIDRA 9.2, so grab the source code and compile it yourself