CRACKZIP manpage

CRACKZIP(1) General Commands Manual

NAME

crackzip — Recovery tool for cracking password protected ZIP (*.zip) files.

SYNOPSIS

crackzip -b -z <zipFile> [ -r <resumeFrom> ] [ -o <outputDir> ] [ --min-length <minLength> ] [ --max-length <maxLength> ] [ { --char-set <charSet> | -a <alphabet> } ] [ -t <threads> ] [ -p <priority> ] [ -u <updateTimeMillis> ] [ --no-cache ] [ -v ] [ --debug ]
crackzip --init -z <zipFile> [ -v ] [ --debug ]
crackzip --clean -z <zipFile> [ -v ] [ --debug ]
crackzip -i -z <zipFile> [ -v ] [ --debug ]
crackzip -h | --sysinfo [ -v ]

DESCRIPTION

This manual page documents the crackzip command: The crackzip command tries to recover --crack a password of an (AES or ZIPCRYPTO) encrypted ZIP (*.zip) --zip-file (optionally) resuming from a given password --resume-from using a given character set --char-set or custom alphabet --alphabet for the password of a minimum --min-length and maximum --max-length to be probed, using multiple threads --threads of a specific thread priority --priority, persisting the current recovery state from which to resume in case of interruption in an according project <file_to_crack>.zip.ini file.

Depending on the executable’s flavor the command might also be named crackzip-x.y.z.jar, crackzip-bundle-x86_64-x.y.z.elf, crackzip-bundle-x86_64-x.y.z.exe, crackzip-installer-x86_64-x.y.z.msi, crackzip-launcher-x.y.z.sh, crackzip-launcher-x86_64-x.y.z.elf, crackzip-launcher-x86_64-x.y.z.exe, crackzip-native-x86_64-x.y.z.elf where x.y.z stands for the version of the crackzip command. The according executable’s name will be referenced to in this manual as crackzip.

OPTIONS

-a --alphabet <alphabet>: The alphabet to when probing passwords
-b --brute-force: Start brute force password recovery.
--char-set <charSet>: The character set use when probing passwords: { ASCII, ALPHABETIC, UPPER_CASE, LOWER_CASE, ALPHANUMERIC, NUMERIC, ENCODED_AS_NUMBER, BINARY, OCTAL, DECIMAL, HEXADECIMAL, BASE64, BASE64URL, ARABIC_BASE64, QUOTES, WHITE_SPACES, END_OF_LINE, LINE_BREAK_MARKERS, OPENING_BRACES, CLOSING_BRACES, SPACE_MARKERS, REGEX_SPECIAL_CHARS }
--clean: Clean any temporoary (lock) files.
--debug: Enables the debug mode with additional (developer readable) informational output.
-h --help: Shows this help.
-i --info: Show detailled information about the ZIP (*.zip) input file.
--init: Initialize a new project.
--max-length <maxLength>: Max password length to probe, a value of -1 denotes an infinite max length (defaults to <-1>).
--min-length <minLength>: Min password length to probe (defaults to <1>).
--no-cache: Experimental, do not(!) load ZIP (*.zip) input file into memory (no speedup) before processing.
-o --output-dir <outputDir>: The output directory where to write the results to.
-p --priority <priority>: Thread priority (min = <1>, max = <10>) to use (defaults to <5>).
-r --resume-from <resumeFrom>: Resume the operation from the given password.
--sysinfo: Clean any temporoary (lock) files.
-t --threads <threads>: Number of threads to use (defaults to <12> on this machine).
-u --update-time <updateTimeMillis>: Update time in ms of update current execution status into project file and, upon verbose mode, on the screen (defaults to <2500>).
-v --verbose: Enables the verbose mode with additional (human readable) informational output.
-z --zip-file <zipFile>: The ZIP (*.zip) input file which examine.

EXAMPLES

Crack archive password using a char set:

  • crackzip -b -z <zipFile> --char-set <charSet> -v

Crack archive password using a custom alphabet:

  • crackzip -b -z <zipFile> -a <alphabet> -v

Crack archive starting at password using a char set:

  • crackzip -b -z <zipFile> --char-set <charSet> -r <resumeFrom> -v

Crack archive starting at password using a custom alphabet:

  • crackzip -b -z <zipFile> -a <alphabet> -r <resumeFrom> -v

Crack archive with passwords [min..max] using a char set:

  • crackzip -b -z <zipFile> --char-set <charSet> --min-length <minLength> --max-length <maxLength> -v

Crack archive with passwords [min..max] using a custom alphabet:

  • crackzip -b -z <zipFile> -a <alphabet> --min-length <minLength> --max-length <maxLength> -v

Crack archive with number of threads and thread priorities:

  • crackzip -b -z <zipFile> -t <threads> -p <priority> -v

Crack archive and extract cracked content to output folder:

  • crackzip -b -z <zipFile> -o <outputDir> -v

Update frequency (ms) of current execution status into project file:

  • crackzip -b -z <zipFile> -u <updateTimeMillis> -v

Clean archive’s project configuration:

  • crackzip --clean -z <zipFile> -v

Show ZIP file information:

  • crackzip -i -z <zipFile> -v

To show the help text:

  • crackzip -h

To print the system info:

  • crackzip --sysinfo

FILES

The <file_to_crack>.zip.ini project file supports the following properties:

  • charSet= The char set to use for the password when cracking e.g. ASCII
  • alphabet= The chars to try out for the password when cracking e.g. abcdefghijklmnopqrstuvwyxzABCDEFGHIJKLMNOPQRSTUVWYXZ0123456789
  • resumeFrom= The password from which to resume when cracking, e.g. Secret123_
  • verbose= Be more verbose, e.g. true
  • minLength= The minimum password length to probe, e.g. 8
  • maxLength= The maximum password length to probe, e.g. 12
  • updateTimeMillis= The time in milliseconds to save the last probed password from which to resume, e.g. 2500
  • threads= The number of threads to use for cracking, e.g. 6
  • priority= The thread priority ([1..10]) to use for the threads when cracking, e.g. 8
  • outputDir= The output directory to extracted the files of the cracked archive to, e.g. C:\temp

The <file_to_crack>.zip.ini project is initialized in the same folder as the <file_to_crack>.zip is located in.

BUGS

See BitBucket issues: https://bitbucket.org/funcodez/funcodes-crackzip

AUTHOR

Siegfried Steiner steiner@refcodes.org

SEE ALSO