Closed illnino closed 3 years ago
Hi!
I never tried Brida with emulator (I usually use real devices).
Currently I'm very busy but I will try with an emulator and I will let you know.
Federico
Hi @illnino and @federicodotta
I have another issue with GenyMotion
**** Console cleared successfully **** Pyro server started correctly frida-compile completed successfully Exception with spawn application net.razorvine.pyro.PyroException: [frida.ExecutableNotFoundError] unable to find executable at 'md.XXXX.XXXXX' net.razorvine.pyro.serializer.PyroExceptionSerpent.FromSerpentDict(PyroExceptionSerpent.java:32) net.razorvine.pyro.serializer.SerpentSerializer$DictConverter.convert(SerpentSerializer.java:58) net.razorvine.serpent.ObjectifyVisitor.visit(ObjectifyVisitor.java:69) net.razorvine.serpent.ast.DictNode.accept(DictNode.java:8) net.razorvine.serpent.ast.Ast.accept(Ast.java:51) net.razorvine.serpent.ast.Ast.getData(Ast.java:45) net.razorvine.pyro.serializer.SerpentSerializer.deserializeData(SerpentSerializer.java:47) net.razorvine.pyro.PyroProxy.internal_call(PyroProxy.java:272) net.razorvine.pyro.PyroProxy.call(PyroProxy.java:178) burp.BurpExtender$17.run(BurpExtender.java:2713) java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) java.base/java.lang.Thread.run(Thread.java:832)
Any idea how to fix this exception please?
Thanks!
HI @nyxman-dev,
I have not tried yet Brida with an emulator, but I'm quite sure that "Frida local" is wrong in you environment. Frida local is for local processes on your Windows/Mac/Linux operating system. You have to choose "Frida USB" if you usually run Frida with "frida -U" or remote if you usually use "frida -R".
Federico
@federicodotta I can run frida without any issue from CLI,
frida -U -f md.testapp.dev -l "D:\SOC.MD\TOOLS\GENIMOTION 3\platform-tools_r30.0.1-windows\platform-tools\fridascript.js"
I just think it's not intended to work with genymotion emulator, because if I set it to Frida USB as you mentioned, the problem persist.
Hi @nyxman-dev
There is a strange bug with Android (maybe in Frida python lib or maybe in Brida, at the moment I don't understand where it is) and the first time that you try to spawn after you start the server it gives the error "device not found". Please try to click again on "spawn" and let me know.
Federico
hi @federicodotta am facing the trouble as well. Am trying to access an Android emulator. I'm on a windows machine as well.
Using frida am able to access the android app on the android emulator as shown below. Any suggestions would be helpful
{ SOLUTION } I was facing the same problem.
Here is the fix :
After setting up everything:
Step 1:
open new terminal
run this command:
adb forward tcp:27042 tcp:27042
Step 2:
--> After that goto Brida configuration tab and change pyro port with 27042
--> Select Frida Remote
Hi,
I close the issue because it is very old and because a solution has been supplied. If the solution of @amitaknkpt did not work please reopen a new issue.
Thank you, Federico
Description
I am using GenyMotion. It has no problem by running.
However, Brida failed to launch the app.
Setting
Error Log