View Issue Details

IDProjectCategoryView StatusLast Update
0004052Kali LinuxKali Package Bugpublic2018-02-21 09:42
Reporterandreafioraldi Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionopen 
Product Versionkali-dev 
Summary0004052: fcrackzip does not crack with a dictionary
Description

If i try to crack a zip using a dictionary the software don't crack anything.
The password is in the dictionary but it doesn't work.
I'm able to unpack the zip with the password using 7zip.

Steps To Reproduce

With the command "/fcrackzip -v -u -D -p ./pas.txt cyberchallenge17-CTF.pdf.zip"
the only output is:
"found file 'cyberchallenge17-CTF.pdf', (size cp/uc 1726514/1738909, flags 1, chk 0000)"

Additional Information

The version of fcrackzip is 1.0-8 amd64.

Attached Files
fcrackzip_bug.png (71,923 bytes)   
fcrackzip_bug.png (71,923 bytes)   
pas.txt (398 bytes)   
000000
111111
123123
123321
1234
12345
123456
1234567
12345678
123456789
1234567890
123abc
654321
666666
696969
Passw0rd
abc123
alberto
alejandra
alejandro
amanda
andrea
angel
angels
anthony
asdf
asdfasdf
ashley
babygirl
baseball
basketball
beatriz
blahblah
buster
butterfly
carlos
ch4113ng3
cheese
cyb3rcha773nge
test
testing
trustno1
tweety
welcome
westside
whatever
windows
writer
zxcvbnm
zxczxc
pas.txt (398 bytes)   

Activities

Senni

Senni

2017-05-30 09:14

reporter   ~0006768

Please see :
https://bugs.kali.org/view.php?id=3951

Could you upload the ZIP, the password, and how it was created?

Its impossible to try to troubleshoot without it!

andreafioraldi

andreafioraldi

2017-05-30 11:43

reporter   ~0006769

The zip was created with p7zip, the password is cyb3rcha773nge

cyberchallenge17-CTF.pdf.zip (1,726,682 bytes)
andreafioraldi

andreafioraldi

2017-05-30 11:48

reporter   ~0006770

I downloaded the source code from http://oldhome.schmorp.de/marc/fcrackzip.html and i tried to crack the zip on my debian 9 machine. The result doesn't change.

Senni

Senni

2017-05-30 12:23

reporter   ~0006771

13:09:root:Kali: 7za x cyberchallenge17-CTF.pdf.zip
7-Zip (A) [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
p7zip Version 9.20 (locale=en_GB.UTF-8,Utf16=on,HugeFiles=on,8 CPUs)
Processing archive: cyberchallenge17-CTF.pdf.zip
Extracting cyberchallenge17-CTF.pdf
Enter password (will not be echoed) :
Everything is Ok
Size: 1738909
Compressed: 1726682

13:10:root:Kali: fcrackzip -v -D -p 'pas.txt' -u cyberchallenge17-CTF.pdf.zip
found file 'cyberchallenge17-CTF.pdf', (size cp/uc 1726514/1738909, flags 1, chk 0000)

the application hasn't been updated in quite some time, which would suggest that issue is with something in zip file it doesn't like (as can be seen when you try to $ unzip it). So the program works, just a lot out of support! Unsure if there is anything the Repo maintainers can do unless someone picks up the project im afraid!

(This would also explain the linked bug I added :)! )

andreafioraldi

andreafioraldi

2017-05-30 12:39

reporter   ~0006772

Now I'm using john the ripper and everything is ok.

zip2john cyberchallenge17-CTF.pdf.zip > z.hash
john --wordlist=pas.txt z.hash

you should consider to remove fcrackzip from the repo if it is out of support.

thanks :)

g0tmi1k

g0tmi1k

2018-02-21 09:42

administrator   ~0008755

Due to the age of the OS (Kali Moto [v1], Kali Safi [v2], Kali Rolling 2016.x/2017.1), these legacy versions are no longer supported.
We will be closing this ticket due to inactivity.

Please could you see if you are able to replicate this issue with the latest version of Kali Linux - https://www.kali.org/downloads/)?

If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing,and also give information about your setup?
For more information, please read: https://kali.training/topic/filing-a-good-bug-report/

Issue History

Date Modified Username Field Change
2017-05-30 08:44 andreafioraldi New Issue
2017-05-30 08:44 andreafioraldi File Added: fcrackzip_bug.png
2017-05-30 09:14 Senni Note Added: 0006768
2017-05-30 11:43 andreafioraldi File Added: cyberchallenge17-CTF.pdf.zip
2017-05-30 11:43 andreafioraldi Note Added: 0006769
2017-05-30 11:43 andreafioraldi File Added: pas.txt
2017-05-30 11:48 andreafioraldi Note Added: 0006770
2017-05-30 12:23 Senni Note Added: 0006771
2017-05-30 12:39 andreafioraldi Note Added: 0006772
2018-02-21 09:42 g0tmi1k Note Added: 0008755
2018-02-21 09:42 g0tmi1k Status new => closed