porting_tool: fix wrong module name

This commit is contained in:
Sergey Lisov committed 2024-01-07 03:19:49 +03:00
1 parent 66496a1fa3
commit f2505ce5ea
1 file changed
+1 -1
+1 -1
View File
@@ -217,7 +217,7 @@ def mini_syscore_header():
kernel, kdata_base = get_kernel()
gdb.use_r0gdb(R0GDB_FLAGS)
try: remote_fd = gdb.ieval('(int)open("/mini-syscore.elf", 0)')
except gdb.DisconnectedException:
except gdb_rpc.DisconnectedException:
message = ('''\
You probably have wrong OFFSET_KERNEL_DATA_BASE_ROOTVNODE in the WebKit exploit. Fix this before proceeding.
The correct offset is probably '''+hex(symbols['rootvnode'])).split('\n')