Commit Graph

63 Commits

Author SHA1 Message Date
8e1e176068 iterate fixups segment pages
was not parse through each page, so it stucks on one page
2024-07-18 16:24:28 +07:00
06525b8a5e add method 1 hooking for x86_64; method 3 first commit 2024-03-28 01:59:55 +07:00
57b0ae26a7 fix shellcode x86_64 2024-03-28 01:58:54 +07:00
f795e9b99d add simple objc hooking by modifying the method pointer 2024-02-09 14:01:34 +07:00
901f1ed819 add rule for go format 2024-01-10 15:56:55 +07:00
41144ff0dc go fmt 2024-01-10 15:56:32 +07:00
9a8ab15d88 clean code 2024-01-10 14:50:53 +07:00
a8ffae5202 move everything objc to objc.go 2024-01-10 14:50:19 +07:00
9ec2a301b4 add objc critical function assembly 2024-01-10 14:33:06 +07:00
a68bbf2b8f erase objc method names 2024-01-10 14:32:46 +07:00
07f361d8ac add comment on libintl 2024-01-04 06:41:05 +07:00
263596b1a1 clean code and add comment 2024-01-04 06:34:07 +07:00
7a6a41b4d8 First big update b.cc (gnu coreutils) 2024-01-03 22:12:10 +07:00
0a070941b1 keep symbol table 2024-01-03 22:09:08 +07:00
4dea12dd9e save import libintl.8.dylib 2024-01-03 22:08:57 +07:00
011abfd8db Update shellcode 2024-01-03 22:08:29 +07:00
67157c91ef update: build.sh 2023-12-14 10:44:40 +07:00
26d002cdb1 Add: rpath resolve 2023-12-14 10:38:44 +07:00
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