python反編譯apk文件

python3反編譯apk文件

import os

#apk path
apkPath = input('Please input Apk file path:')

#output file path
outPath = (apkPath.split('.')[0]+'New')

#use apktool
cmd = 'apktool d -f '+apkPath+' -o '+outPath
print('--------Start Working with apktool--------')
os.system(cmd)
print('-----------------------------\nwork all done,output file in:\n'
      +outPath+'\n-----------------------------')
os.system('pause')

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章