mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-04-28 03:53:10 -07:00
fix(docs): use correct brew formula transmission-cli, clarify both deps
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
4
Makefile
4
Makefile
@@ -79,7 +79,7 @@ install: submodules
|
||||
}; \
|
||||
command -v brew >/dev/null 2>&1 || { echo >&2 "Homebrew not found. Please install Homebrew first: https://brew.sh/"; exit 1; }; \
|
||||
command -v 7z >/dev/null 2>&1 || brew install p7zip; \
|
||||
command -v transmission-daemon >/dev/null 2>&1 || brew install transmission; \
|
||||
command -v transmission-daemon >/dev/null 2>&1 || brew install transmission-cli; \
|
||||
elif [ -f /etc/debian_version ]; then \
|
||||
echo "Detected Debian/Ubuntu"; \
|
||||
command -v gcc >/dev/null 2>&1 || { sudo apt-get update && sudo apt-get install -y build-essential; }; \
|
||||
@@ -159,7 +159,7 @@ uninstall:
|
||||
@if [ "$(shell uname)" = "Darwin" ]; then \
|
||||
echo "Detected macOS"; \
|
||||
command -v brew >/dev/null 2>&1 || { echo >&2 "Homebrew not found. Please uninstall Homebrew packages manually."; exit 1; }; \
|
||||
brew uninstall --ignore-dependencies p7zip transmission || true; \
|
||||
brew uninstall --ignore-dependencies p7zip transmission-cli || true; \
|
||||
rm -rf ~/.cache/uv; \
|
||||
elif [ -f /etc/debian_version ]; then \
|
||||
echo "Detected Debian/Ubuntu"; \
|
||||
|
||||
@@ -45,7 +45,7 @@ Then customize configuration in `config.json` if needed (wordlist paths, API key
|
||||
### 3. Install dependencies and hate_crack
|
||||
|
||||
The easiest way is to run `make` (or `make install`), which auto-detects your OS and installs:
|
||||
- External dependencies (p7zip, transmission-daemon)
|
||||
- External dependencies (p7zip, transmission-daemon / transmission-remote)
|
||||
- Builds submodules (hashcat-utils, princeprocessor, and optionally omen)
|
||||
- Python dependencies via uv and a CLI shim at `~/.local/bin/hate_crack`
|
||||
|
||||
@@ -77,7 +77,7 @@ sudo apt-get install -y p7zip-full transmission-daemon
|
||||
|
||||
macOS (Homebrew):
|
||||
```bash
|
||||
brew install p7zip transmission
|
||||
brew install p7zip transmission-cli
|
||||
```
|
||||
|
||||
Then install the Python dependencies and CLI shim:
|
||||
@@ -583,7 +583,7 @@ Set any of the following to enable live checks:
|
||||
- `HASHMOB_TEST_REAL=1` — live Hashmob connectivity/CLI menu check
|
||||
- `HASHVIEW_TEST_REAL=1` — live Hashview CLI menu check
|
||||
- `WEAKPASS_TEST_REAL=1` — live Weakpass CLI menu check
|
||||
- `HATE_CRACK_REQUIRE_DEPS=1` — fail if `7z` or `transmission-daemon` is missing
|
||||
- `HATE_CRACK_REQUIRE_DEPS=1` — fail if `7z`, `transmission-daemon`, or `transmission-remote` is missing
|
||||
|
||||
### Live Hashview Upload Test
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ make coverage
|
||||
| `HASHMOB_TEST_REAL=1` | Enable live Hashmob connectivity tests |
|
||||
| `HASHVIEW_TEST_REAL=1` | Enable live Hashview CLI menu tests |
|
||||
| `WEAKPASS_TEST_REAL=1` | Enable live Weakpass CLI menu tests |
|
||||
| `HATE_CRACK_REQUIRE_DEPS=1` | Fail if `7z` or `transmission-daemon` are missing |
|
||||
| `HATE_CRACK_REQUIRE_DEPS=1` | Fail if `7z`, `transmission-daemon`, or `transmission-remote` are missing |
|
||||
| `HATE_CRACK_RUN_LIVE_TESTS=1` | Enable live Hashview upload test (requires valid credentials in `config.json`) |
|
||||
| `HATE_CRACK_RUN_LIVE_HASHVIEW_TESTS=1` | Enable live Hashview wordlist upload test |
|
||||
| `HATE_CRACK_RUN_E2E=1` | Enable local uv tool install E2E test |
|
||||
|
||||
Reference in New Issue
Block a user