Commit Graph

9 Commits

Author SHA1 Message Date
Justin Bollinger
f43bf2c982 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
69fc9b3414 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
01f4e55e85 major refactor and version change to 2.0 2026-01-26 13:32:37 -05:00
i128
b7c9d095d9 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
b6ca86130a Add Pipal menu 2019-07-27 18:32:25 -05:00
bandrel
bb50e46b7e Added file handling logic to create new folders if needed 2019-01-02 10:12:10 -05:00
bandrel
bf17452e42 automated check for OSX vs Linux 2018-05-04 16:02:15 -04:00
Justin Bollinger
7c7d904de2 updated EOL characters and removed tabs 2018-01-26 15:23:55 -05:00
Justin Bollinger
65ed6604e4 Initial Commit 2018-01-26 13:14:00 -05:00