Same command, different output?
#1
Hello!

I'm trying to compare speed on my PC using CPU and GPU (cuda). I'm cracking some SHA1 hashes using rockyou dictionary, but I get different results for both of them:

Code:
sudo cudaHashcat-plus64.bin -a 0 -m 100 SHA1.txt rockyou.txt
Password:
cudaHashcat-plus v0.09 by atom starting...

Hashes: 6143150 total, 1 unique salts, 6143150 unique digests
Bitmaps: 21 bits, 1048576 entries, 0x000fffff mask, 4194304 bytes
Rules: 1
Workload: 128 loops, 80 accel
Watchdog: Temperature abort trigger set to 90c
Watchdog: Temperature retain trigger set to 80c
Device #1: GeForce GTX 580, 1535MB, 1544Mhz, 16MCU
Device #1: Kernel ./kernels/4318/m0100_a0.sm_20.ptx

Scanned dictionary rockyou.txt: 139921497 bytes, 14344391 words, 14344391 keyspace, starting attack...

afcfa6bae86f345519e7034853852c81161a582a:supercallifragi
c90074f7c4c7e9bdc36a8920f9552c8a8b560ea8:cirque du solei
68e715bb55580f7aa9bb57c5c44f625f9539db14:tryandcrackthis
3902338e86c8b728c4db5ce915636c67be6f497e:iwannabeperfect
3bcf1e9d291f4c52c20263b8708e4f69a5ac7606:12345qwert!@#$%
                                            
Status.......: Exhausted
Input.Mode...: File (rockyou.txt)
Hash.Target..: File (SHA1.txt)
Hash.Type....: SHA1
Time.Running.: 1 sec
Time.Left....: 0 secs
Time.Util....: 1479.6ms/1049.1ms Real/CPU, 243.6% idle
Speed........:  9694.5k c/s Real,  9061.7k c/s GPU
Recovered....: 5/6143150 Digests, 0/1 Salts
Progress.....: 14344391/14344391 (100.00%)
Rejected.....: 19/14344391 (0.00%)
HWMon.GPU.#1.: -1% Util, 50c Temp, 43% Fan

Started: Sun Dec 16 14:11:45 2012
Stopped: Sun Dec 16 14:11:50 2012

Code:
sudo hashcat-cli64.bin -a 0 -m 100 SHA1.txt rockyou.txt
Initializing hashcat v0.41 by atom with 8 threads and 32mb segment-size...

Added hashes from file SHA1.txt: 6143150 (1 salts)

NOTE: press enter for status-screen

9866c4f9c6b50b6f0648531d578b999edc57095f:ะà¹à¸à¸£à¸ªà¸à¸·à¸
1859a3e35a919d295fd0ec08fafcc3088de7aeb7:ââââââ
fa2c75efa7dea646a86c93822f6b209623d01d4e:ÑквжÑиÑÑ
cc8ee4ca6a2028f2389cd56ce82c1d9becd2d6f6:à¹/-ภà¸à¸¸à¸¶à¸à¸
a644b10ebea17499ecd1026f5ee6095a103dbc8a:สรอำà¸à¸¢à¸à¸à¸ª
3daae9fa5d109c629cf017d68ff5f9f382a7b66f:à¸à¸¹à¸­à¸´à¸·à¸
Input.Mode: Dict (rockyou.txt)
Index.....: 1/5 (segment), 3627099 (words), 33550343 (bytes)
Recovered.: 6/6143150 hashes, 0/1 salts
Speed/sec.: 35.58M plains, 35.58M words
Progress..: 3627099/3627099 (100.00%)
Running...: --:--:--:--
Estimated.: --:--:--:--
041cb50145f77adaffd6edd6063b19c2e98725b3:merci,ni,very,nhieu,.
Input.Mode: Dict (rockyou.txt)
Index.....: 2/5 (segment), 3351796 (words), 33550341 (bytes)
Recovered.: 7/6143150 hashes, 0/1 salts
Speed/sec.: 33.77M plains, 33.77M words
Progress..: 3351796/3351796 (100.00%)
Running...: --:--:--:--
Estimated.: --:--:--:--
ca6f30802f1bc934aa76209f7103c179338ff320:ihavebeenchangedforgood
Input.Mode: Dict (rockyou.txt)
Index.....: 3/5 (segment), 3323233 (words), 33550343 (bytes)
Recovered.: 8/6143150 hashes, 0/1 salts
Speed/sec.: 40.09M plains, 40.09M words
Progress..: 3323233/3323233 (100.00%)
Running...: --:--:--:--
Estimated.: --:--:--:--
Input.Mode: Dict (rockyou.txt)
Index.....: 4/5 (segment), 3488103 (words), 33550343 (bytes)
Recovered.: 8/6143150 hashes, 0/1 salts
Speed/sec.: 44.60M plains, 44.60M words
Progress..: 3488103/3488103 (100.00%)
Running...: --:--:--:--
Estimated.: --:--:--:--
Input.Mode: Dict (rockyou.txt)
Index.....: 5/5 (segment), 553093 (words), 5720127 (bytes)
Recovered.: 8/6143150 hashes, 0/1 salts
Speed/sec.: - plains, - words
Progress..: 553093/553093 (100.00%)
Running...: --:--:--:--
Estimated.: --:--:--:--
Started: Sun Dec 16 14:13:17 2012
Stopped: Sun Dec 16 14:13:20 2012

Can anyone explain me why this happens?

Thank you in advance,
temporary_user
#2
ocl has a character limit of 15 where cpu does not
#3
Ok, so what do I have to change so that I get equal results?
#4
run it on cpu only
#5
But the whole point is to compare speed CPU vs GPU.
#6
then whats the problem? GPU hashcat does not support the same length that cpu does, there is no way around that.
#7
but at least cpu hashcat should crack all hashes that have been cracked by oclhashcat. Something doesn't seem right.


For speed comparisons you have to do a mask attack. Dictionary without rules will never get a high gpu utilization.

off topic: don't use sudo unless you really need to.......
#8
thats assuming that the dictionaries are run in the exact same order which they arent, also notice that his GPU runs were completed but CPU was not. It would have found them, but the comparison is skewed because the runs didnt finish
#9
(12-16-2012, 06:53 PM)undeath Wrote: off topic: don't use sudo unless you really need to.......

Without sudo I get "Hashcat pot file: permission denied".

(12-16-2012, 07:48 PM)radix Wrote: comparison is skewed because the runs didnt finish

What do you mean they didn't finish?
#10
from ocl: Progress.....: 14344391/14344391 (100.00%)

from cpu: Progress..: 553093/553093 (100.00%)

CPU only ran 1/3 of the dict