I recently upgraded crark on a CentOS Linux server from an earlier version to Crark version 3.3a. Initially it looked as if everything worked without problems and the speeds were improved slightly over the previous version of crark I had installed. After the initial testing though I noticed an issue when attempting to run crark from a directory besides the one I had unpacked all of the contents in and received some errors. Below is output showing the crark errors along with what was done to resolve the issue.
Crark Version 3.3a rarcrypt1.dll Errors On CentOS Linux:
- [root@dev ~]# /home/crark/crark -l1 -g7 -p/home/crark/numbers.def -m240 /home/someuser/crarktest.rar
- cRARk 3.3a (CUDA enabled) Freeware
- Copyright 1995-2001, 2006-10 by P. Semjanov,
- http://www.crark.net
- portions (c) 1993-2005 Eugene Roshal
- (c) PSW-soft Password Cracking Library PCL v. 2.0d by P. Semjanov
- Testing archive /home/someuser/crarktest.rar : version 2.9
- Testing TEST/crarktest.txt
- CUDA device GeForce GTX 295 found, CUDA cores = 240, GPU rate = 1.00
- Choosing best crypto functions.............................................................
- Chosen: ASM (Northwood/Core 2/iX), SSE2 (Core 2/iX) (-f1545)
- Ticks per password expected = 14034293, theoretical = 27000000, CPU rate = 1.92
- Processing line 62 of password definition file...
- Testing 1-chars passwords ...
- Testing 2-chars passwords ...
- Testing 3-chars passwords ...
- File rarcrypt1.dll not found - this CUDA architecture not yet supported
- cudaModuleLoad failed: Unknown error
- Testing 4-chars passwords ...
- File rarcrypt1.dll not found - this CUDA architecture not yet supported
- cudaModuleLoad failed: Unknown error
- Testing 5-chars passwords ...
- File rarcrypt1.dll not found - this CUDA architecture not yet supported
- cudaModuleLoad failed: Unknown error
- Testing 6-chars passwords ...
- File rarcrypt1.dll not found - this CUDA architecture not yet supported
- cudaModuleLoad failed: Unknown error
- Testing 7-chars passwords ...
- File rarcrypt1.dll not found - this CUDA architecture not yet supported
- cudaModuleLoad failed: Unknown error
- Passwords tested = 110 (time = 00.44, rate = 252 p/s)
- Total tested = 110, slow tests = 15
- Password not found
- Total passwords tested = 110, slow tests = 15
As you can see above crark is complaining about the rarcrypt1.dll file which comes in the download from the crark site. At first I attempted to add all of the rarcrypt.dll files to the /usr/local/bin directory however this didn’t resolve the problem. After some testing I figured out that if you put the DLL files into the root directory of the user that is attempting to run crark you will no longer receive the error and crark will function as expected. So if you are running crark as the root user on CentOS Linux you would put rarcrypt1.dll, rarcrypt2.dll, rarcrypt-hp1.dll, and rarcrypt-hp2.dll into the /root/ directory. After placing these files in the /root directory then crark works without issue.