hashcat Forum
how to run hashcat in a distributed environment - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Developer (https://hashcat.net/forum/forum-39.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-40.html)
+--- Thread: how to run hashcat in a distributed environment (/thread-6448.html)



how to run hashcat in a distributed environment - jason_gap - 03-30-2017

Recently, I want to run hashcat on 10 devices ,each device has one gpu card. I need to seperate the keyspace into 10 parts for load balancing. for example, the whole keyspace is '?a?a?a?a?a?a?a', how should I set the parameter to run hashcat? in the future , how to run hashcat in a distributed environment  for load balancing?


RE: how to run hashcat in a distributed environment - philsmd - 03-30-2017

1.
Code:
hashcat --keyspace -a 3 ?a?a?a?a?a?a?a
81450625

2.
Code:
81450625 / 10 = 8145063

3.
Code:
hashcat -m 0 -a 3 -w 4 --skip        0 --limit 8145063 hash_file.txt ?a?a?a?a?a?a?a
hashcat -m 0 -a 3 -w 4 --skip  8145063 --limit 8145063 hash_file.txt ?a?a?a?a?a?a?a
hashcat -m 0 -a 3 -w 4 --skip 16290126 --limit 8145063 hash_file.txt ?a?a?a?a?a?a?a
hashcat -m 0 -a 3 -w 4 --skip 24435189 --limit 8145063 hash_file.txt ?a?a?a?a?a?a?a
hashcat -m 0 -a 3 -w 4 --skip 32580252 --limit 8145063 hash_file.txt ?a?a?a?a?a?a?a
hashcat -m 0 -a 3 -w 4 --skip 40725315 --limit 8145063 hash_file.txt ?a?a?a?a?a?a?a
hashcat -m 0 -a 3 -w 4 --skip 48870378 --limit 8145063 hash_file.txt ?a?a?a?a?a?a?a
hashcat -m 0 -a 3 -w 4 --skip 57015441 --limit 8145063 hash_file.txt ?a?a?a?a?a?a?a
hashcat -m 0 -a 3 -w 4 --skip 65160504 --limit 8145063 hash_file.txt ?a?a?a?a?a?a?a
hashcat -m 0 -a 3 -w 4 --skip 73305567                 hash_file.txt ?a?a?a?a?a?a?a

It's very easy, it couldn't be easier than that.
Furthermore, there are a lot of 3th party tools (like hashtopussy etc) - wrappers - that show you how to do it. This question is also among the most answered and therefore easy to find the answer if you use the forum search.


RE: how to run hashcat in a distributed environment - jason_gap - 03-30-2017

(03-30-2017, 09:15 AM)philsmd Wrote: 1.
Code:
hashcat --keyspace -a 3 ?a?a?a?a?a?a?a
81450625

2.
Code:
81450625 / 10 = 8145063

3.
Code:
hashcat -m 0 -a 3 -w 4 --skip        0 --limit 8145063 hash_file.txt ?a?a?a?a?a?a?a
hashcat -m 0 -a 3 -w 4 --skip  8145063 --limit 8145063 hash_file.txt ?a?a?a?a?a?a?a
hashcat -m 0 -a 3 -w 4 --skip 16290126 --limit 8145063 hash_file.txt ?a?a?a?a?a?a?a
hashcat -m 0 -a 3 -w 4 --skip 24435189 --limit 8145063 hash_file.txt ?a?a?a?a?a?a?a
hashcat -m 0 -a 3 -w 4 --skip 32580252 --limit 8145063 hash_file.txt ?a?a?a?a?a?a?a
hashcat -m 0 -a 3 -w 4 --skip 40725315 --limit 8145063 hash_file.txt ?a?a?a?a?a?a?a
hashcat -m 0 -a 3 -w 4 --skip 48870378 --limit 8145063 hash_file.txt ?a?a?a?a?a?a?a
hashcat -m 0 -a 3 -w 4 --skip 57015441 --limit 8145063 hash_file.txt ?a?a?a?a?a?a?a
hashcat -m 0 -a 3 -w 4 --skip 65160504 --limit 8145063 hash_file.txt ?a?a?a?a?a?a?a
hashcat -m 0 -a 3 -w 4 --skip 73305567                 hash_file.txt ?a?a?a?a?a?a?a

It's very easy, it couldn't be easier than that.
Furthermore, there are a lot of 3th party tools (like hashtopussy etc) - wrappers - that show you how to do it. This question is also among the most answered and therefore easy to find the answer if you use the forum search.

thank you for your answer .
I tried as follows :
./hashcat64.bin --keyspace -a 3 ?a?a?a?a
857375  (95^3)
./hashcat64.bin --keyspace -a 3 ?a?a?a?a?a
81450625  (95^4)
./hashcat64.bin --keyspace -a 3 ?a?a?a?a?a?a
81450625
./hashcat64.bin --keyspace -a 3 ?a?a?a?a?a?a?a
81450625
./hashcat64.bin --keyspace -a 3 ?a?a?a?a?a?a?a?a
7737809375  (95^5)
./hashcat64.bin --keyspace -a 3 ?a?a?a?a?a?a?a?a?a
735091890625  (95^6)
./hashcat64.bin --keyspace -a 3 ?a?a?a?a?a?a?a?a?a?a
5287606593041  ( ??)

I wonder how to calculate keyspace in hashcat?


RE: how to run hashcat in a distributed environment - philsmd - 03-30-2017

This question is also within the most frequently asked questions (wiki page): https://hashcat.net/faq#what_is_a_keyspace