Comments (15)
and I'm using brida version 0.2.
from brida.
Well, how Brida start Pyro ?
from brida.
Hi,
Pyro is started with a system exec, using python 2.
Have you configured correctly all the paths in the Configuration tab? Python path, Frida JS file, etc.
The Application ID is the correct one? If you try to use Frida to spawn your application from the console, does it work?
Are you using Python 2? You can't use Python 3.
Federico
from brida.
Hey @federicodotta,
I am facing the same issue. I am using Burp Suite Community edition. I am just curious to know if brida works in this version.
from brida.
Hi Chan9390,
yes, Brida works also on Burp Suite Community edition. Usually that kind of issue is caused by an error in the configurations or by a missing dependency (Pyro4, python 2, etc.)
Federico
from brida.
Hi, I checked and re-checked again.
So I'm using Python-2.7, all paths are configured correctly, the application ID is correct (I got it from frida-ps). Also, I don't know how to start my mobile apps from the console with frida.
% pip search frida
frida (11.0.1) - Inject JavaScript to explore native apps on Windows, macOS, Linux, iOS, Android, and QNX
INSTALLED: 11.0.1 (latest)
% pip search pyro4
Pyro4 (4.71) - distributed object middleware for Python (RPC)
INSTALLED: 4.71 (latest)
% python -V
Python 2.7.15
from brida.
Have you started frida-server on your mobile device? Have you configured properly the mode of connection with frida-server? (local or remote)
If yes, you can run directly Frida with the following command (with -R instead of -U if you are using remote connection with frida-server):
frida -U -f #APP_ID -l #JS_FRIDA_FILE --no-pause
from brida.
Yes frida-server server is started on the device and work properly. I use "Frida Local" for connection mode (with USB).
So I run the command manually and I got this error :
Failed to spawn: unable to handle 64-bit processes due to build configuration
Hmmm...
from brida.
Maybe you are using wrong Frida binaries :-)
Anyway, it is not an issue related to Brida. Can I close the issue?
Federico
from brida.
Yeah sure sorry for that ;)
from brida.
No problem! Have a nice day!
Federico
from brida.
Hi,
Sorry to reopen it again. But the issue persist. So running this command is ok :
$ frida -U -f xxx -l /foo/bar/scriptBrida.js --no-pause
____
/ _ | Frida 11.0.1 - A world-class dynamic instrumentation toolkit
| (_| |
> _ | Commands:
/_/ |_| help -> Displays the help system
. . . . object? -> Display information about 'object'
. . . . exit/quit -> Exit
. . . .
. . . . More info at http://www.frida.re/docs/home/
Spawned `xxx`. Resuming main thread!
[HTC HTC U Ultra::xxx]->
Then I executed the following command :
$ python -i /foo/bar/bridaServicePyro.py 127.0.0.1 9999
Ready.
But still, using burp I got the same exception :
Exception starting Pyro server java.util.concurrent.TimeoutException java.util.concurrent.FutureTask.get(FutureTask.java:205) burp.BurpExtender.launchPyroServer(BurpExtender.java:914) burp.BurpExtender.actionPerformed(BurpExtender.java:1367) javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) java.awt.Component.processMouseEvent(Component.java:6533) javax.swing.JComponent.processMouseEvent(JComponent.java:3324) java.awt.Component.processEvent(Component.java:6298) java.awt.Container.processEvent(Container.java:2236) java.awt.Component.dispatchEventImpl(Component.java:4889) java.awt.Container.dispatchEventImpl(Container.java:2294) java.awt.Component.dispatchEvent(Component.java:4711) java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888) java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525) java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466) java.awt.Container.dispatchEventImpl(Container.java:2280) java.awt.Window.dispatchEventImpl(Window.java:2746) java.awt.Component.dispatchEvent(Component.java:4711) java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) java.awt.EventQueue.access$500(EventQueue.java:97) java.awt.EventQueue$3.run(EventQueue.java:709) java.awt.EventQueue$3.run(EventQueue.java:703) java.security.AccessController.doPrivileged(Native Method) java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90) java.awt.EventQueue$4.run(EventQueue.java:731) java.awt.EventQueue$4.run(EventQueue.java:729) java.security.AccessController.doPrivileged(Native Method) java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) java.awt.EventQueue.dispatchEvent(EventQueue.java:728) java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
So now I don't really know where to dig :(
Ideas ?
from brida.
Hi! You obtain that exception when Brida can not start or reach Pyro server. Check again all configuration paths. Maybe there is an error in the configuration.
from brida.
Hi @federicodotta,
Well that's the problem, there is not so much stuff to check and I already like 10 thousands times. Also, I look at source code to get an idea of what you are doing and as you see on my previous post I did the same command that Brida is doing and it works. So, what I should check exactly ?
from brida.
hi @janemba
i had the same issue, i tried to use frida-server-arm64. and now it's work correctly.
from brida.
Related Issues (20)
- 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
- If I enable the hook crypto stuff option, burp suite crashes. HOT 3
- Parameter cannot be passed HOT 1
- Cant use inspect or inspect with backtrace HOT 1
- Kill server button not working HOT 1
- How to install Brida Frida etc
- Error during frida-compile, potentially caused by compilation errors. Aborting. HOT 1
- Failed Get Result Custom Plugin HOT 5
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.