Merged
Conversation
Includes CMakeLists.txt, CMakePresets.json, .clang-format, .clang-tidy, Config.hpp (all constants), Concepts.hpp (Hasher/AttackStrategy concepts), and stub implementations for all source files. All 6 stub tests pass.
OpenSSL EVP-based hashers verified against NIST known-answer vectors. HashDetector auto-identifies hash type from hex length with validation. 15 new tests, all passing.
DictionaryAttack: mmap-based wordlist reader with thread partitioning. BruteForceAttack: keyspace generator with mathematical partitioning. RuleSet: 7 mutation transforms via std::generator (capitalize, leet, append/prepend digits, reverse, toggle case). RuleAttack: combines dictionary words with rule mutations. 22 new tests, all passing.
ThreadPool: jthread-based work partitioning with SharedState atomics. Progress: rich terminal output with Unicode box drawing, ANSI colors, progress bar, speed/ETA display, and cracked/exhausted result rendering. Engine: template function wiring hasher + attack + threading + salt. 3 integration tests passing (crack, exhaust, salted crack).
Full argument parsing for all attack modes, hash auto-detection, salt support, thread count, and JSON output. Dispatch resolves hasher + attack at compile time via template instantiation.
install.sh detects package manager and installs all dependencies. Justfile provides build, test, run, and clean commands. README follows repo convention with ASCII banner and badges.
…stall Swap emoji icons for clean Unicode symbols (✓ ✗ ◆ ▸ ⏱) matching the Go project style. Include 10k-most-common.txt wordlist for zero-friction Quick Start. install.sh now symlinks binary to ~/.local/bin/hashcracker. Fix DIM unbound variable in install.sh.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Provide a clear description of what this pull request does.
Type of Change
Checklist
General:
Related Issues
Link any related issues here (e.g., "Fixes #123").
Additional Context
Any other information that reviewers should know.