๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
  • Tried. Failed. Logged.
๐Ÿ”’์ •๋ณด๋ณด์•ˆ/๋ชจ๋ฐ”์ผ ๋ณด์•ˆ

๋ชจ๋ฐ”์ผ ํ•ดํ‚น - DEX๋ฅผ jar๋กœ ์ถ”์ถœํ•˜์—ฌ class ํŒŒ์ผ๋“ค ํ™•์ธํ•˜๊ธฐ

by Janger 2021. 12. 11.
728x90

DEX๋ฅผ ๊ตฌํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” 7-zip์„ ์„ค์น˜ํ•ด์„œ APK๋ฅผ ์ถ”์ถœํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. 

 

https://www.7-zip.org/download.html

 

Download

Download .7z Any / x86 / x64 LZMA SDK: (C, C++, C#, Java)

www.7-zip.org

 

๊ทธ ๋‹ค์Œ dex ํŒŒ์ผ์„ jar๋กœ ๋ณ€ํ™˜์‹œ์ผœ์ฃผ๋Š” dex2 jar๋ฅผ ์„ค์น˜๋ฐ›์Šต๋‹ˆ๋‹ค. 

https://github.com/pxb1988/dex2jar

 

GitHub - pxb1988/dex2jar: Tools to work with android .dex and java .class files

Tools to work with android .dex and java .class files - GitHub - pxb1988/dex2jar: Tools to work with android .dex and java .class files

github.com

 

dex2jar๋ฅผ ํ™˜๊ฒฝ ๋ณ€์ˆ˜๋กœ ๋“ฑ๋ก์„ ์‹œ์ผœ ์•„๊นŒ 7-zip์œผ๋กœ DEX๋ฅผ ์ถ”์ถœํ•œ ํด๋”๋กœ ๊ฐ€์…”์„œ ์•„๋ž˜์˜ ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค. 

 

d2j-dex2jar.bat classes.dex

 

๊ทธ๋Ÿฌ๋ฉด "classes-dex2jar.jar"๋ผ๋Š” ํŒŒ์ผ์ด ์ƒˆ๋กœ ์ƒ๊ฒผ์„ ๊ฒ๋‹ˆ๋‹ค. 

 

 

์ด jar ํŒŒ์ผ์„ ๋˜ JD-GUI๋ผ๋Š” ๋„๊ตฌ๋ฅผ ํ†ตํ•ด class ํŒŒ์ผ๋“ค์˜ ์ž์„ธํ•œ ๋‚ด์šฉ์„ ์‚ดํŽด๋ณด์‹œ๋ฉด ๋ฉ๋‹ˆ๋‹ค. 

http://java-decompiler.github.io/

 

Java Decompiler

The “Java Decompiler project” aims to develop tools in order to decompile and analyze Java 5 “byte code” and the later versions. JD-GUI is a standalone graphical utility that displays Java source codes of “.class” files. You can browse the reco

java-decompiler.github.io

 

 

 

728x90