Skip to main content

adding-an-attack

Use when adding a new attack mode to hate_crack — the exact six wiring steps across main.py, attacks.py, and hate_crack.py, including the duplicate menu mapping that is easy to miss.

소스 정보

저장소
trustedsec/hate_crack
최근 소스 활동
2026년 8월 21일 16:30
감지된 SKILL.md 언어
영어
스타
1,866
포크
283

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
adding-an-attack
description
Use when adding a new attack mode to hate_crack — the exact six wiring steps across main.py, attacks.py, and hate_crack.py, including the duplicate menu mapping that is easy to miss.
# Adding a New Attack An attack spans three files (see "Three-Layer Attack Pattern" in `CLAUDE.md`). Do all six steps — skipping step 6 leaves the attack invisible from the root entry point even though it works via `main.py`. 1. Add the hashcat wrapper function in `main.py` (e.g. `hcatMyAttack(...)`) 2. Add the handler in `attacks.py` (e.g. `def my_attack(ctx: Any)`) 3. Add a dispatcher in `main.py`: `def my_attack(): return _attacks.my_attack(_attack_ctx())` 4. Add the print line in `main.py`'s menu display loop (~line 3807+) 5. Add the menu entry in `main.py`'s `get_main_menu_options()` 6. Add the menu entry in `hate_crack.py`'s `get_main_menu_options()` (the duplicate)
GitHub에서 보기