Commit Graph

45 Commits

Author SHA1 Message Date
c805fc56b3 fix: check cputype 2023-12-14 10:37:56 +07:00
1b3eb467a7 fix x86_64 shellcode 2023-11-08 22:36:28 +07:00
54f61f36ab Add x86_84 shellcode 2023-11-08 22:26:55 +07:00
f88861a87e format code 2023-07-12 13:37:54 +07:00
4016abf40d clean code 2023-07-12 13:34:30 +07:00
4ee62a2d93 add selfbind functionality 2023-07-12 13:34:02 +07:00
6815ea6556 add keep imports action 2023-07-11 10:06:59 +07:00
557eed0254 small changes to remove imports action 2023-07-11 10:05:58 +07:00
eccd0bf845 optimize shellcode and recover main address at runtime 2023-07-10 14:15:05 +07:00
ed2f09348e compress the extracted information 2023-07-10 14:14:03 +07:00
2eede8f9b2 format go code 2023-06-26 15:33:37 +07:00
b8d8343835 update test program for custom loader 2023-06-26 15:33:30 +07:00
e15d1e8d6f run initializers in the correct order
- Objective-C load methods must be called first
- Constructors are called after
- All constructors arguments are passed correctly
2023-06-26 15:33:24 +07:00
a2f9ca82e7 update shellcode
- shellcode correctly passes arguments to main
- shellcode deals with __bss section in __DATA
- remove hardcoded values
2023-06-26 15:33:15 +07:00
693c2b6c95 update build script for custom_loader 2023-06-26 15:33:07 +07:00
7eb43a35fb add full rebuild for Objective-C binaries 2023-06-26 15:32:54 +07:00
f5144fec4f add modifications for ObjC binaries 2023-06-26 15:31:54 +07:00
ebd52d9acb add docs/ 2023-06-15 10:48:07 +07:00
3aaa85520e add fix for objc binaries
TODO: Fix call to +load() for non-lazy class
2023-06-15 10:46:10 +07:00
ed793b1df6 add more utilities to custom_loader lib 2023-06-15 10:45:01 +07:00
9f54720e7b don't remap region to READONLY
TODO: Should remap to its original state before fix to READ|WRITE
2023-06-15 10:43:35 +07:00
fdccdca8a0 add objc4 symtab contents for reference 2023-06-15 10:42:19 +07:00
e2c75bf718 rework ios-wrapper cli parsing 2023-06-15 10:41:18 +07:00
a257286d2e add src link to objc dyld 2023-06-15 10:40:45 +07:00
91e5b1f6b3 fix parsing fixups chains
address was not incrementing correctly leads to wrong offset of symbol
2023-06-07 15:56:36 +07:00
887c53ed44 add test for objc 2023-06-07 10:49:59 +07:00
88bb0aa09d fix fixups chain rewrite stops at first entry 2023-06-07 10:49:05 +07:00
1b7da037bb remove all strings when remove imports 2023-06-06 13:15:31 +07:00
6089c18d30 add parsing for more commands 2023-06-06 13:15:17 +07:00
6d757108a7 support for removing LC_DYLD_FIXUPS_CHAINS data 2023-06-05 15:55:21 +07:00
7592cfd2dd parse LC_DYLD_FIXUPS_CHAINS 2023-06-05 15:55:02 +07:00
b73650258b update to atleast go 1.17 2023-06-05 15:54:41 +07:00
5a8a83f846 update logic for manual loader 2023-06-05 15:54:22 +07:00
3a30f12019 support for LC_DYLD_INFO_ONLY strip 2023-06-02 15:24:43 +07:00
e3a1dcf76a update code structure for custom_loader 2023-06-02 15:24:09 +07:00
7880e647f5 clean code 2023-06-02 12:05:03 +07:00
a2bee75ef9 add function to dump export trie 2023-06-02 12:04:39 +07:00
0d13a70896 fix trie walk
now able to search for symbol with multiple name with same prefix
2023-06-02 12:03:27 +07:00
4fd6bd166e update custom loader scripts 2023-06-01 17:29:45 +07:00
b5ee7124ab add remove imports command 2023-06-01 17:29:23 +07:00
9d94dd5494 remove unncessary files 2023-06-01 17:28:51 +07:00
841a50f8e1 format code 2023-05-31 16:31:52 +07:00
e3453ae127 add research folder 2023-05-31 16:17:45 +07:00
8b962dd88a add fun ocaml project 2023-05-31 16:17:32 +07:00
54f1f3eb38 add old go tooling 2023-05-31 16:17:03 +07:00