Git Product home page Git Product logo

Comments (6)

stevielavern avatar stevielavern commented on July 20, 2024 2

FYI there's an easy way to inject Frida-Gadget into a process without creating additional temporary files. Attach to it using gdb and run p dlopen("/path/to/frida-gadget.so", 2). It requires your gdb setup to handle function calls correctly, which might or might not work depending on the platform and current stack trace.

from frida-website.

simhigo avatar simhigo commented on July 20, 2024

I have same error :(

Do you solve this error?

from frida-website.

oleavr avatar oleavr commented on July 20, 2024

Fixed in the latest release (4.5.1).

from frida-website.

stevielavern avatar stevielavern commented on July 20, 2024

Still have this issue on Frida 11.0.12 for some processes on linux ARM.
Is there a way to troubleshoot the issue?

from frida-website.

oleavr avatar oleavr commented on July 20, 2024

@stevielavern This means that the target process is not able to open the FIFO that Linjector creates. The code it injects opens the FIFO here, so you could insert a jump instruction there to do an infinite loop, and then attach a debugger to it and look at errno.

from frida-website.

stevielavern avatar stevielavern commented on July 20, 2024

I was able to troubleshoot the issue. It was actually a problem from the platform where I'm running Frida. There was a Linux Security Module blocking Frida, and that was visible in dmesg with the appropriate log level. I manage to workaround the issue by adding the appropriate label to frida-gadget, and now I'm able to attach.
However, I have a similar issue when using frida-server because it creates a temporary linjector file that doesn't have the appropriate label. Is there a way not to create such temporary file when injecting with frida-server?

from frida-website.

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.