Skip to content

I want to use frida in electron, /frida_binding.node, 1): Symbol not found: _X509_INFO_free #44

Description

@lakxtxue

I am looking for a hook tool for my electron application, I found frida, I like it very much, but I don't have much experience.
I am in the electron application, just a simple const frida = require('frida');
I got it 1): Symbol not found: _X509_INFO_free
The version of my electron is 7.0.0, but I also tried electron 5.0.0, the same issue.
I am operating on a macos 10.14.6 system

I am trying to run in node mode

Const frida = require('frida');
Console.log(frida)

Normal output as follows

{
  DeviceManager: [Function: DeviceManager],
  Device: [Function: Device],
  DeviceType: { Local: 'local', Remote: 'remote', Usb: 'usb' },
  Stdio: { Inherit: 'inherit', Pipe: 'pipe' },
  Session: [Function: Session],
  SessionDetachReason: {
    ApplicationRequested: 'application-requested',
    ProcessReplaced: 'process-replaced',
    ProcessTerminated: 'process-terminated',
    ServerTerminated: 'server-terminated',
    DeviceLost: 'device-lost'
  },
  Script: [Function: Script],
  ScriptRuntime: { Default: 'default', Duk: 'duk', V8: 'v8' },
  MessageType: { Send: 'send', Error: 'error' },
  LogLevel: { Info: 'info', Warning: 'warning', Error: 'error' },
  IOStream: [Function: IOStream],
  Cancellable: [Function: Cancellable],
  ChildOrigin: { Fork: 'fork', Exec: 'exec', Spawn: 'spawn' },
  spawn: [AsyncFunction: spawn],
  resume: [AsyncFunction: resume],
  kill: [AsyncFunction: kill],
  attach: [AsyncFunction: attach],
  injectLibraryFile: [AsyncFunction: injectLibraryFile],
  injectLibraryBlob: [AsyncFunction: injectLibraryBlob],
  enumerateDevices: [AsyncFunction: enumerateDevices],
  getDeviceManager: [Function: getDeviceManager],
  getLocalDevice: [Function: getLocalDevice],
  getRemoteDevice: [Function: getRemoteDevice],
  getUsbDevice: [Function: getUsbDevice],
  getDevice: [Function: getDevice]
}

This phenomenon seems to be incompatible with electron? Did I miss something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions