Coder Social home page Coder Social logo

frida-il2cpp-datacollector's Introduction

frida-il2cpp-datacollector

Porting ce's monodatacollector to android/ios.

Operation has been confirmed with CEVersion 7.4.2 or later.

Usage

initial setting

Install python library.

pip install pywin32

Fixing autorun/monoscript.lua(Setup for CE to recognize Mono as valid)

1)comment out

  --[[local injectResult, injectError=injectLibrary(getAutorunPath()..libfolder..pathsep..dllname, skipsymbols)
  if not injectResult then
    if injectError then
      print(translate("Failure injecting the MonoDatacollector library"..":"..injectError))
    else
      print(translate("Failure injecting the MonoDatacollector library. No error given"))
    end
    return 0
  end

  if (getOperatingSystem()==0) and (getAddressSafe("MDC_ServerPipe")==nil) then
    waitForExports()
    if getAddressSafe("MDC_ServerPipe")==nil then
      print("DLL Injection failed or invalid DLL version")
      return 0
    end
  end]]

2)usermono=true

function mono_OpenProcessMT()
 -- print("mono_OpenProcessMT")
  --enumModules is faster than getAddress at OpenProcess time (No waiting for all symbols to be loaded first)
  local usesmono=true--false

basic setting

Start frida-server on the device and spawn the application.

python main.py com.DefaultCompany.Sample

Start ceserver and select the application you started.

adb forward tcp:52736 tcp:52736
su -c ./ceserver

Setting up Mono in CE

Mono => Activate mono features

mono

Config

target

If you specify it, you don't need to specify the name of the target app in the argument.

targetOS

android:Android
ios:iOS

mode

spawn:spawn mode
attach:attach mode

frida_server_ip

To connect to frida-server over the network.
example:
./frida-server -l 0.0.0.0:12345
frida_server_ip:"192.168.11.3:12345"

frida-il2cpp-datacollector's People

Contributors

doranekosystems avatar

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.