You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>> AI-Powered Hacking Terminal | 100% Local | No Censorship <<
17
16
```
18
17
19
-
# HackCode
18
+
<h3align="center">The open-source, uncensored alternative to Claude Code.<br>Built for hackers. Runs entirely on your machine.</h3>
20
19
21
-
**The AI-powered hacking terminal for penetration testers, security researchers, CTF players, and red teamers.**
20
+
<palign="center">
21
+
<ahref="#install">Install</a> •
22
+
<ahref="#how-it-works">How It Works</a> •
23
+
<ahref="#models">Models</a> •
24
+
<ahref="#tools">Tools</a> •
25
+
<ahref="#contributing">Contributing</a>
26
+
</p>
22
27
23
-
HackCode is an open-source AI terminal built on a Rust engine forked from [Claw Code](https://github.com/antinomezco/claw-code). It runs **100% locally** with uncensored AI models via [Ollama](https://ollama.ai). No cloud APIs, no censorship, no data leaving your machine.
28
+
---
24
29
25
-
> **ALPHA SOFTWARE — Expect rough edges, missing features, and breaking changes. Contributions and bug reports welcome.**
30
+
## The Problem
26
31
27
-
> **LEGAL NOTICE:** This tool is built strictly for **authorized security testing, education, and research**. Using HackCode against systems without explicit written permission is **illegal** and may violate laws including the Computer Fraud and Abuse Act (CFAA), the Computer Misuse Act, and similar legislation worldwide. The developers accept **zero liability** for misuse. Always get written authorization before testing.
32
+
Claude Code is powerful. But it requires a $20/month subscription, sends every prompt to the cloud, and **refuses to help with security work**. Ask it to scan a network, write an exploit, or crack a hash — it says no.
28
33
29
-
---
34
+
If you're a penetration tester, red teamer, CTF player, or security researcher, you need an AI that actually works with you. Not against you.
35
+
36
+
## The Solution
30
37
31
-
## Why HackCode?
38
+
**HackCode** is built on [Claw Code](https://github.com/ultraworkers/claw-code) — an open-source recreation of Claude Code's engine, reverse-engineered and rewritten in Rust. Same architecture. Same tool-calling system. Same agentic workflow.
39
+
40
+
Except it's free, it's local, and it doesn't say no.
41
+
42
+
No API keys. No subscriptions. No cloud. No filters. No refusals.
43
+
44
+
Just you, your machine, and an AI that does what you ask.
45
+
46
+
---
32
47
33
-
-**Rust engine** — Fast, native binary. No Node.js, no Python runtime, no garbage collection
34
-
-**100% local** — Your prompts, targets, and results never leave your machine
Works on **macOS** (Apple Silicon & Intel) and **Linux** (x64 & ARM64). Runs natively on **Kali Linux**.
66
+
67
+
---
68
+
56
69
## First Run
57
70
58
-
Just run `hackcode`. The setup wizard handles everything:
71
+
Run `hackcode`. The setup wizard does the rest.
59
72
60
-
1.**Detects your hardware** — GPU, RAM, platform
61
-
2.**Installs Ollama** — If not already installed
62
-
3.**Downloads the best model** — Picks the largest uncensored model that fits your RAM
63
-
4.**Installs security tools** — nmap, gobuster, nikto, hydra, sqlmap, etc. via Homebrew/apt
73
+
It detects your hardware, installs [Ollama](https://ollama.ai) if needed, downloads the best uncensored model for your RAM, and installs security tools — all automatically.
64
74
65
75
```
66
76
$ hackcode
@@ -71,30 +81,29 @@ $ hackcode
71
81
Platform: macos (aarch64)
72
82
73
83
[Step 1/3] AI Backend
74
-
Ollama ✓ installed
84
+
Ollama installed
75
85
76
86
[Step 2/3] AI Model
77
87
Recommended: Qwen3.5-35B-A3B Uncensored (MoE)
78
88
79
89
[Step 3/3] Security Tools
80
-
✓ All tools installed
90
+
All tools installed
81
91
82
92
[HackCode] Setup complete!
83
93
```
84
94
85
-
## Usage
95
+
Zero configuration. Zero decisions. It just works.
86
96
87
-
```bash
88
-
hackcode # Start the interactive REPL
89
-
hackcode --scan # Scan for installed security tools
90
-
hackcode --setup # Re-run the setup wizard
91
-
hackcode --help # Show all commands
92
-
```
97
+
---
98
+
99
+
## How It Works
100
+
101
+
HackCode isn't a chatbot. It's an **AI agent** with full access to your terminal.
93
102
94
-
### Example Session
103
+
You describe what you want. HackCode plans the approach, picks the right tools, executes commands, reads the output, and chains the next step — automatically. You watch it work.
95
104
96
105
```
97
-
> scan 10.0.0.1
106
+
> scan 10.0.0.1 and find vulnerabilities
98
107
99
108
▶ bash $ nmap -sV -sC 10.0.0.1
100
109
✓ bash
@@ -104,93 +113,180 @@ hackcode --help # Show all commands
104
113
443/tcp open ssl/http Apache 2.4.52
105
114
3306/tcp open mysql MySQL 8.0.32
106
115
107
-
Found 4 open ports. Running whatweb for web fingerprinting...
116
+
Found 4 open ports. Web server detected — fingerprinting...
The 35B MoE model uses only 3B active parameters per token — so it runs fast — while having 35B total parameters for high-quality output. Best of both worlds.
Missing a tool? HackCode installs it for you automatically via Homebrew or apt.
149
198
150
-
Config lives at `~/.config/hackcode/config.json`:
199
+
---
200
+
201
+
## Usage
151
202
152
-
```json
153
-
{
154
-
"model": "hackcode-uncensored",
155
-
"baseURL": "http://localhost:11434/v1"
156
-
}
203
+
```bash
204
+
hackcode # Start hacking
205
+
hackcode --scan # Show installed security tools
206
+
hackcode --setup # Re-run the setup wizard
207
+
hackcode --update # Update to the latest version
208
+
hackcode --help # Show all commands
157
209
```
158
210
159
-
Re-run setup anytime with `hackcode --setup`.
211
+
Inside the REPL:
160
212
161
-
## Architecture
213
+
```
214
+
/help # List all commands
215
+
/tools # Show available security tools
216
+
/status # Current session info
217
+
/compact # Summarize and free context
218
+
```
162
219
163
-
HackCode's engine is a Rust fork of [Claw Code](https://github.com/antinomezco/claw-code), which is itself a Rust implementation of Claude Code's architecture. The engine provides:
220
+
---
164
221
165
-
-**Streaming AI responses** with markdown rendering
-**Ollama integration** — auto-start, model management, OpenAI-compatible API
169
-
-**Qwen3.5 native renderer** — proper tool-calling format, thinking mode handling
222
+
## Architecture
170
223
171
-
### Project Structure
224
+
HackCode is a fork of [Claw Code](https://github.com/ultraworkers/claw-code) — an open-source Rust recreation of Claude Code's architecture. Same streaming engine, same tool execution pipeline, same agentic loop. Rebuilt for offensive security.
Upstream improvements from Claw Code are synced daily via GitHub Actions — new tools, bug fixes, and engine improvements flow in automatically while your HackCode customizations stay intact.
261
+
262
+
---
263
+
264
+
## Contributing
265
+
266
+
HackCode is open source and welcomes contributions. See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
267
+
268
+
Areas where help is needed:
269
+
- New security tool integrations
270
+
- MCP server plugins for specific tools (Burp Suite, Wireshark, etc.)
271
+
- Model fine-tuning for security tasks
272
+
- Testing on different Linux distributions
273
+
- Documentation and cheatsheets
274
+
275
+
---
276
+
277
+
## Legal
278
+
279
+
This tool is built for **authorized security testing, education, and research only**.
280
+
281
+
Using HackCode against systems without explicit written permission is illegal and may violate the Computer Fraud and Abuse Act (CFAA), the Computer Misuse Act, and similar laws worldwide.
282
+
283
+
The developers accept zero liability for misuse. Always get written authorization before testing.
284
+
285
+
---
286
+
190
287
## Credits
191
288
192
-
- Engine forked from [Claw Code](https://github.com/antinomezco/claw-code) by [@antinomezco](https://github.com/antinomezco)
193
-
- Uncensored models by [tripolskypetr](https://ollama.com/tripolskypetr) and [vaultbox](https://ollama.com/vaultbox)
289
+
Engine forked from [Claw Code](https://github.com/ultraworkers/claw-code). Uncensored models by [tripolskypetr](https://ollama.com/tripolskypetr) and [vaultbox](https://ollama.com/vaultbox).
194
290
195
291
## License
196
292
@@ -199,6 +295,6 @@ MIT License. See [LICENSE](LICENSE) for details.
199
295
---
200
296
201
297
<palign="center">
202
-
<strong>Built for authorized security testing only.</strong><br>
203
-
<em>If you break the law, that's on you.</em>
298
+
<strong>Stop paying for AI that says no.</strong><br>
0 commit comments