So i have just extracted a zip file from a Wireshark log file.
I tried to unzip it and it seems to have a password.
I have never used a password cracker in Linux before so i had a quick Google to see what Kali comes bundled with to do this. I came up with "fcrackzip".
This post is mainly to keep the commands written down somewhere for my own personal use, but might help someone if they are awful at Googling and cant find what they need in the hundreds of pages talking about fcrackzip.
Dictionary Attack
fcrackzip -D -u -c a -l 1-10 -p /root/<wordlist> <zip file>
The -u makes sure fcrackzip actually tries the password - otherwise you will get multiple "possible passwords found".
The "-c a" specifies lowercase alphabetic.
The "-l 1-10" specifies a length of 1-10 characters
The -p is the flag for the wordlist
Brute Force Attack
fcrackzip -b -u -c a -l 1-10 <zip file>
The "-v" flag can be used if you want verbose mode.
No comments:
Post a Comment