Code Monkey home page Code Monkey logo

Comments (11)

federicodotta avatar federicodotta commented on July 4, 2024

frida-compile requires nodejs to work. From the error it seems that the frida-compile executable could not find node binary. Have you tried to use frida-compile from command line? Is it working?

from brida.

Rick11929 avatar Rick11929 commented on July 4, 2024

@federicodotta , Hi, thank you for your reply , the frida-compile command is working in my terminal

➜ [/Users/isr] which frida-compile
/usr/local/bin/frida-compile
➜ [/Users/isr] frida-compile -h
Usage: frida-compile [options]

Options:
-V, --version output the version number
-o, --output set output
-w, --watch watch for changes and recompile
-b, --bytecode output bytecode
-x, --no-babelify skip Babel transforms
-X, --no-esmify used with -x to also skip esmify transforms
-L, --loose enable loose Babel transformations
-S, --no-sourcemap omit sourcemap
-c, --compress compress using UglifyJS2
-a, --use-absolute-paths use absolute source paths
-h, --help output usage information

from brida.

federicodotta avatar federicodotta commented on July 4, 2024

Please try the following command from the shell:
/usr/local/bin/frida-compile -x -o /Users/isr/Brida/res/bridaGeneratedCompiledOutput.js /Users/isr/Brida/res/brida.js

Is it working?

from brida.

Rick11929 avatar Rick11929 commented on July 4, 2024

@federicodotta ,hi , it's working
image

from brida.

federicodotta avatar federicodotta commented on July 4, 2024

It seems to be a visibility problem of your node binary. From the error, Brida seems to execute the frida-compile binary, but the frida-compile binary seems unable to reach node binary. By googling there are many node users that suffer from the same issue. Maybe you can try to remove node and reinstall node from the official installer https://nodejs.org/en/download/

from brida.

Rick11929 avatar Rick11929 commented on July 4, 2024

@federicodotta , reinstall the node env and fix this issue , thx

from brida.

federicodotta avatar federicodotta commented on July 4, 2024

Great!

@Rick11929 how do you fix the issue? Because another user on MacOS has the same issue and maybe your solution can help him.

Thank you,
Federico

from brida.

decart-hub avatar decart-hub commented on July 4, 2024

Please try the following command from the shell:
/usr/local/bin/frida-compile -x -o /Users/isr/Brida/res/bridaGeneratedCompiledOutput.js /Users/isr/Brida/res/brida.js

Is it working?

That did the trick in my case. Thanks @federicodotta

from brida.

federicodotta avatar federicodotta commented on July 4, 2024

Hi @decart-hub

If you are working on a Mac you can try this:

https://dani.gg/467-add-usr-local-bin-to-the-path-variable-on-mac-os/

The issue is caused by the environment variables on mac and Brida don't find the node js executable. Let me know if this solve your issue!

Federico

from brida.

24h7d avatar 24h7d commented on July 4, 2024

I have same problem, running with my linux.
after installing frida-compile with npm command, I try running it. in Burp, starting server is OK then that error come up.

I try which frida-compile
frida-compile not found

how can we fix this?
thanks

from brida.

Sahabalam avatar Sahabalam commented on July 4, 2024

sudo apt-get install npm
sudo npm install -g frida-complile

try this

from brida.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.