{"id":1239,"date":"2012-08-23T15:23:34","date_gmt":"2012-08-23T15:23:34","guid":{"rendered":"http:\/\/blog.designed79.co.uk\/?p=1239"},"modified":"2012-08-23T15:23:34","modified_gmt":"2012-08-23T15:23:34","slug":"how-to-find-a-lost-zip-file-password-with-fcrackzip","status":"publish","type":"post","link":"https:\/\/blog.designed79.co.uk\/?p=1239","title":{"rendered":"How to find a lost ZIP file password with fcrackzip"},"content":{"rendered":"<p><strong>fcrackzip<\/strong>\u00a0is a free ZIP password cracking utility for\u00a0<strong>Linux<\/strong>\u00a0and\u00a0<strong>OS X<\/strong>\u00a0that can be used to recover lost ZIP file passwords through\u00a0<a href=\"http:\/\/en.wikipedia.org\/wiki\/Brute_force_attack\">brute force<\/a>\u00a0or\u00a0<a href=\"http:\/\/en.wikipedia.org\/wiki\/Dictionary_attack\">dictionary attacks<\/a>.<\/p>\n<p>To install fcrackzip on Linux, you can use use apt-get:<\/p>\n<pre>\n\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">sudo apt-get install fcrackzip<\/div><\/div>\n\n<\/pre>\n<p>&#8230; yum:<\/p>\n<pre>\n\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">sudo yum install fcrackzip<\/div><\/div>\n\n<\/pre>\n<p>&#8230; or a similar repository system.<\/p>\n<p>To install\u00a0<strong>fcrackzip<\/strong>\u00a0on\u00a0<strong>Mac OS X<\/strong>, first\u00a0<a href=\"http:\/\/www.geekology.co.za\/blog\/2009\/02\/macports-compile-and-install-open-source-software-on-mac-os-x\/\">install MacPorts<\/a>\u00a0then install\u00a0<strong>fcrackzip<\/strong>\u00a0through<strong>MacPorts<\/strong>:<\/p>\n<pre>\n\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">sudo port install fcrackzip<\/div><\/div>\n\n<\/pre>\n<p>The default\u00a0<strong>brute force<\/strong>\u00a0starting length is 5-6 characters, so you might want to specify a minimum and maximum password length when you invoke\u00a0<strong>fcrackzip<\/strong>. To use the utility, switch to the directory containing your encrypted ZIP file and run\u00a0<strong>fcrackzip<\/strong>\u00a0with the &#8220;<strong>-b<\/strong>&#8221; (<em>use a brute force attack<\/em>), &#8220;<strong>-u<\/strong>&#8221; (<em>use unzip to weed out wrong passwords<\/em>), and &#8220;<strong>-l<\/strong>&#8221; (<em>specify password length<\/em>) arguments:<\/p>\n<pre>\n\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">fcrackzip -b -u -l 1-4 geekology.zip<\/div><\/div>\n\n<\/pre>\n<p>The software will run for some time depending on the complexity of the ZIP file&#8217;s password and will display a success message once it finds the correct key (<em>in my test the brute force attack took 1 minute to find the correct result for a 4-letter password<\/em>):<\/p>\n<pre>\n\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">PASSWORD FOUND!!!!: pw == geek<\/div><\/div>\n\n<\/pre>\n<p>You can find more information on\u00a0<strong>fcrackzip<\/strong>&#8216;s usage in its help page (<em>&#8220;fcrackzip -h&#8221;<\/em>):<\/p>\n<p>fcrackzip version 1.0, a fast\/free zip password cracker<br \/>\nwritten by Marc Lehmann &lt;pcg@goof.com&gt; You can find more info on<br \/>\nhttp:\/\/www.goof.com\/pcg\/marc\/<\/p>\n<p>USAGE: fcrackzip<br \/>\n[-b|&#8211;brute-force] use brute force algorithm<br \/>\n[-D|&#8211;dictionary] use a dictionary<br \/>\n[-B|&#8211;benchmark] execute a small benchmark<br \/>\n[-c|&#8211;charset characterset] use characters from charset<br \/>\n[-h|&#8211;help] show this message<br \/>\n[&#8211;version] show the version of this program<br \/>\n[-V|&#8211;validate] sanity-check the algortihm<br \/>\n[-v|&#8211;verbose] be more verbose<br \/>\n[-p|&#8211;init-password string] use string as initial password\/file<br \/>\n[-l|&#8211;length min-max] check password with length min to max<br \/>\n[-u|&#8211;use-unzip] use unzip to weed out wrong passwords<br \/>\n[-m|&#8211;method num] use method number &#8220;num&#8221; (see below)<br \/>\n[-2|&#8211;modulo r\/m] only calculcate 1\/m of the password<br \/>\nfile&#8230; the zipfiles to crack<\/p>\n<p>methods compiled in (* = default):<\/p>\n<p>0: cpmask<br \/>\n1: zip1<br \/>\n*2: zip2, USE_MULT_TAB<\/p>\n","protected":false},"excerpt":{"rendered":"<p>fcrackzip\u00a0is a free ZIP password cracking utility for\u00a0Linux\u00a0and\u00a0OS X\u00a0that can be used to recover lost ZIP file passwords through\u00a0brute force\u00a0or\u00a0dictionary attacks. To [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1239","post","type-post","status-publish","format-standard","hentry","category-info-on-tech"],"_links":{"self":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1239","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1239"}],"version-history":[{"count":0,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1239\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}