GithubHelp home page GithubHelp logo

Comments (5)

solohsu avatar solohsu commented on August 20, 2024 2

谢谢,已经实现了

Can you share or maybe open a pull request please?

from riru.

RikkaW avatar RikkaW commented on August 20, 2024

理论上说完美的 hook Java 要用和那些热修复一样的技术。
如果退一步,只使用 Java 的动态代理(虽然范围很有限但是也能做很多事情),那问题会只剩一个如何加载 dex,这一点之前试过,但还不能做到在加载应用自己的 dex 之前就加载自己的 dex,等以后解决了会放出方法。

from riru.

makegame007 avatar makegame007 commented on August 20, 2024

谢谢,已经实现了

from riru.

Lua12138 avatar Lua12138 commented on August 20, 2024

退一步,只使用 Java 的动态代理(虽然范围很有限但是

经过尝试,nativeForkAndSpecializePost方法的回调中,其实目标程序已经运行起来了,这个时候开始hook,某些方法就hook不到了,例如Application.<init>,而如果在nativeForkAndSpecializePre回调中,则还没有fork出子进程,目标应用的dex还没有被加载。

这个情况就有点尴尬。

from riru.

BaeBae33 avatar BaeBae33 commented on August 20, 2024

参考[https://github.com/eritpchy/FingerprintPay/blob/aa24627428ddb595c0f7e2cdb58d8d0364b20a28/riru/src/cpp/fingerprint.cpp#L130-L159]可以实现

from riru.

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.