I installed APKTool with the included .BAT wrapper file as described on the APKTool website: https://apktool.org/docs/install
However upon running your tool I get the following error:
C:\Users\Frog\Downloads\Company Portal Rev\DISintegrity>python DISintegrity.py -apk "C:\Users\Frog\Downloads\Company Portal Rev\com.microsoft.windowsintune.companyportal-signed.apk" --apktool "C:\bin\APKTool\apktool.bat"
Extracting APK at 'C:\Users\Frog\Downloads\Company Portal Rev\com.microsoft.windowsintune.companyportal-signed.apk'. This may take some time...
An error occurred while running apktool for APK:
Error: Invalid or corrupt jarfile C:\bin\APKTool\apktool.bat
I had to pass the direct path to the JAR file despite APKTool being on my path and functional.
Here you can see that it is indeed functional as I added it into my Windows Path:
C:\Users\Frog>apktool --version
2.9.3
C:\Users\Frog>apktool
Apktool 2.9.3 - a tool for reengineering Android apk files
with smali v3.0.3 and baksmali v3.0.3
Copyright 2010 Ryszard Wiśniewski <brut.alll@gmail.com>
Copyright 2010 Connor Tumbleson <connor.tumbleson@gmail.com>
usage: apktool
-advance,--advanced Print advanced information.
-version,--version Print the version.
usage: apktool if|install-framework [options] <framework.apk>
-p,--frame-path <dir> Store framework files into <dir>.
-t,--tag <tag> Tag frameworks using <tag>.
usage: apktool d[ecode] [options] <file_apk>
-f,--force Force delete destination directory.
-o,--output <dir> The name of folder that gets written. (default: apk.out)
-p,--frame-path <dir> Use framework files located in <dir>.
-r,--no-res Do not decode resources.
-s,--no-src Do not decode sources.
-t,--frame-tag <tag> Use framework files tagged by <tag>.
usage: apktool b[uild] [options] <app_path>
-f,--force-all Skip changes detection and build all files.
-o,--output <dir> The name of apk that gets written. (default: dist/name.apk)
-p,--frame-path <dir> Use framework files located in <dir>.
For additional info, see: https://apktool.org
For smali/baksmali info, see: https://github.com/google/smali
I installed APKTool with the included .BAT wrapper file as described on the APKTool website: https://apktool.org/docs/install However upon running your tool I get the following error:
I had to pass the direct path to the JAR file despite APKTool being on my path and functional. Here you can see that it is indeed functional as I added it into my Windows Path: