Gyoonus / deoptfuscator

Deobfuscator for Android Application
MIT License
395 stars 53 forks source link

ValueError #7

Closed MrPooyaX closed 3 years ago

MrPooyaX commented 3 years ago

location : True .apk/classes.dex Traceback (most recent call last): File "deoptfuscator.py", line 24, in deobfuscator.main(".apk/"+dex) File "deobfuscator/deobfuscator.py", line 20, in main dexfile(dex) File "deobfuscator/classes.py", line 20, in dexfile class_dic[int(num[0])] = int(num[1]) ValueError: invalid literal for int() with base 10: '45b8'

MrPooyaX commented 3 years ago

i edited line 20 of 'classes.py' and that error solved: try: class_dic[int(num[0])] = int(num[1]) except ValueError: class_dic[int(num[0], 16)] = int(num[1])

output apk not fully and correctly deobfuscated please check yourself and try to deobfuscate: http://likeg.ir/tel.apk

Gyoonus commented 3 years ago

Thank you! We eagar to solved it.

geunhayou66 commented 3 years ago

First of all, thank you for correcting the error. If you look at the below control flow graph, it becomes de-obfuscated. However, if there is a protection solution in .so files, it may not be possible to execute the app. Does it matter if the app can run or not?

제목 없음