Commit Graph
9 Commits
Author SHA1 Message Date
Justin Bollinger 5fe6e21405 feat: add ngramX attack and gzip auto-detection for external binaries
- Add _is_gzipped() magic-byte detector and _wordlist_path() context
  manager that transparently decompresses gzip files to a temp path
- Apply gzip handling to hcatCombinator3 and hcatCombinatorX via
  contextlib.ExitStack so compressed wordlists work without manual prep
- Add hcatNgramX() wrapper using ngramX.bin <corpus> <group_size> piped
  to hashcat, with gzip auto-detection on the corpus file
- Add ngram_attack() handler in attacks.py with tab-autocomplete corpus
  selection and configurable group size (default 3)
- Register attack as menu option 19 in both main.py and hate_crack.py
- Fix wordlist_optimizer.py: .app extension on macOS was wrong, use .bin
- Add tests/test_ngram_gzip.py covering ngram_attack handler, _is_gzipped,
  and _wordlist_path context manager (temp file cleanup, plain passthrough)
2026-03-19 14:35:29 -04:00
Justin Bollinger 9423b5a64d feat: restore wordlist_optimizer.py with modernizations
- Resolve binary paths relative to script location with platform-specific extensions
- Replace shell=True with proper subprocess.run argument lists (security fix)
- Convert %-formatting to f-strings throughout
- Replace lineCount() utility with os.path.getsize()
- Add fail-fast error handling with actionable messages
- Verify binaries exist before running
2026-03-17 19:15:20 -04:00
Justin Bollinger 4a47848988 major refactor and version change to 2.0 2026-01-26 13:32:37 -05:00
i128andGitHub 45e6843c55 Update wordlist_optimizer.py
Updated copy command to allow correct execution outside of the /tmp/splitlen/ folder
2021-01-20 14:58:29 -06:00
Jeff H 6606660329 Add Pipal menu 2019-07-27 18:32:25 -05:00
bandrel e5d43788c5 Added file handling logic to create new folders if needed 2019-01-02 10:12:10 -05:00
bandrel 163f845728 automated check for OSX vs Linux 2018-05-04 16:02:15 -04:00
Justin Bollinger 9ce783d422 updated EOL characters and removed tabs 2018-01-26 15:23:55 -05:00
Justin Bollinger bb221069ec Initial Commit 2018-01-26 13:14:00 -05:00