Skip to content

feat: add remote hashcat backend support#9

Merged
l50 merged 1 commit into
mainfrom
feat/remote-hashcat-service
May 21, 2026
Merged

feat: add remote hashcat backend support#9
l50 merged 1 commit into
mainfrom
feat/remote-hashcat-service

Conversation

@l50
Copy link
Copy Markdown
Owner

@l50 l50 commented May 21, 2026

Key Changes:

  • Added optional remote cracking mode that delegates hashcat jobs to an HTTP service when configured
  • Implemented authenticated job submission, polling, timeout handling, and potfile retrieval for remote jobs
  • Preserved local hashcat execution as the default path when remote service configuration is absent
  • Scoped remote execution to simple wordlist attacks so service-owned GPU and wordlist resources remain isolated

Added:

  • Remote hashcat client module - Adds HTTP integration for submitting jobs, polling job status, retrieving cracked results, handling bearer authentication, and normalizing local wordlist paths to remote-safe basenames
  • Remote service configuration support - Enables remote mode through HASHCAT_SERVICE_URL and requires HASHCAT_TOKEN for authenticated requests
  • Remote result handling - Returns crackd logs, potfile contents, remote errors, exit codes, and timeout failures through the existing ToolOutput structure

Changed:

  • Hashcat cracking flow - Updates crack_with_hashcat to check for remote service configuration first and delegate to the remote backend when available, while keeping the existing local hashcat behavior unchanged otherwise

**Added:**

- Remote hashcat client backend that submits wordlist attack jobs to a crackd-compatible HTTP service when HASHCAT_SERVICE_URL and HASHCAT_TOKEN are configured, polls job status with timeout handling, and retrieves cracked potfile results - ares-tools/src/cracker/remote.rs

**Changed:**

- Hashcat cracking flow to delegate to the remote backend before local execution when a service URL is configured, preserving local hashcat behavior otherwise - ares-tools/src/cracker.rs
@l50 l50 merged commit e8b95f9 into main May 21, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant