shethjenil commited on
Commit
25e1c37
1 Parent(s): 5fd4c00

Upload 2 files

Browse files
Files changed (2) hide show
  1. APK_DECOMPILER.zip +3 -0
  2. main.py +5 -0
APK_DECOMPILER.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:acb33dc7836ca70e8f387b9ef77841dac5b0d29ce4d4e6427a20e79855eb66e1
3
+ size 226191928
main.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ from subprocess import Popen,DEVNULL
2
+ from tempfile import gettempdir
3
+ from tkinter.filedialog import askopenfilename
4
+ Popen(rf'java\bin\java.exe -Xms512m -Xmx2048m -cp lib/antlr-3.5.2.jar;lib/antlr-runtime-3.5.2.jar;lib/antlr4-4.9.3.jar;lib/antlr4-runtime-4.9.3.jar;lib/asm-9.5.jar;lib/asm-analysis-9.5.jar;lib/asm-commons-9.5.jar;lib/asm-tree-9.5.jar;lib/asm-util-9.5.jar;lib/d2j-base-cmd-v2.4.jar;lib/d2j-jasmin-v2.4.jar;lib/d2j-smali-v2.4.jar;lib/dex-ir-v2.4.jar;lib/dex-reader-api-v2.4.jar;lib/dex-reader-v2.4.jar;lib/dex-tools-v2.4.jar;lib/dex-translator-v2.4.jar;lib/dex-writer-v2.4.jar;lib/dx-30.0.2.jar;lib/icu4j-69.1.jar;lib/javax.json-1.0.4.jar;lib/org.abego.treelayout.core-1.0.3.jar;lib/ST4-4.3.1.jar com.googlecode.dex2jar.tools.Dex2jarCmd -o {gettempdir()}/apk_decompiler/jarfile.jar -f {askopenfilename(filetypes=[("APK Files", "*.apk")])}'.split(" "), shell=True, stdout=DEVNULL, stderr=DEVNULL).communicate()
5
+ Popen(rf"java\bin\java.exe -jar lib/jd-gui.jar {gettempdir()}/apk_decompiler/jarfile.jar".split(" "), shell=True, stdout=DEVNULL, stderr=DEVNULL).communicate()