Skip to content
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] #2908

Closed
isimsizolan opened this issue Oct 19, 2022 · 0 comments · Fixed by #2926
Closed

[BUG] #2908

isimsizolan opened this issue Oct 19, 2022 · 0 comments · Fixed by #2926

Comments

@isimsizolan
Copy link

WARNING: This apk is malware, i have many samples that produces same error.
Zip password is: infected

Information

  1. Apktool Version (apktool -version) - 2.6.1
  2. Operating System (Mac, Linux, Windows) - win10
  3. APK From? (Playstore, ROM, Other) - Other

Stacktrace/Logcat

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.DirectoryException: Error copying file: ??   .xml
        at brut.androlib.Androlib.decodeUnknownFiles(Androlib.java:223)
        at brut.androlib.ApkDecoder.decode(ApkDecoder.java:167)
        at brut.apktool.Main.cmdDecode(Main.java:175)
        at brut.apktool.Main.main(Main.java:79)
Caused by: brut.directory.DirectoryException: Error copying file: ??    .xml
        at brut.directory.DirUtil.copyToDir(DirUtil.java:99)
        at brut.directory.AbstractDirectory.copyToDir(AbstractDirectory.java:208)
        at brut.androlib.Androlib.decodeUnknownFiles(Androlib.java:216)
        ... 3 more
Caused by: java.io.FileNotFoundException: R:\b139db6e-70b9-4a0e-bded-333782919f8f\unknown\??    .xml (The filename, directory name, or volume label syntax is incorrect)
        at java.io.FileOutputStream.open0(Native Method)
        at java.io.FileOutputStream.open(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at java.io.FileOutputStream.<init>(Unknown Source)
        at brut.directory.DirUtil.copyToDir(DirUtil.java:94)
        ... 5 more

Steps to Reproduce

  1. apktool d -q --no-assets --no-res -o

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.

Questions to ask before submission

  1. Have you tried apktool d, apktool b without changing anything? yes
  2. If you are trying to install a modified apk, did you resign it? no?
  3. Are you using the latest apktool version? yes

c952fd44bd3c39351d73d39d9715a102.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant