미해결
안드로이드 루팅(Rooting) 탐지와 우회루팅 우회
루팅 우회하게 될때 우회하고나서 , 돌리게되면 찾을 수 없는 패키지 이름이라고 나오는데요.말씀하신대로 ,frida-ps -Uai 로 검색해서 패키지를 찾았구요. 패키지를 찾은 다음에import frida, sys
jscode = """
setImmediate(function() {
Java.perform(function() {
console.log("rooting..");
var exitBypass = Java.use("java.lang.System");
exitBypass.exit.implementation = function() {
console.log("[*] success");
}
});
});
"""
process = frida.get_usb_device().attach("com.example.rooting_test")
script = process.create_script(jscode)
script.load()
sys.stdin.read() 위와같이 코드를 작성하고 나서 python frida-test.py 하게 되면 frida.ProcessNotFoundError: unable to find process with name 'com.example.rooting_test'라고 나옵니다.