
Инструмент на основе Frida, который портирует MonoDataCollector из Cheat Engine на Android и iOS, обеспечивая сбор данных Mono/IL2CPP во время выполнения и инспекцию памяти мобильных приложений.
Портирование monodatacollector из CE на android/ios.
Работа подтверждена с CEVersion 7.4.2 или более поздней.
Установите библиотеку python.
pip install pywin32
Исправление autorun/monoscript.lua (настройка для распознавания Mono в CE как допустимого)
--[[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]]
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
Запустите frida-server на устройстве и запустите приложение.
python main.py com.DefaultCompany.Sample
Запустите ceserver и выберите приложение, которое вы запустили.
adb forward tcp:52736 tcp:52736
su -c ./ceserver
Настройка Mono в CE
Mono => Activate mono features
Если указать его, то не нужно указывать имя целевого приложения в аргументе.
android:Android
ios:iOS
spawn:режим spawn
attach:режим attach
Для подключения к frida-server по сети.
пример:
./frida-server -l 0.0.0.0:12345
frida_server_ip:"192.168.11.3:12345"