Open sushi2k opened 5 years ago
After trying to rebuild I got the following error
I did a manual gradlew in the android project directory and printed the stracktrace:
$ ./gradlew build --stacktrace
...
]== "CMake Server" ==]
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
So I installed Ninja via brew:
$ brew install ninja
Now I can build and install the app, but Frida is not detected (even though the app is now running on a rooted device with frida server running.
[17:05 edu@unix debug] > adb logcat -s FridaDetectionTest
04-02 17:59:12.085 9036 9058 V FridaDetectionTest: FRIDA DETECTED [1] - frida server running on port 27042!
It seems that the assembly syscalls need a bit of massage. Got this working by using libc wrappers instead of assembly syscalls.
Thanks! Can you share your fix as PR?
Basically this replacement s/myopenat/open/g
and s/my_open/open/g
. Getting rid of the assembly syscalls
I am getting the following error after checking out the repo, opening it in Android Studio and when trying to build the app: