Skip to content

Commit 67cf564

Browse files
authored
Payload Guest Fix Thanks @BestPig
1 parent 6d31cea commit 67cf564

23 files changed

+2036
-922
lines changed

installer/build/embed.o

8.79 KB
Binary file not shown.

installer/build/main.o

5.48 KB
Binary file not shown.

installer/include/offsets/1000.h

+46-43
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,46 @@
1-
#ifndef __OFFSETS_H__
2-
#define __OFFSETS_H__
3-
#pragma once
4-
5-
// 10.00
6-
#define XFAST_SYSCALL_addr 0x000001C0
7-
8-
// Names - Data
9-
#define PRISON0_addr 0x0111B8B0
10-
#define ROOTVNODE_addr 0x01B25BD0
11-
#define PMAP_STORE_addr 0x02182D60
12-
#define DT_HASH_SEGMENT_addr 0x00CE6DC8
13-
14-
// Functions
15-
#define pmap_protect_addr 0x000E2420
16-
#define pmap_protect_p_addr 0x000E2467
17-
18-
// Patches
19-
// debug menu error
20-
#define debug_menu_error_patch1 0x004EC908
21-
#define debug_menu_error_patch2 0x004ED9CE
22-
23-
// disable signature check
24-
#define disable_signature_check_patch 0x006926E0
25-
26-
// enable debug RIFs
27-
#define enable_debug_rifs_patch1 0x0064A510
28-
#define enable_debug_rifs_patch2 0x0064A540
29-
30-
// allow sys_dynlib_dlsym in all processes
31-
#define sys_dynlib_dlsym_patch1 0x0019025F
32-
#define sys_dynlib_dlsym_patch2 0x001BEA40
33-
34-
// disable some check for mmap
35-
#define vm_map_protect_check 0x0039207B
36-
37-
// enable debug log
38-
#define enable_debug_log_patch 0x000C51D7
39-
40-
// enable uart output
41-
#define enable_uart_patch 0x01A78A78
42-
43-
#endif
1+
#ifndef __OFFSETS_H__
2+
#define __OFFSETS_H__
3+
#pragma once
4+
5+
// 10.00
6+
#define XFAST_SYSCALL_addr 0x000001C0
7+
8+
// Names - Data
9+
#define PRISON0_addr 0x0111B8B0
10+
#define ROOTVNODE_addr 0x01B25BD0
11+
#define PMAP_STORE_addr 0x02182D60
12+
#define DT_HASH_SEGMENT_addr 0x00CE6DC8
13+
14+
// Functions
15+
#define pmap_protect_addr 0x000E2420
16+
#define pmap_protect_p_addr 0x000E2467
17+
18+
// Patches
19+
// debug menu error
20+
#define debug_menu_error_patch1 0x004EC908
21+
#define debug_menu_error_patch2 0x004ED9CE
22+
23+
// disable signature check
24+
#define disable_signature_check_patch 0x006926E0
25+
26+
// enable debug RIFs
27+
#define enable_debug_rifs_patch1 0x0064A510
28+
#define enable_debug_rifs_patch2 0x0064A540
29+
30+
// allow sys_dynlib_dlsym in all processes
31+
#define sys_dynlib_dlsym_patch1 0x0019025F
32+
#define sys_dynlib_dlsym_patch2 0x001BEA40
33+
34+
// patch sys_mmap to allow rwx mappings
35+
#define sys_mmap_patch 0x000ED59A
36+
37+
// disable some check for mmap
38+
#define vm_map_protect_check 0x0039207B
39+
40+
// enable debug log
41+
#define enable_debug_log_patch 0x000C51D7
42+
43+
// enable uart output
44+
#define enable_uart_patch 0x01A78A78
45+
46+
#endif

installer/include/offsets/1001.h

