Comments (28)
Hi! The solution for you problema on Mac should be the one described here:
https://dani.gg/467-add-usr-local-bin-to-the-path-variable-on-mac-os/
I'm implementing also the support for virtual envs on Brida. I will make some notes on the Wiki when the feature will be ready.
Federico
from brida.
Hi chanpu9,
another user had your same issue and fixed by uninstalling and reinstalling the node environment. I don't know on what OS are you working but maybe you can try to remove node and reinstall node from the official installer https://nodejs.org/en/download/
Federico
from brida.
Federico,
My OS is macOS Catalina. I have uninstalled node and reinstalled from the official (https://nodejs.org/en/download/) but it is still the same:
env: node: No such file or directory
Error during frida-compile. Aborting.
from brida.
Another user had your same issue on MacOS with node but he fixed reinstalling node. You can find the thread here:
I wrote in this thread a message to him by asking how he solved.
from brida.
Hi @chanpu9,
I did some researches and I discovered that MacOS has different $PATH environment variables for terminal application and for GUI applications. Probably you have the correct environment variable for frida-compile on the terminal but not for the GUI applications. (unfortunately I haven't a MacOS system)
Have a look on this:
https://stackoverflow.com/questions/135688/setting-environment-variables-on-os-x
And let me know if in this way you solve the issue.
Federico
from brida.
This method does not work:
Windows:This problem also exists
The current solution is: manually perform the compilation
from brida.
Modify the source code so that it does not execute:
Temporary method: manually compile the file:
Run successfully:
from brida.
Hi @cq-feng,
From you screenshot you add to the PATH all the binary folders (/usr/local/bin, etc.), but node binary is in those folders? Because frida-compile fail to run node binary. Do you have "node" binary in the folders you added to PATH?
from brida.
Hi @cq-feng,
From you screenshot you add to the PATH all the binary folders (/usr/local/bin, etc.), but node binary is in those folders? Because frida-compile fail to run node binary. Do you have "node" binary in the folders you added to PATH?
Restarted the system:
from brida.
Uhmm... It's very strange... I will ask to some friends with a MacOS to do a check in the next days and I will be back on you
A question: do you have whitespaces in the obfuscated part of the paths? Or some non-ASCII characters?
from brida.
https://dani.gg/467-add-usr-local-bin-to-the-path-variable-on-mac-os/
from brida.
Great! Do you try this solution? Is it working?
from brida.
Macos 10.15, Does not support APP to set global variables
from brida.
Uhm, OK... I build a Brida binary in which I replaced frida-compile exec to "source ~/.profile; frida-compile". Can you try to add /usr/local/bin to your ~/.profile file and then try with this release?
Brida-0.4-jar-with-dependencies.jar.zip
Thank you!
from brida.
from brida.
The above method is still invalid,macos 10.15.4
from brida.
https://dani.gg/467-add-usr-local-bin-to-the-path-variable-on-mac-os/
It works!!!!
from brida.
Great @Neo01010 !
@CTF-MissFeng, @Neo01010 just wrote that the method you posted here works on MacOs 10.15. Is this method working for you too?
Thank you,
Federico
from brida.
@federicodotta Just a confirmation; that solution worked for me. I haven't achieve to spawn the app but looks like that solved frida-compile problem. Thanks
from brida.
@federicodotta Sorry for late reply. I have solved this issue via https://dani.gg/467-add-usr-local-bin-to-the-path-variable-on-mac-os/. However, I found a new issue instead: java.io.IOException: Cannot run program "/usr/local/lib/node_modules/frida-compile": error=13, Permission denied, even if I have change the privilge folder: sudo chown -R $USER /usr/local/lib/node_modules/frida-compile.
from brida.
make the folder /opt/burp/brida/ writeable...
from brida.
https://dani.gg/467-add-usr-local-bin-to-the-path-variable-on-mac-os/
It works!!!!
could you share the command do you use in the terminal please.
I'm download
Brida-0.4-jar-with-dependencies.jar.zip
and try sudo launchctl config user path /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
Still not working
Exception during frida-compile java.io.IOException: Cannot run program "source": error=2, No such file or directory
Edit: now I'm use extensions frida at burp store it's work.
from brida.
I've tried the above and no luck. This is where frida-compile
is installed:
/Users/<user>/.nvm/versions/node/v12.5.0/bin/frida-compile
Both result in env: node: No such file or directory
from brida.
Hi,
I am facing an error: Please refer attached brida_console_log.txt file and attached screenshot.
how to resolve this issue?
brida_console_log.txt
from brida.
修改源代码,使其不执行:
临时方法:手动编译文件:
运行成功:
Can you add to your WeChat account? Windows doesn’t know how to solve it
from brida.
This method(https://dani.gg/467-add-usr-local-bin-to-the-path-variable-on-mac-os/ ) doesn't work on me(mac os 11.0.1 Big Sur)
can anyone help me?
from brida.
This method(https://dani.gg/467-add-usr-local-bin-to-the-path-variable-on-mac-os/ ) doesn't work on me(mac os 11.0.1 Big Sur)
can anyone help me?
I try to run burp with root or sudo grant ,that works~ Done
from brida.
Hi,
I close the issue because a solution has been provided. I added the solution also in the Wiki at the following page:
Please open a new issue if you still have problems.
Thank you,
Federico
from brida.
Related Issues (20)
- cannot process Chinese characters HOT 1
- to add -D flag to choose device while calling frida HOT 3
- Brida 0.5 - Exception with attach application HOT 3
- Is there any API in Brida? HOT 1
- Frida-compile - process is not defined HOT 1
- App spawned but error HOT 1
- unable to find method 'getplatform' HOT 2
- Why is the alarm timeout? HOT 4
- env: node: No such file or directory HOT 1
- error: unknown option '-x' HOT 6
- Exception with attach application HOT 5
- frida-compile: error: unrecognized arguments: -x
- Spawn Application function is not available HOT 5
- Custom plugin not shows encrypted or decrypted result HOT 4
- Exception with execute method HOT 9
- Exception with getting info Android/iOS HOT 6
- It will cause burpsuite to get stuck. HOT 2
- Entrypoint must be inside the project root (ERROR)
- there is an error when crypt response HOT 1
- Stop server did not work with last Java versions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brida.