본문 바로가기
반응형
[Android] smali code 디버깅 방법 apk파일을 디컴파일하여 나온 smali code를 분석하다 보면 변수값이나 코드 흐름등을 파악하기 위해 로그를 넣고 싶은 경우가 있습니다. 검색을 해 보니 이런경우에 사용할 수 있는 좋은 내용인듯 하여 스크립 해 놓습니다. How to debug smali code of an android application? I have a working android application. of which i dont have a source code. I would like to debug a functionality of this application. I could successfully reverse engineer this application apk file... stackoverflow.com 1. .. 2021. 1. 8.
[안드로이드] 디컴파일을 통한 crackme0.apk 크랙 - 방법1 APK의 디컴파일과 리컴파일 하는 방법을 알았으니 이제 연습용 APK를 사용하여 테스트 해 보도록 하겠습니다. 아래 사이트에서는 연습용 apk를 제공해 주고 있습니다. way of the android cracker these are some tutorials i've written to get people started with android cracking. way of the android cracker 0 this covers the essentia... androidcracking.blogspot.com 위 사이트를 접속하면 메인에 "way of the android cracker 0"와 "way of the android cracker 1" 2가지가 있는데 0번이 1번보다 조금 더 난이도가 있.. 2020. 12. 21.
[안드로이드] 어플리케이션 디컴파일 및 리컴파일하는 방법 인터넷을 검색하다가 보니 안드로이드 앱이 디컴파일 및 리컴파일이 된다는 게시글을 보고 한번 해 보기로 했습니다. ( 참고한 사이트 : http://forum.xda-developers.com/showthread.php?t=2195680 ) 위 사이트에서 필요한 툴을 받아서 압축을 해제합니다. 원본 apktool은 http://ibotpeaches.github.io/Apktool 에서 받을 수 있습니다. 우선 androidstudio에서 디버깅시 많이 사용하는 Log API를 사용하여 2개의 로그를 찍는 간단한 안드로이드용 어플리케이션을 아래와 같이 코딩하였습니다. APK를 생성하면 app-release.apk가 생성되는데 위의 압축을 푼 디렉토리로 copy해 넣습니다. "apktool d app-rele.. 2020. 12. 20.
반응형