+46-43
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,46 @@
1-
#ifndef __OFFSETS_H__
2-
#define __OFFSETS_H__
3-
#pragma once
4-
5-
// 10.01
6-
#define XFAST_SYSCALL_addr 0x000001C0
7-
8-
// Names - Data
9-
#define PRISON0_addr 0x0111B8B0
10-
#define ROOTVNODE_addr 0x01B25BD0
11-
#define PMAP_STORE_addr 0x02182D60
12-
#define DT_HASH_SEGMENT_addr 0x00CE6DC8
13-
14-
// Functions
15-
#define pmap_protect_addr 0x000E2420
16-
#define pmap_protect_p_addr 0x000E2467
17-
18-
// Patches
19-
// debug menu error
20-
#define debug_menu_error_patch1 0x004EC908
21-
#define debug_menu_error_patch2 0x004ED9CE
22-
23-
// disable signature check
24-
#define disable_signature_check_patch 0x006926E0
25-
26-
// enable debug RIFs
27-
#define enable_debug_rifs_patch1 0x0064A510
28-
#define enable_debug_rifs_patch2 0x0064A540
29-
30-
// allow sys_dynlib_dlsym in all processes
31-
#define sys_dynlib_dlsym_patch1 0x0019025F
32-
#define sys_dynlib_dlsym_patch2 0x001BEA40
33-
34-
// disable some check for mmap
35-
#define vm_map_protect_check 0x0039207B
36-
37-
// enable debug log
38-
#define enable_debug_log_patch 0x000C51D7
39-
40-
// enable uart output
41-
#define enable_uart_patch 0x01A78A78
42-
43-
#endif
1+
#ifndef __OFFSETS_H__
2+
#define __OFFSETS_H__
3+
#pragma once
4+
5+
// 10.01
6+
#define XFAST_SYSCALL_addr 0x000001C0
7+
8+
// Names - Data
9+
#define PRISON0_addr 0x0111B8B0
10+
#define ROOTVNODE_addr 0x01B25BD0
11+
#define PMAP_STORE_addr 0x02182D60
12+
#define DT_HASH_SEGMENT_addr 0x00CE6DC8
13+
14+
// Functions
15+
#define pmap_protect_addr 0x000E2420
16+
#define pmap_protect_p_addr 0x000E2467
17+
18+
// Patches
19+
// debug menu error
20+
#define debug_menu_error_patch1 0x004EC908
21+
#define debug_menu_error_patch2 0x004ED9CE
22+
23+
// disable signature check
24+
#define disable_signature_check_patch 0x006926E0
25+
26+
// enable debug RIFs
27+
#define enable_debug_rifs_patch1 0x0064A510
28+
#define enable_debug_rifs_patch2 0x0064A540
29+
30+
// allow sys_dynlib_dlsym in all processes
31+
#define sys_dynlib_dlsym_patch1 0x0019025F
32+
#define sys_dynlib_dlsym_patch2 0x001BEA40
33+
34+
// patch sys_mmap to allow rwx mappings
35+
#define sys_mmap_patch 0x000ED59A
36+
37+
// disable some check for mmap
38+
#define vm_map_protect_check 0x0039207B
39+
40+
// enable debug log
41+
#define enable_debug_log_patch 0x000C51D7
42+
43+
// enable uart output
44+
#define enable_uart_patch 0x01A78A78
45+
46+
#endif

installer/include/offsets/1050.h

+45-42
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,46 @@
1-
#ifndef __OFFSETS_H__
2-
#define __OFFSETS_H__
3-
#pragma once
4-
5-
// 10.50
6-
#define XFAST_SYSCALL_addr 0x000001C0
7-
8-
// Names - Data
9-
#define PRISON0_addr 0x0111B910
10-
#define ROOTVNODE_addr 0x01BF81F0
11-
#define PMAP_STORE_addr 0x01B2CEE0
12-
#define DT_HASH_SEGMENT_addr 0x00CE7008
13-
14-
// Functions
15-
#define pmap_protect_addr 0x00046EF0
16-
#define pmap_protect_p_addr 0x00046F37
17-
18-
// Patches
19-
// debug menu error
20-
#define debug_menu_error_patch1 0x004E6DA8
21-
#define debug_menu_error_patch2 0x004E7E6E
22-
23-
// disable signature check
24-
#define disable_signature_check_patch 0x006C4C00
25-
26-
// enable debug RIFs
27-
#define enable_debug_rifs_patch1 0x0064E930
28-
#define enable_debug_rifs_patch2 0x0064E960
29-
30-
// allow sys_dynlib_dlsym in all processes
31-
#define sys_dynlib_dlsym_patch1 0x00213088
32-
#define sys_dynlib_dlsym_patch2 0x002DAB60
33-
34-
// disable some check for mmap
35-
#define vm_map_protect_check 0x0047B2EC
36-
37-
// enable debug log
38-
#define enable_debug_log_patch 0x00450F67
39-
40-
// enable uart output
41-
#define enable_uart_patch 0x01A3BCA0
42-
1+
#ifndef __OFFSETS_H__
2+
#define __OFFSETS_H__
3+
#pragma once
4+
5+
// 10.50
6+
#define XFAST_SYSCALL_addr 0x000001C0
7+
8+
// Names - Data
9+
#define PRISON0_addr 0x0111B910
10+
#define ROOTVNODE_addr 0x01BF81F0
11+
#define PMAP_STORE_addr 0x01B2CEE0
12+
#define DT_HASH_SEGMENT_addr 0x00CE7008
13+
14+
// Functions
15+
#define pmap_protect_addr 0x00046EF0
16+
#define pmap_protect_p_addr 0x00046F37
17+
18+
// Patches
19+
// debug menu error
20+
#define debug_menu_error_patch1 0x004E6DA8
21+
#define debug_menu_error_patch2 0x004E7E6E
22+
23+
// disable signature check
24+
#define disable_signature_check_patch 0x006C4C00
25+
26+
// enable debug RIFs
27+
#define enable_debug_rifs_patch1 0x0064E930
28+
#define enable_debug_rifs_patch2 0x0064E960
29+
30+
// allow sys_dynlib_dlsym in all processes
31+
#define sys_dynlib_dlsym_patch1 0x00213088
32+
#define sys_dynlib_dlsym_patch2 0x002DAB60
33+
34+
// patch sys_mmap to allow rwx mappings
35+
#define sys_mmap_patch 0x0019C42A
36+
37+
// disable some check for mmap
38+
#define vm_map_protect_check 0x0047B2EC
39+
40+
// enable debug log
41+
#define enable_debug_log_patch 0x00450F67
42+
43+
// enable uart output
44+
#define enable_uart_patch 0x01A3BCA0
45+
4346
#endif

