mirror of
https://github.com/httptoolkit/frida-interception-and-unpinning.git
synced 2026-10-01 21:42:10 +02:00
Merge pull request #145 from acomerlatto/main
fix(native-connect-hook): adjust scope of `systemModule` declaration
This commit is contained in:
@@ -29,9 +29,9 @@
|
||||
? 4
|
||||
: 2048; // Linux/Android
|
||||
|
||||
let fcntl, send, recv;
|
||||
let systemModule, fcntl, send, recv;
|
||||
try {
|
||||
const systemModule = Process.findModuleByName('libc.so') ?? // Android
|
||||
systemModule = Process.findModuleByName('libc.so') ?? // Android
|
||||
Process.findModuleByName('libc.so.6') ?? // Linux
|
||||
Process.findModuleByName('libsystem_kernel.dylib'); // iOS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user