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


Command line

Previous  Top  Next

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

ARPR [switches] [rar-filename]

or

ARPR [switches] [arr-filename]

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

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


/sf:pass
start from password


/endat:pass
end at password


/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:

arpr.exe /a:b /c:cs /min:2 /max:5 /smartexit test.rar
(brute-force attack; small and capital letters; length from 2 to 5; save and exit when done)

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

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

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

If the parameter is the arr-file, the program will just load all the settings from it (ignoring the other ones supplied in the command line, except /dontstart, /minimize and /smartexit, and runs the attack.

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

(c) 2005 ElcomSoft Co.Ltd.