-
Notifications
You must be signed in to change notification settings - Fork 130
04 Distributed Cracking
WIP
Warning! distributed support is very ALPHA
Hashview supports chunking based off of given keyspace interval (chunk size) that the user sets in the settings menu (default is 500,000). Currently Hashview makes static chunks and does not scale chunk size per performance or number of agents.
When a new task is created the keyspace is calculated. If the chunk size is less than the keyspace the task will be chunked when placed on the queue.
Agents heartbeat to the master server where your full install of Hashview is located. You'll need inbound port 4567 traffic for agents to communicate.
-
Clone the hashview-agent repo
git clone https://github.com/hashview/hashview-agent
-
Install gems
gem install bundler
bundle install
-
Provision the agent
RACK_ENV=production rake provision_remote_agent
A new configuration file will be generated at
config/agent_config.json
. Note the UUID for the agent is generated at this time. This UUID should be treated similar to an API key. -
Define your master server by IP (where the full install of Hashview is located) and path to your hashcat binary. Example config below:
{
"master_ip": "192.168.1.1",
"port": "4567",
"uuid": "31c4ec48-e7b1-1af9-b1b0-7e1d77c57928",
"hc_binary_path": "/home/meatball/hashcat-3.30/hashcat64.bin"
}
-
Start the agent
RACK_ENV=production ruby agent.rb
-
Verify you see the hearbeats on your master instance under the "Agents" menu. A status of 'Pending' will exist until you've authorized the agent to join the cluster. Once Authorized, the agent will take tasks off the queue and hearbeat with its hashcat status.