Commit Graph
100 Commits
Author SHA1 Message Date
Justin Bollinger 944064ffc7 expanded tests and hashview menu changes 2026-02-03 19:28:45 -05:00
Justin Bollinger 5bc0ada206 Merge branch 'main' of https://github.com/trustedsec/hate_crack 2026-02-03 17:21:43 -05:00
Justin Bollinger 8513754ab0 updated formatting to take account terminal width 2026-02-03 17:10:00 -05:00
Justin Bollinger 0b7b9dfd7f updated formatting to take account terminal width 2026-02-03 17:07:26 -05:00
Justin Bollinger a399f24dc5 updated formatting to take account terminal width 2026-02-03 17:05:27 -05:00
Justin Bollinger f79fd45ff8 updated formatting to take account terminal width 2026-02-03 17:01:57 -05:00
Justin Bollinger 74e6987a89 fixed menu option by number 2026-02-03 14:53:57 -05:00
Justin Bollinger d9172c94ee fixed pathing issue with hybrid 2026-02-02 16:06:55 -05:00
Justin Bollinger 9e42d905d2 fixed pathing issue with hybrid 2026-02-02 15:56:16 -05:00
Justin Bollinger 267de30753 updated formatting for rules listing 2026-02-02 13:22:41 -05:00
Justin Bollinger 25c280628e fixed menu pytest options that failed after updating them 2026-02-02 13:18:12 -05:00
Justin Bollinger ac71a7f2b3 fixed menu pytest options that failed after updating them 2026-02-02 13:16:20 -05:00
Justin Bollinger 3cdfab477c possible fix for hashonly 2026-02-02 13:12:35 -05:00
Justin Bollinger 98a5fa0fcd fixed wordlist directory issue when using tools 2026-02-02 12:50:57 -05:00
Justin Bollinger 00f4348637 updated Makefile to enhance uninstall 2026-02-02 12:39:55 -05:00
Justin Bollinger b074b5d784 fixed wordlist display 2026-02-02 12:39:24 -05:00
Justin Bollinger 4fa8af4684 updated formatting for the output of wordlists and standardizing 2026-02-02 12:30:06 -05:00
Justin Bollinger fe8bde2302 config file location issues 2026-02-02 11:53:12 -05:00
Justin Bollinger be5886a735 makefile asset issues 2026-02-01 23:49:19 -05:00
Justin Bollinger 35737b645b uv toll uninstall fix 2026-02-01 23:46:46 -05:00
Justin Bollinger 8fd7dcf30c updated Makefile submodule 2026-02-01 23:39:02 -05:00
Justin Bollinger ac639e3f8f updated Makefile submodule 2026-02-01 23:37:03 -05:00
Justin Bollinger a7c2636175 updated Makefile submodule 2026-02-01 23:35:20 -05:00
Justin Bollinger 158eee4747 fixed pathing issue 2026-02-01 23:18:54 -05:00
Justin Bollinger fef4d5794a fixed pathing issue 2026-02-01 23:16:19 -05:00
Justin Bollinger bda34fde81 fixed pathing issue 2026-02-01 23:11:40 -05:00
Justin Bollinger 2f0419e809 fixed pathing issue 2026-02-01 22:43:44 -05:00
Justin Bollinger 892eb6b839 Revert ancestor asset lookup 2026-02-01 22:41:42 -05:00
Justin Bollinger 9695e1b676 Fix uv tool asset lookup 2026-02-01 22:32:24 -05:00
Justin Bollinger 18efb9592e fixed pathing issues and automatic building of files due to relative paths 2026-02-01 22:19:28 -05:00
Justin Bollinger 2c8c2e61a9 Remove automatic make execution in ensure_binary
Instead of automatically running 'make' when binaries are missing,
now provides clear instructions for users to manually build utilities.

This gives users more control and makes the build process explicit.
Users will see: 'Please build the utilities by running: cd <dir> && make'
2026-02-01 22:10:58 -05:00
Justin Bollinger 3a858c7e7d Add regression tests for asset path separation
Tests now verify that hashcat-utils are loaded from hate_crack repo
even when hcatPath points to a different directory (like /opt/hashcat).

Why previous tests didn't catch this bug:
- config.json.example has hcatPath = "" (empty)
- Code has fallback: hcatPath = config.get('hcatPath', '') or hate_path
- So hcatPath accidentally defaulted to hate_path during testing
- This masked the bug where utilities incorrectly used hcatPath

Added tests that would have caught this:
- test_hashcat_utils_uses_hate_path_not_hcat_path
- test_config_with_explicit_hashcat_path
- test_readme_documents_correct_usage

