Coder Social home page Coder Social logo

Frida - Finding libil2cpp.so about sinoalice HOT 3 CLOSED

ssngoh avatar ssngoh commented on June 9, 2024
Frida - Finding libil2cpp.so

from sinoalice.

Comments (3)

Egoistically avatar Egoistically commented on June 9, 2024

Oof sorry for the late response, I do use the exact same code to get the base address so it's pretty weird you're getting null.

Here's a snippet of the code I use:

function awaitForCondition(callback) {
    var i = setInterval(function () {
        var addr = Module.findBaseAddress("libil2cpp.so");
        console.log("Adress: ", addr);
        if (addr) {
            clearInterval(i);
            callback(+addr);
        }
    }, 0);
}

var il2cpp = null;

Java.perform(function() {
    awaitForCondition(function (base) {
        il2cpp = ptr(base);
        intercept();
    })
})

function intercept() {
    var inter = il2cpp.add("0x147F014");

    Interceptor.attach(inter, {
        onEnter: function(args) {
            console.log('onEnter');
        },
        onLeave: function(retval) {
            //
        }
    });
};

from sinoalice.

ssngoh avatar ssngoh commented on June 9, 2024

Thanks for the reply!
I found out that the reason I am getting null could be because I am using a rooted bluestacks instead of an actual phone. (Didn't really want to root my phone, so I went to root the emulator instead)

May I know if you are using an emulator or a rooted phone?

from sinoalice.

Egoistically avatar Egoistically commented on June 9, 2024

An old rooted phone of mine, tried using BlueStacks as well for ease of use but after multiple hours tinkering I couldn't get it working.
Although it must be said that was over half a year ago, so the situation might've changed.

As a side note, if you want a smoother communication we can talk on Discord, my id is on the README.

from sinoalice.

Related Issues (1)

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.