2024-10-03
-
enhance hashcat binary location logic
Replaced direct exec.LookPath calls with a more robust findHashcatBinary function. This function searches multiple predefined paths and the user's $PATH, improving binary location reliability and simplifying version retrieval logic.
-
divide up large library files into single responsibility files (#53)
This commit moves the previous functions in agentClient and clientUtils into purpose-specific files. The overall codebase is now more maintainable and easier to navigate.
-
improve findHashcatBinary function documentation
Updated the documentation for the findHashcatBinary function to clarify its behavior and error handling. Replaced redundant variable names for consistency and removed obsolete fetchHashcatVersion function.
-
simplify and condense function comments
Revised comments to be more succinct and direct.
Reduced verbosity and removed redundant details to improve readability. Condensed function descriptions to highlight main actions and outcomes while preserving essential context.
-
update changelog configuration
Updated the repository URL and added filtering and sorting options. Expanded commit groups settings to include new types and reordered titles with emoji icons. Improved header pattern, added issue prefixes, and refined merge and revert patterns for better clarity.
-
Add command line flags for Viper configuration options (#49)
-
chore: simplify init function documentation
Update the init function comment for clarity and brevity. The revised comment concisely explains the initialization process and the binding of flags to the configuration.
-
update Go and dependencies in go.mod
Updated Go version and multiple dependencies to their latest versions. This includes upgrades for various Google Cloud libraries, OpenTelemetry components, and others to improve security and performance.
-
update dependency versions and fix agent update request
Updated multiple dependencies in
go.mod
to their latest versions. Corrected field name fromName
toHostName
in agent update request. -
add vcs configuration file
Introduce VCS configuration file to ensure consistent commit message format and enable Git integration. This includes setting up inspection profiles and directory mappings for version control.
- Add utility methods for file operations and task management
2024-09-18
-
replace createTempFile with createOutFile
Replaced createTempFile with createOutFile in the NewHashcatSession function. This makes the output file more deterministic and fixes an issue where restored tasks weren't sending their cracked hashes.
-
simplify and clarify function comments
Simplify and refine the documentation comments for functions to enhance readability and conciseness. Updated comments describe the core actions performed by each function while removing excessive details and steps.
-
Update Docker run command in README.md
- Updated CHANGELOG.md
2024-09-12
-
Heavily cleanup and optimization.
-
Refactored the agentClient
-
Added initial Windows client support
This is very experimental and has not been adequately tested. Since we haven’t tested it, use caution in this version. I firmly recommend not using the legacy device detection mode.
-
Updated changelog
-
Bundle dependencies
-
Bumped dependencies
2024-08-29
- Finished enabling support for opencl-devices
-
Code changes to try and make golangci-lint happy
-
Minor cleanup of hashcat session code
-
Minor code cleanup
-
Devices are now identified using hashcat rather than a brittle shell script
The system now runs a tiny attack job upon the agent’s startup, which verifies that the hashcat is working correctly and then identifies the devices detected by the hashcat. This is much more accurate than the legacy technique since it conforms to what hashcat will actually use.
-
Added automatic hashcat capability
The hashcat session will be stored in the data directory, and if one is detected, it will automatically attempt to resume it when starting the attack. When the attack is complete, the restore file will be removed.
-
Updated changelog
-
Update changelog
-
Updated CHANGELOG
2024-08-27
-
Fixed an issue causing SegFaults on weird HTTP errors
-
Fixed an issue causing SegFaults on weird HTTP errors
- Updated ChangeLog
2024-08-26
- Added significant error checking to client to prevent nil crashes
- Updated CHANGELOG
2024-08-26
- Added support for mask list files from v0.5.0 of API
- Update changelog
2024-08-06
-
Upgraded to support version v0.7.2 of API
The API was refactored, introducing breaking changes in the SDK, so we needed to rename some packages and objects.
- Minor cleanup to meet formatting standards
- Minor grammar changes to the README
- Updated changelog
2024-07-31
-
Automatic benchmark now performs all hash types
Since the benchmarking function determines what hash types this agent supports, we needed to change the feature to benchmark all hash types, not just the common ones. The agent’s initial startup is significantly slower now but supports more functionality. This can be turned off by setting
enable_additional_hash_types: false
in the agent config.
- Updated changelog
2024-07-29
-
Added support for bidirectional status on status updates
This enables running tasks to be notified of hashes cracked in another task and pause tasks currently running.
We also added support for using a shared directory as a zap synchronization point. If configured, cracked hashes will be written to a directory, and the client will monitor that directory for new zaps.
- Updated changelog
2024-07-23
- Tasks are accepted before the downloads start
-
Updated changelog
-
Bumped chglog
2024-07-12
-
Fixed issue with always_use_native_hashcat on server messing up the client
When the server setting was set for the agent, the agent was not finding hashcat, but also not allowing it to be set via config or environment variable.
-
Removed exessive output in standard debugging
-
Files directory can be set separate of the data dir
-
Replaced tail library with one still maintained
- Add support for zaps
-
Updated changelog and bumped version number
-
Bumped dependencies
2024-07-10
- Added more checking for null tasks or attacks
-
Updated changelog
-
Bumped module versions
2024-07-01
- Moved utility code out of agentClient.go
- Updated Changelog
2024-06-21
- Correctly handle when a running task is deleted
- Update changelog
2024-06-17
- Fix incorrect status and benchmark output
- Update changelog
2024-06-16
-
Updated to support v0.4.1 of CipherSwarm SDK
-
Docker now finds hashcat correctly
-
Added the ability to override checking checksums
This is useful when you set the data directory to be a network share
-
Bumped version tag
-
updated changelog
2024-06-16
-
Updated to support v0.4.1 of CipherSwarm SDK
-
Docker now finds hashcat correctly
-
Added the ability to override checking checksums
This is useful when you set the data directory to be a network share
- updated changelog
2024-06-14
-
Updated changelog
-
Updated goreleaser config format
2024-06-14
- Handle failure of getting agent config
- updated changelog
2024-06-14
- Download files are now compare checksums correctly
-
Agent now tells server its offline when shutting down
This marks the agent offline and frees up the tasks to be handled by another agent.
-
Add bidirectional status
Benchmarks are now determined by the server on the heartbeat.
-
Added error metadata
-
updated changelog
-
Remove boring stuff from changelog
2024-06-01
-
Fixed failure on dangling lock
Fixed the bug where the agent died if there was a dangling lock.pid
-
Add support for the agent error API
The agent will now send any errors to the server for collection.
-
Add parallel file downloads
Replaced the word and rule file downloads to use go-getter in parallel using go routines
-
Updated changelog
-
Updated changelog
2024-05-28
-
Add parallel file downloads
Replaced the word and rule file downloads to use go-getter in parallel using go routines
-
Updated changelog
-
Update changelog
2024-05-21
- Move to v0.2.0 of the SDK
-
Update change log
-
Updated change logs
-
Updated Changelog
-
Bumped versions on dependencies
2024-05-15
2024-05-15
- Update to latest Agent SDK v0.1.9
-
Updated changelog
-
Add note about Conventional Commits
- Add changelog action
- Add gitlint to enforce conventional commits
2024-05-13
- Added improved changelog support
2024-05-09
2024-05-07
2024-05-06
2024-05-06
2024-05-01
2024-04-30