installer/include/offsets/1070-1071.h

+45-42
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,46 @@
1-
#ifndef __OFFSETS_H__
2-
#define __OFFSETS_H__
3-
#pragma once
4-
5-
// 10.70 - 10.71
6-
#define XFAST_SYSCALL_addr 0x000001C0
7-
8-
// Names - Data
9-
#define PRISON0_addr 0x0111B910
10-
#define ROOTVNODE_addr 0x01BF81F0
11-
#define PMAP_STORE_addr 0x01B2CEE0
12-
#define DT_HASH_SEGMENT_addr 0x00CE7008
13-
14-
// Functions
15-
#define pmap_protect_addr 0x00046EF0
16-
#define pmap_protect_p_addr 0x00046F37
17-
18-
// Patches
19-
// debug menu error
20-
#define debug_menu_error_patch1 0x004E6DA8
21-
#define debug_menu_error_patch2 0x004E7E6E
22-
23-
// disable signature check
24-
#define disable_signature_check_patch 0x006C4C00
25-
26-
// enable debug RIFs
27-
#define enable_debug_rifs_patch1 0x0064E930
28-
#define enable_debug_rifs_patch2 0x0064E960
29-
30-
// allow sys_dynlib_dlsym in all processes
31-
#define sys_dynlib_dlsym_patch1 0x00213088
32-
#define sys_dynlib_dlsym_patch2 0x002DAB60
33-
34-
// disable some check for mmap
35-
#define vm_map_protect_check 0x0047B2EC
36-
37-
// enable debug log
38-
#define enable_debug_log_patch 0x00450F67
39-
40-
// enable uart output
41-
#define enable_uart_patch 0x01A3BCA0
42-
1+
#ifndef __OFFSETS_H__
2+
#define __OFFSETS_H__
3+
#pragma once
4+
5+
// 10.70 - 10.71
6+
#define XFAST_SYSCALL_addr 0x000001C0
7+
8+
// Names - Data
9+
#define PRISON0_addr 0x0111B910
10+
#define ROOTVNODE_addr 0x01BF81F0
11+
#define PMAP_STORE_addr 0x01B2CEE0
12+
#define DT_HASH_SEGMENT_addr 0x00CE7008
13+
14+
// Functions
15+
#define pmap_protect_addr 0x00046EF0
16+
#define pmap_protect_p_addr 0x00046F37
17+
18+
// Patches
19+
// debug menu error
20+
#define debug_menu_error_patch1 0x004E6DA8
21+
#define debug_menu_error_patch2 0x004E7E6E
22+
23+
// disable signature check
24+
#define disable_signature_check_patch 0x006C4C00
25+
26+
// enable debug RIFs
27+
#define enable_debug_rifs_patch1 0x0064E930
28+
#define enable_debug_rifs_patch2 0x0064E960
29+
30+
// allow sys_dynlib_dlsym in all processes
31+
#define sys_dynlib_dlsym_patch1 0x00213088
32+
#define sys_dynlib_dlsym_patch2 0x002DAB60
33+
34+
// patch sys_mmap to allow rwx mappings
35+
#define sys_mmap_patch 0x0019C42A
36+
37+
// disable some check for mmap
38+
#define vm_map_protect_check 0x0047B2EC
39+
40+
// enable debug log
41+
#define enable_debug_log_patch 0x00450F67
42+
43+
// enable uart output
44+
#define enable_uart_patch 0x01A3BCA0
45+
4346
#endif

0 commit comments

Comments
 (0)