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

fix: skip files that attempt to break filesystem #3238

Merged
merged 1 commit into from
Jul 30, 2023
Merged

Conversation

iBotPeaches
Copy link
Owner

@iBotPeaches iBotPeaches commented Jul 30, 2023

This adds support to fix disassembly of applications with mega long filenames.

Refs: #3236

➜  3236 apktool d Env145-Vip.apk -s -f
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
I: Using Apktool 2.8.2-22eb80-SNAPSHOT on Env145-Vip.apk
I: Loading resource table...
I: Decoding file-resources...
I: Loading resource table from file: /home/ibotpeaches/.local/share/apktool/framework/1.apk
I: Decoding values */* XMLs...
I: Decoding AndroidManifest.xml with resources...
W: Unknown chunk type at: (0x0000cf18) skipping...
W: AXML hit unexpected end of file at byte: 0xCF18
I: Regular manifest package...
[Fatal Error] :1:1: Premature end of file.
I: Copying raw classes.dex file...
I: Copying raw classes2.dex file...
I: Copying raw classes3.dex file...
I: Copying raw classes4.dex file...
I: Copying assets and libs...
W: Skipping file VTwFsRjHTdAsemfqAdGAOlSqIOKGVybLMWZGfWHKMxNnHlKPBICHKcOBgvdVGCfUsQWAAhrtNCEnlzWayIVJrkUlSgOeIfIRvaDRmvtzmqwtQNbokPAmHbVjWnjHJsBiErhdNclptzFumnKpSBBwiNSbzeRTYFpINZrWDuIgcLqjhaXDiPDKPpomNJisobZMMoccqHQqAmBrmelrYTVVGxqIhHpbaYdDiOaZnAhEjnFbwlHdjcNNrHqoahzQJGeGQJdWQkSBqihqMFWFNuDEqnLYcLLqolhhkJuxihDLHpVpdiTWMXUmasaObRqjhQZVIFOIHl (File name too long)
W: Skipping file ¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½//¦ª¦û¦½/¦ª¦û¦½/ۦۖ۫t/ۦۖ۫/ۦۖ۫/ۦۖ۫/ۦۖ۫/ۦۖ۫/ۦۖ۫/ۦۖ۫/ۦۖ۫ۦۖ۫/ۦۖ۫/ۦۖ۫/ۦۖ۫/ۦۖ۫/ۦۖ۫/ۦۖ۫/ۦۖ۫/ۦۖ۫/est/aasdfsfs/fdsafa/sadfsa/addsfsdd/a/asfsf/sfdsa/adddddd/dddd/asfa/a/dddddda/dsafsa/sfasdfsfds/sadfs/a/sdfs/dsfdsasdafsda/fasdfsa//a/a/a/a/a//a/a/a/a//a/a//a/a/a/a/a/a//a/a/a/a//a/a/a//a/a/a/a///a/a/a///a/a//a/a/a/a//a//a///a/a/a/a/a/a/a/a//a/a/adddddd/dddddddddddddddd/ddddda/a/gKQgpAUzeNjQKfEJdzPYnOxVULdVsITUcrChjirQSheiTxJUoCqNFzPaqpKEUjPdHygzrFwkdOCaPkBqLRJXIhDilUNaPBNxwXmlGKseyACFKdtantYXcHTxWQkvubEY (File name too long)
I: Copying unknown files...
I: Copying original files...
➜  3236 

@iBotPeaches iBotPeaches marked this pull request as ready for review July 30, 2023 20:38
@iBotPeaches iBotPeaches merged commit 81d6040 into master Jul 30, 2023
31 checks passed
@iBotPeaches iBotPeaches deleted the issue-3236-file branch July 30, 2023 21:32
@iBotPeaches iBotPeaches added this to the v2.8.2 milestone Aug 1, 2023
iBotPeaches added a commit that referenced this pull request Aug 1, 2023
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 this pull request may close these issues.

None yet

1 participant