Also added code comment documenting the fallback behavior.
2026-02-01 22:06:52 -05:00
Justin Bollinger 80fca8f41b Fix asset path resolution: separate hashcat and hate_crack locations
BREAKING CHANGE: Corrected understanding of hcatPath configuration

- hcatPath should point to hashcat binary location (or omit if in PATH)
- hashcat-utils and princeprocessor are located in hate_crack repo
- Changed code to use hate_path for utilities instead of hcatPath
- Updated error messages to guide users correctly
- Updated README with correct configuration examples
- Asset discovery now properly uses HATE_CRACK_HOME environment variable

This fixes the issue where users had hcatPath pointing to hashcat
installation but the code was looking there for hashcat-utils.
2026-02-01 22:05:27 -05:00
Justin Bollinger 604da2a3e2 Improve error handling for misconfigured hcatPath
- Add directory existence check in ensure_binary() before attempting make
- Provide clear error message when build directory doesn't exist
- Add troubleshooting section to README.md explaining common hcatPath mistakes
- Add tests for invalid hcatPath scenario and installed tool execution
- Helps users distinguish between hashcat path and hate_crack path

Fixes issue where users set hcatPath to hashcat installation directory
instead of hate_crack repository directory, causing confusing errors.
2026-02-01 22:02:35 -05:00
Justin Bollinger d23a0a8be8 issue executing hate_crack from make install outside of the install directory 2026-02-01 21:54:33 -05:00
Justin BollingerandGitHub b68a79fadd Merge pull request #66 from trustedsec/makefile_additions
Updated Makefile
2026-02-01 20:47:48 -05:00
Justin Bollinger 82d2a1a13a updated makefile 2026-02-01 20:46:01 -05:00
Justin BollingerandGitHub 255c9b212a Merge pull request #61 from trustedsec/ci-github-actions
Add CI workflow and E2E install tests
2026-01-31 23:47:32 -05:00
Justin Bollinger b9161441c4 Print hashview menu header even when API key missing 2026-01-31 23:46:28 -05:00
Justin Bollinger a4ad60e51b CI: set HATE_CRACK_SKIP_INIT for tests 2026-01-31 23:44:49 -05:00
Justin Bollinger 277ab2deef CI: use venv python for pytest 2026-01-31 23:43:35 -05:00
Justin Bollinger 0351431806 Merge draft PR #65 2026-01-31 23:41:33 -05:00
Justin Bollinger fb3911cba5 Merge draft PR #64 2026-01-31 23:40:41 -05:00
Justin Bollinger 793bae9114 Merge draft PR #63 2026-01-31 23:40:09 -05:00
Justin Bollinger 46e9b9546c Merge draft PR #62 2026-01-31 23:39:11 -05:00
Justin Bollinger 2063292937 CI: create uv venv before installing deps 2026-01-31 23:31:30 -05:00
Justin Bollinger 0fdb3005df CI: install project deps before pytest 2026-01-31 23:24:19 -05:00
Justin Bollinger e163e58f93 CI: install pytest 2026-01-31 23:22:04 -05:00
Justin Bollinger fbd8d7041f Add make test and update testing docs 2026-01-31 23:17:16 -05:00
Justin Bollinger 60db30eb83 Use Makefile in Docker test image 2026-01-31 23:08:50 -05:00
Justin Bollinger 1b01993a19 Expand Docker E2E tests with hashcat crack 2026-01-31 23:01:14 -05:00
Justin Bollinger 9863dcd201 Add GitHub Actions test workflow 2026-01-31 22:54:08 -05:00
Justin Bollinger 203afb3d82 Restore hate_crack package and add E2E install tests 2026-01-31 22:50:51 -05:00
Justin Bollinger c298008f8e added uv pytest 2026-01-30 16:47:05 -05:00
Justin Bollinger ea251904c9 fixed uv tool install 2026-01-30 16:39:03 -05:00
Justin Bollinger b3d7576e35 updated tests 2026-01-28 10:56:00 -05:00
Justin Bollinger fd293a75c6 updated tests 2026-01-27 20:04:45 -05:00
Justin Bollinger d788f31f84 updated hashview apis and tests. 2026-01-27 16:00:09 -05:00
Justin Bollinger 2dd8ca0029 updated pytests for hashview 2026-01-27 13:24:38 -05:00
Justin Bollinger 6899796da1 updated pytests for hashview 2026-01-27 13:22:55 -05:00
Justin BollingerandGitHub a1d7d9198a Update README with submodule initialization instructions
Added instructions for initializing submodules if not cloned recursively.
2026-01-27 13:07:03 -05:00
Justin BollingerandGitHub 8739d830ee Improve submodule initialization instructions in README
Updated README with clearer instructions for submodule initialization.
2026-01-27 13:06:21 -05:00
Justin BollingerandGitHub bc35662b83 Revise README for cloning, usage, and testing instructions
Updated README to reflect changes in cloning method, usage command, and test execution.
2026-01-27 13:05:32 -05:00
Justin BollingerandGitHub 1cedb74f13 Merge pull request #60 from trustedsec/expander
updated readme
2026-01-27 13:00:45 -05:00
Justin Bollinger 5034c75d8b updated configfile for hashmob_api_key 2026-01-27 12:54:48 -05:00
Justin Bollinger 8fc9d4323c test for hashcat_utils 2026-01-26 23:28:43 -05:00
Justin Bollinger 15540bd2d1 Merge remote-tracking branch 'refs/remotes/origin/main' 2026-01-26 23:28:09 -05:00
Justin Bollinger f6e459ade9 code cleanup 2026-01-26 23:27:55 -05:00
Justin Bollinger 248e8b8087 updated .gitignore 2026-01-26 23:11:27 -05:00
Justin Bollinger 7975d47c67 updated readme 2026-01-26 23:02:31 -05:00
Justin BollingerandGitHub 0c162904bd Merge pull request #59 from trustedsec/rules
automatic rules
2026-01-26 22:58:09 -05:00
Justin Bollinger 4091780a11 automatic rules 2026-01-26 22:57:46 -05:00
Justin BollingerandGitHub b8583c5fff Merge pull request #58 from trustedsec/pipal
Pipal
2026-01-26 22:13:10 -05:00
Justin Bollinger a53719cfe1 pipal print 2026-01-26 22:10:11 -05:00
Justin Bollinger a0d3286d28 pipal tests 2026-01-26 22:05:19 -05:00
Justin Bollinger 78056b6d1f moved comments back to top 2026-01-26 21:54:39 -05:00
Justin BollingerandGitHub cac60cac9e Merge pull request #57 from trustedsec/filter_customers
Filter customers
2026-01-26 21:28:52 -05:00
Justin Bollinger de349b5c85 updated wordlists downloading 2026-01-26 21:28:17 -05:00
Justin Bollinger e795bbbf6b added new tests 2026-01-26 21:08:04 -05:00
Justin Bollinger 9bdd8bcbb1 updated wordlist downloading functions 2026-01-26 21:06:12 -05:00
Justin BollingerandGitHub b2a1d6a61f Merge pull request #56 from trustedsec/wordlist_downloaders
Wordlist downloaders
2026-01-26 16:12:27 -05:00
Justin Bollinger a46ea5897a weakpass tests and migration to api.py 2026-01-26 16:10:58 -05:00
Justin Bollinger 544ee2dba3 cleanup of modules 2026-01-26 14:29:39 -05:00
Justin Bollinger 17e8298f07 Version2 initial commits 2026-01-26 13:44:02 -05:00
Justin BollingerandGitHub b1dc328314 Merge pull request #55 from trustedsec/wordlist_downloaders
Version 2.0 initial commits
2026-01-26 13:38:14 -05:00
Justin BollingerandGitHub 1cc8c46e65 Merge pull request #54 from trustedsec/hashview
Hashview
2026-01-26 13:37:56 -05:00
Justin Bollinger 83f21f9351 update README for version 2 2026-01-26 13:35:08 -05:00
Justin Bollinger 0b978a6324 major refactor and version change to 2.0 2026-01-26 13:33:20 -05:00
Justin Bollinger 4a47848988 major refactor and version change to 2.0 2026-01-26 13:32:37 -05:00
Justin Bollinger 04f82e6651 removed failing automated tests 2026-01-25 19:52:50 -05:00
Justin Bollinger 4111e010d4 hashcat-util overhaul to automatically compile using make 2026-01-25 19:51:06 -05:00
Justin Bollinger ceca2b05df hashcat-util overhaul to automatically compile using make 2026-01-25 19:48:25 -05:00
Justin Bollinger 06f9477071 updated hashcat path 2026-01-25 19:23:37 -05:00
Justin Bollinger e5b5249ed6 actions try 2 2026-01-25 19:20:33 -05:00
Justin Bollinger fe4731753b temporary removed create option from menu 2026-01-25 19:16:58 -05:00
Justin Bollinger eb7079e468 github actions 2026-01-25 19:16:17 -05:00
Justin Bollinger e0ec4bf00a disabled create job feature until api is fixed 2026-01-25 15:13:00 -05:00
Justin Bollinger 38092c9613 updated bins. replaced the mac bins with arm mac bins. if you need intel bins you'll need to compile them yourself 2026-01-25 15:09:23 -05:00
Justin Bollinger 9186fca08a Testing README 2026-01-25 15:06:08 -05:00
Justin Bollinger de366ba3f8 hashlist download fix 2026-01-21 20:42:49 -05:00