Elcomsoft.com » Password Recovery Software » Advanced ZIP Password Recovery » Help


Command line

Previous  Top  Next

You can run AZPR with command-line parameters. The syntax is:

AZPR [switches] [zip-filename]

or

AZPR [switches] [azr-filename]

The switches are separated with
/ or - characters. If the switch is followed by some data (e.g., filename, starting password, etc.) which contains these characters: space, semicolon, slash or dash, it must be enclosed in (single or double) quotes.


Switch
Description

Default




/a:b|m|d
attack type (brute-force, mask, dictionary)

brute-force
/c:csdepa
character set (caps, small, digits, special, space, all)

caps
/u:chars
user-defined charset


/oem
convert to OEM (for user-defined charset and dictionary attack)   

disabled
/sf:pass
start from password


/endat:pass
end at password


/usewz:X
use optimized WinZip attack


/useknownstart:XX
use known bytes in stored file (from 1 to 4 hex values, no spaces)


/p[:filename]
plaintext filename


/m:mask
mask


/ms:C
mask symbol

?
/min:N
minimum password length

1
/max:N
maximum password length

5
/oem
convert to OEM (for user-defined charset and dictionary attack)

disabled
/useknownstart:XX
use known bytes in stored file (from 1 to 4 hex values, no spaces)


/d[:filename]
dictionary filename


/sm
smart mutations

disabled
/ac
try all possible upper/lower case combinations

disabled
/sl:N
start from line N

0
/autosave:N
autosave every N minutes; 0 means disabled

5
/aname:filename
autosave filename


/adir:dir
autosave directory


/idle
run at idle priority

enabled
/high
run at high priority

disabled
/dontstart
don't start the attack, just load/set the parameters


/minimize
minimize the program after starting the attack


/smartexit[:filename]
when the attack is completed, write all statistics, including the password (if found) to the given file (default "cmdline_stats.txt"), and close the program

disabled


Examples:

azpr.exe /a:b /c:cs /min:3 /max:7 /smartexit test.zip
(brute-force attack; small and capital letters; length from 3 to 7; save and exit when done)

azpr.exe /a:b /u:12345abcde test.zip
(brute-force attack with "12345abcde" character set; length: from 1 to 5)

azpr.exe /a:m /c:d /m:june???? /sf:june1000 /high test.zip
(mask attack with ""june????" mask; charset: digits; high priority)

azpr.exe /d:english.dic /sm /oem /dontstart test.zip
(dictionary attack; dictionary: "english.dic"; smart mutations; convert words from ANSI to OEM; don't start)

If the parameter is the azr-file, the program will immediately load all the settings from it (ignoring the other settings supplied in the command line, except
/dontstart, /minimize and /smartexit), and run the attack.

Get more information about Advanced ZIP Password Recovery
Get full version of Advanced ZIP Password Recovery

(c) 2005 ElcomSoft Co.Ltd.