Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gmh5225/frida-il2cpp-datacollector
Porting ce's monodatacollector to android/ios.
https://github.com/gmh5225/frida-il2cpp-datacollector
Last synced: 3 months ago
JSON representation
Porting ce's monodatacollector to android/ios.
- Host: GitHub
- URL: https://github.com/gmh5225/frida-il2cpp-datacollector
- Owner: gmh5225
- License: gpl-3.0
- Created: 2022-10-08T01:26:10.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-07T22:46:20.000Z (about 2 years ago)
- Last Synced: 2024-06-16T02:42:55.604Z (5 months ago)
- Homepage:
- Size: 20.5 KB
- Stars: 12
- Watchers: 1
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-game-security - Porting ce's monodatacollector to android/ios
README
# 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
endif (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
```# 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"`