Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9e95289

Browse files
authored
Update deoptfuscator.py
1 parentb74afa7 commit9e95289

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

‎deoptfuscator.py‎

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,12 @@
2323
deobfuscator.main(".apk/"+dex)
2424
os.system("$TOOLS/redex-all -c $TOOLS/default.config .apk/const/const.dex -o .apk/const")
2525
print("$TOOLS/redex-all .apk/const/const.dex -o .apk/const")
26-
#os.system("$TOOLS/redex-all -c $TOOLS/default.config .apk/const/const.dex -o .apk/const")
27-
#print("$TOOLS/redex-all -c $TOOLS/default.config .apk/const/const.dex -o .apk/const")
2826
os.system("mv .apk/const/classes.dex .apk/"+dex)
27+
2928
apk_name=apk_name.replace(".apk","_deobfuscated.apk")
3029
apk_name=os.path.basename(apk_name)
3130
os.system("java -jar $TOOLS/apktool.jar b ./.apk -o "+apk_name)
3231

3332
os.system("zipalign -f -v 4 "+apk_name+" "+apk_name.replace(".apk","_align.apk"))
3433
os.system("apksigner sign --ks deoptfuscator.keystore --ks-pass pass:123456 "+apk_name.replace(".apk","_align.apk"))
35-
#outfile = apk_name.replace(".apk", "_align.apk")
36-
#os.system("mv " + outfile + " " + outpath)
3734
os.system("rm -rf "+apk_name)
38-
#os.system("rm -rf " + apk_name + " .std* .pro*")
39-
#os.system("rm -rf .apk")
40-
41-
42-
#file = '/home/hbryu/Desktop/deoptfuscator/.profile'
43-
#file_size = getsize(file)
44-
#if file_size != 0:
45-
#os.system('cp .profile ~/Desktop/dataset/AndroZoo_profile' + apk_name + '_profile')

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp