Diggy icon indicating copy to clipboard operation
Diggy copied to clipboard

Removed all files from the directory

Open ghost opened this issue 5 years ago • 4 comments
trafficstars

Used it simply on an already decompiled apk and it went to delete all the files from that directory and threw this error -

./diggy.sh: line 29: -4: substring expression < 0 [!] Looks like this apk has been decompiled already. [?] Decompile over the existing copy? [y/N] y Decompiling the apk Exception in thread "main" brut.androlib.AndrolibException: brut.directory.DirectoryException: java.nio.file.NoSuchFileException: apk/1 at brut.androlib.ApkDecoder.hasResources(ApkDecoder.java:315) at brut.androlib.ApkDecoder.decode(ApkDecoder.java:103) at brut.apktool.Main.cmdDecode(Main.java:170) at brut.apktool.Main.main(Main.java:76) Caused by: brut.directory.DirectoryException: java.nio.file.NoSuchFileException: apk/1 at brut.directory.ZipRODirectory.(ZipRODirectory.java:55) at brut.directory.ZipRODirectory.(ZipRODirectory.java:38) at brut.directory.ExtFile.getDirectory(ExtFile.java:52) at brut.androlib.ApkDecoder.hasResources(ApkDecoder.java:313) ... 3 more Caused by: java.nio.file.NoSuchFileException: apk/1 at sun.nio.fs.UnixException.translateToIOException(java.base@9-internal/UnixException.java:92) at sun.nio.fs.UnixException.rethrowAsIOException(java.base@9-internal/UnixException.java:111) at sun.nio.fs.UnixException.rethrowAsIOException(java.base@9-internal/UnixException.java:116) at sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(java.base@9-internal/UnixFileAttributeViews.java:55) at sun.nio.fs.UnixFileSystemProvider.readAttributes(java.base@9-internal/UnixFileSystemProvider.java:145) at sun.nio.fs.LinuxFileSystemProvider.readAttributes(java.base@9-internal/LinuxFileSystemProvider.java:99) at java.nio.file.Files.readAttributes(java.base@9-internal/Files.java:1738) at java.util.zip.ZipFile$Source.get(java.base@9-internal/ZipFile.java:924) at java.util.zip.ZipFile.(java.base@9-internal/ZipFile.java:213) at java.util.zip.ZipFile.(java.base@9-internal/ZipFile.java:145) at java.util.zip.ZipFile.(java.base@9-internal/ZipFile.java:159) at brut.directory.ZipRODirectory.(ZipRODirectory.java:53) ... 6 more Extracting endpoints awk: cannot open /home/user/Downloads/.txt (No such file or directory)

ghost avatar Aug 26 '20 17:08 ghost

Yep, the same for me.

trieulieuf9 avatar Dec 02 '20 16:12 trieulieuf9

Wiped my entire downloads folder...

paulschwahn avatar Jun 30 '21 21:06 paulschwahn

I ran it on mac and it wiped all my Hombrew and zsh related items. Same as all of you.

jay3oh5 avatar Jan 26 '22 17:01 jay3oh5

I literally just lost all my password manager databases, code project, music projects, notes, bookmarks, data I've been collecting for at least 5 years and so much more completely irreplaceable stuff. I am beyond furious. FUCK you, @s0md3v, you FUCKING PIECE OF SHIT!!!

n0kovo avatar Jul 14 '22 19:07 n0kovo