Skip to content

Commit 6657937

Browse files
committed
make pkgs installer working with external hdd
1 parent 295a8f6 commit 6657937

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

exploit/index.html

+1-1
Large diffs are not rendered by default.

installer/include/defines.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#ifndef __DEFINES
22
#define __DEFINES
33

4-
#define VERSION "1.6"
4+
#define VERSION "1.7"
55

66
//#define DEBUG_SOCKET
77

kpayload/include/offsets.h

+3
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,7 @@
8585
// debug pkg free string
8686
#define fake_free_patch 0xEA96A7
8787

88+
// make pkgs installer working with external hdd
89+
#define pkg_installer_patch 0x9312A1
90+
8891
#endif

kpayload/source/patch.c

+6
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,12 @@ PAYLOAD_CODE int shellcore_fpkg_patch(void)
223223
goto error;
224224
}
225225

226+
// make pkgs installer working with external hdd
227+
ret = proc_write_mem(ssc, (void *)(text_seg_base + pkg_installer_patch), 1, "\0", &n);
228+
if (ret) {
229+
goto error;
230+
}
231+
226232
error:
227233
if (entries) {
228234
dealloc(entries);

0 commit comments

Comments
 (0)