root detection
Uncrackable 1 - Root Detection
앱 정보 앱을 실행시켜보면 다음 그림과 같이 "Root detected"라는 창이 생기고 OK 버튼을 누르면 앱이 종료되는 것을 확인할 수 있다. 앱 분석 onCreate() public void onCreate(Bundle bundle) { if (c.a() || c.b() || c.c()) { a("Root detected!"); } if (b.a(getApplicationContext())) { a("App is debuggable!"); } super.onCreate(bundle); setContentView(R.layout.activity_main); } public class c { public static boolean a() { for (String file : System.getenv("..
Root Detection
Analysis OS 변조 탐지 기능 적용 유무를 확인하기 위한 기능이다. CHECK ROOT 버튼을 누르면 루팅 여부에 따라 "Device is rooted" or "Device is not rooted"라는 문자를 출력한다. 실제 테스트 하는 기기는 루팅 된 기기이기 때문에 다음과 같이 "Device is rooted"라는 문자열을 출력하는 것을 확인할 수 있다. Code RootDetectionActivity$onCreate$1 final class RootDetectionActivity$onCreate$1 implements View.OnClickListener { final /* synthetic */ RootDetectionActivity this$0; RootDetectionActivity$..