Skip to content

Instantly share code, notes, and snippets.

View networkextension's full-sized avatar

abigt networkextension

  • Star
View GitHub Profile
@networkextension
networkextension / gestalt_query.plist
Created March 3, 2022 02:50
gestalt_query ent 15.2
<?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>com.apple.AppleNVMeEAN.allow</key>
<true/>
<key>com.apple.CommCenter.fine-grained</key>
<array>
<string>spi</string>
<string>identity</string>
@networkextension
networkextension / memread.txt
Created February 28, 2022 08:51
Read from the memory of the current target process.
(lldb) help x
Read from the memory of the current target process.
Syntax: x <cmd-options> <address-expression> [<address-expression>]
Command Options Usage:
x [-r] [-f <format>] [-c <count>] [-G <gdb-format>] [-s <byte-size>] [-l <number-per-line>] [-o <filename>] <address-expression> [<address-expression>]
x [-br] [-f <format>] [-c <count>] [-s <byte-size>] [-o <filename>] <address-expression> [<address-expression>]
x [-AFLORTr] -t <name> [-f <format>] [-c <count>] [-G <gdb-format>] [-E <count>] [-o <filename>] [-d <none>] [-S <boolean>] [-D <count>] [-P <count>] [-Y[<count>]] [-V <boolean>] [-Z <count>] <address-expression> [<address-expression>]
x -t <name> [-x <source-language>] <address-expression> [<address-expression>]
@networkextension
networkextension / sysreg_iboot
Created February 28, 2022 08:21
sysreg_iboot
19c0f2868 UNKNOWN SYSREG S1_7_c14_c13_7
19c0fa634 UNKNOWN SYSREG S2_6_c5_c3_0
19c109af4 UNKNOWN SYSREG S3_2_c6_c12_3
19c115b78 UNKNOWN SYSREG S3_3_c3_c5_3
19c11f6ec UNKNOWN SYSREG S2_2_c10_c0_1
19c120b00 UNKNOWN SYSREG S2_1_c3_c5_4
19c122fc0 UNKNOWN SYSREG S2_7_c6_c3_4
19c12c854 UNKNOWN SYSREG S2_1_c4_c6_4
19c13c934 UNKNOWN SYSREG S2_1_c7_c6_0
CODESIGN(1) General Commands Manual CODESIGN(1)
NAME
codesign – Create and manipulate code signatures
SYNOPSIS
codesign -s identity [-i identifier] [-r requirements] [-fv] [path ...]
codesign -v [-R requirement] [-v] [path|pid ...]
codesign -d [-v] [path|pid ...]
codesign -h [-v] [pid ...]
[
{
"description": "",
"format": "_name x0",
"name": "x0",
"number": "0"
},
{
"description": "",
"format": "_name x1",
@networkextension
networkextension / print_to_uiview.m
Created February 17, 2022 02:00
print_to_uiview.m
#include <stdlib.h>
#include <stdio.h>
static print_cbk_t gPrintFunc;
static int stdout_redirect(void* prefix, const char* buffer, int size)
{
if (gPrintFunc)
gPrintFunc(buffer, size);
return size;
@networkextension
networkextension / mmudump
Created February 14, 2022 13:18
mmudump T8101 A14
ECORE0 > mmu dump
No memap option given on ARMV8 CPU. Will try to use CPU interface to dump MMU
Failed to lower EL: ASTRIS_ERR_NOTSUPPORTED
[MMUV8 WALK] TTBR1 translations are DISABLED
---------------------------------------------------------------------------------
Arch: ARMV8
State: AArch64
Mode: EL0t
Regs: TCR=0x1659ca51c TTBR0=0x1fc000000 TTBR1=0x0
Granule: 14 N/A
@networkextension
networkextension / arm64_sysregs_ios.py
Last active April 28, 2023 00:12 — forked from bazad/arm64_sysregs_ios.py
Label iOS arm64 system registers in IDA Pro, add S3_6_c15_c13/14/15 for T8101 icestorm
#
# arm64_sysregs_ios.py
# Brandon Azad
#
# Based on https://github.com/gdelugre/ida-arm-system-highlight by Guillaume Delugre.
#
import idautils
import idc
@networkextension
networkextension / T8101.SecureRom
Created February 12, 2022 13:12
T8101.SecureRom
#https://gist.github.com/bazad/42054285391c6e0dcd0ede4b5f969ad2
100000610 UNKNOWN SYSREG S3_6_c15_c13_0
100000614 UNKNOWN SYSREG S3_6_c15_c13_1
100000624 UNKNOWN SYSREG S3_6_c15_c13_2
100000628 UNKNOWN SYSREG S3_6_c15_c13_3
100000638 UNKNOWN SYSREG S3_6_c15_c13_4
10000063c UNKNOWN SYSREG S3_6_c15_c13_5
10000064c UNKNOWN SYSREG S3_6_c15_c13_6
100000650 UNKNOWN SYSREG S3_6_c15_c13_7
100000660 UNKNOWN SYSREG S3_6_c15_c14_0
@networkextension
networkextension / 19C_devices_apple
Created January 18, 2022 15:09
19C_devices_apple
Target|Platform|PlatformName|ImageFormat|iBootType|KernelCacheType
j152fap|t8012|H9M|im4p|j152f|ibridge2p
t8004simdev|t8004|M8P|im4p|t8004sim|t8004consolidated
j140amacap|x86_64|X86_64|raw||
t6001uidmdev|t6001|H13C|im4p||
x1652|t200|Veridian|img4||
d101ap|t8010|H9P|im4p|d10|iphone9
d101dev|t8010|H9P|im4p|d10|iphone9
e89ap|t8011|H9G|im4p|e89|e89
e89dev|t8011|H9G|im4p|e89|e89