HACKNET v2.4.1 is a terminal-based hacking simulator that immerses you in a realistic cybersecurity challenge. Play as a hacker accepting contracts, exploiting vulnerabilities, escalating privileges, and exfiltrating dataโall while avoiding detection. The game features 4 unique contracts, 9 unlockable tools, and a dynamic difficulty system that adapts to your skill level.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ACCEPT CONTRACT โ CONNECT TO TARGET โ RECON โ EXPLOIT โ
โ โ ESCALATE โ EXFILTRATE โ COVER TRACKS โ SUBMIT โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
| Contract | Difficulty | Target | Reward | Rep | Objectives |
|---|---|---|---|---|---|
| Acme Corp โ Data Exfiltration | ๐ด HARD | 192.168.45.23 |
$15,000 | +20 | 5 (Scan, Exploit, Escalate, Download, Cover) |
| Stolen Laptop โ Photo Recovery | ๐ข EASY | 127.0.0.1 |
$2,500 | +8 | 3 (Bypass, Locate, Recover) |
| NexGen Bank โ Wire Fraud | ๐ด HARD | 10.42.0.1 |
$50,000 | +35 | 5 (Scan, Exploit, Pivot, Transfer, Cover) |
| Operation Silent Night โ NSA | ๐ IMPOSSIBLE | 10.0.0.1 |
$250,000 | +50 | 5 (Zero-day, Scan, Locate, Exfil, Cover All) |
| Tool | Cost | Function |
|---|---|---|
nmap |
FREE | Port scanner, service enumeration |
hydra |
$500 | Brute-force password cracker |
john |
$300 | Hash cracker |
wireshark |
$400 | Packet sniffer |
sqlmap |
$1,000 | SQL injection automation |
burpsuite |
$800 | Web proxy & intercept |
metasploit |
$2,000 | Exploit framework |
proxychains |
$1,200 | Hide your IP, reduce trace |
aircrack |
$1,500 | WiFi cracking |
| Category | Commands |
|---|---|
| General | help, contracts, accept, status, shop, buy, clear |
| Network | connect, disconnect, ping, ifconfig, traceroute, proxychains |
| Recon | nmap, scan, searchsploit |
| Exploitation | exploit, hydra, sqlmap, sudo su - |
| Post-Exploit | ls, cat, cd, pwd, download, wget, mysql |
| Evasion | cover_tracks, clear_logs, proxy |
| System | whoami, uname, ps, history, submit |
- Increases with every action (scanning, exploiting, downloading)
- Visual feedback with color-coded progress bar
- ๐ข 0-39%: Safe
- ๐ก 40-59%: Elevated (warning)
- ๐ 60-79%: High risk (alert)
- ๐ด 80-99%: Critical (toast warning)
- ๐ 100%: Traced โ connection burned, reputation loss
- Reduce trace with
proxychainsor disconnecting
- 5 tiers based on reputation score (0-100)
Script Kiddie(0-20) โ ๐ข GreenHacker(21-40) โ ๐ต CyanElite(41-60) โ ๐ก Yellow1337(61-80) โ ๐ด RedAnonymous(81-100) โ ๐ฃ Purple
- Unlocks higher-difficulty contracts
- Affects contract availability and rewards
- Earn credits from completed contracts
- Spend credits on tools in darknet shop
- Partial completion rewards based on objectives done
- Each contract has 3-5 specific objectives
- Track progress in right panel
- Real-time updates when objectives complete
- Contract submission rewards based on completion percentage
- Custom CRT effects with scanlines and vignette
- Matrix-style green (
#39ff14) primary color - Realistic progress bars with percentage animation
- Typing delays for commands and outputs
- ASCII art boot sequence with HACKNET logo
- Command history with arrow key navigation
- Ctrl+K shortcut to focus terminal
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ HACKNET v2.4.1 darknet [enc] anonymous โโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโ โ
โ โ DARKNET โ โ TERMINAL โ โ STATUS โ โ
โ โ BOARD โ โ $ nmap -sV โ โ Trace: 23% โ โ
โ โ [1] HARD โ โ PORT SERVICE โ โ Objectives โ โ
โ โ [2] EASY โ โ 22 ssh โ โ โ Scan โ โ
โ โ [3] HARD โ โ 80 http โ โ โ Exploit โ โ
โ โ [4] โฒ LOCK โ โ 3306 mysql โ โ โ Escalate โ โ
โ โโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
hacknet@darknet:~$ contracts
View available jobs with difficulty, reward, and reputation requirements.
hacknet@darknet:~$ accept 1
Accept your first contract (Acme Corp). Note the target IP.
hacknet@darknet:~$ connect 192.168.45.23
Establish an encrypted tunnel to the target.
hacknet@darknet:~$ nmap -sV
Scan for open ports and services. Identify vulnerabilities.
hacknet@darknet:~$ searchsploit apache 2.4.41
hacknet@darknet:~$ exploit CVE-2021-41773
Find and run an exploit to gain initial access.
hacknet@acme.corp:~$ ls
hacknet@acme.corp:~$ cat config.php
hacknet@acme.corp:~$ sudo su -
Navigate the filesystem, find credentials, escalate to root.
hacknet@acme.corp:~$ download Q4_Product_Roadmap.pdf
Download target files. Monitor trace level increases.
hacknet@acme.corp:~$ cover_tracks
Overwrite logs and clear history to avoid detection.
hacknet@darknet:~$ submit
Return to darknet, submit completed objectives, collect reward.
Every action increases your trace level:
nmap: +5%exploit: +8%sudo: +10%download: +12%mysql: +8%- Failed commands: +2-3%
Trace Reduction Methods:
proxychains: -25% (requires tool purchase)- Disconnecting: -1% every 3 seconds when offline
cover_tracks: -20% (after logs cleared)
| Contract | Objective | Trigger |
|---|---|---|
| Acme Corp | scan |
Run nmap -sV |
| Acme Corp | exploit |
Successful exploit (CVE-2021-41773) |
| Acme Corp | escalate |
sudo su - success |
| Acme Corp | download |
Download Q4_Product_Roadmap.pdf |
| Acme Corp | cover |
Run cover_tracks |
| Stolen Laptop | bypass |
Successful exploit (MS17-010) |
| Stolen Laptop | locate |
Download any Cancun photo |
| Stolen Laptop | recover |
Download deleted_photos_backup.zip |
| NexGen Bank | scan |
Run nmap -sV |
| NexGen Bank | exploit |
sqlmap success |
| NexGen Bank | pivot |
sudo su - success |
| NexGen Bank | transfer |
Download transfer_queue.sql |
| NexGen Bank | cover |
Run cover_tracks |
| NSA Op | zeroday |
Successful exploit |
| NSA Op | locate |
Download Project_Stargate.enc |
| NSA Op | exfil |
Download via proxies |
| NSA Op | coverall |
Run cover_tracks |
Each target has a realistic filesystem:
/โ Root directory/rootโ Root home (requires root access)/var/logโ System logs/etcโ Configuration files/homeโ User directories- Custom contract-specific directories
Targets run actual services with versions:
- Apache 2.4.41 (vulnerable to CVE-2021-41773)
- OpenSSH 7.9
- MySQL 8.0.28
- SMB (Windows 10)
- nginx 1.18
- Tomcat 9.0
- SWIFT GPI 2.0
- Fonts:
Share Tech MonoandVT323for pixel-perfect terminal feel - Colors: Matrix green (
#39ff14) primary, with yellow warnings, red errors - CRT Effects: Scanlines, vignette, phosphor glow
- Animations: Progress bars, blinking LEDs, scan line sweeps
- Cursor: Custom circular cursor with dot (mouse-follow)
| Element | Color | Hex | Purpose |
|---|---|---|---|
| Primary Text | Green | #39ff14 |
Standard output |
| System | Green Dim | #1a7a09 |
System messages |
| Warning | Yellow | #f5a623 |
Warnings, alerts |
| Error | Red | #ff3b30 |
Errors, critical |
| Info | Blue | #00aaff |
Information |
| Success | Cyan | #00ffcc |
Success messages |
| Gray | Gray | #4a4a4a |
Metadata, hints |
| Panel | Content | Features |
|---|---|---|
| Darknet Board | Available contracts | Difficulty badges, reward, lock status |
| Terminal | Main command interface | Scrollable output, input line, prompt |
| Status Panel | Player stats | Trace bar, objectives, network nodes, tools |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ HACKNET Game Engine โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Game State (STATE) โ โ
โ โ โข credits โ โ
โ โ โข reputation โ โ
โ โ โข trace โ โ
โ โ โข connected โ โ
โ โ โข activeContract โ โ
โ โ โข objectives โ โ
โ โ โข tools โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Data Layer โ โ
โ โ โข CONTRACTS (4) โ โ
โ โ โข TOOLS_SHOP (9) โ โ
โ โ โข REP_TIERS (5) โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Command Parser โ โ
โ โ โข 25+ commands โ โ
โ โ โข argument validation โ โ
โ โ โข async operations โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ UI Renderer โ โ
โ โ โข terminal output โ โ
โ โ โข contract list โ โ
โ โ โข objectives โ โ
โ โ โข trace bar โ โ
โ โ โข toast notifications โ โ
โ โ โข modal dialogs โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
// Core game loop
processCommand(cmd) // Parse and execute user commands
addTrace(amount) // Increase trace level, check thresholds
completeObjective(id) // Mark objective as complete
updateTrace() // Update trace bar visualization
triggerTraced() // Handle 100% trace (game over event)
// Contract system
cmdAccept(args) // Accept contract by ID
cmdConnect(args) // Connect to target
cmdDisconnect() // Drop connection
cmdSubmit() // Submit completed contract
// Recon commands
cmdNmap() // Port scan with service enumeration
cmdSearchsploit() // Search exploit database
// Exploitation
cmdExploit() // Run specific CVE exploit
cmdHydra() // Brute-force attack
cmdSqlmap() // SQL injection
cmdSudo() // Privilege escalation
// Post-exploitation
cmdLs() // List files
cmdCat() // Read files
cmdCd() // Change directory
cmdDownload() // Exfiltrate files
cmdMysql() // Database access
// Evasion
cmdCoverTracks() // Clear logs, reduce trace
cmdProxy() // Route through proxies
// UI helpers
showToast() // Notification system
showModal() // Modal dialog system
printProgress() // Animated progress bar// Contract object
{
id: 'c1',
title: 'Acme Corp โ Data Exfiltration',
diff: 'hard',
diffLabel: 'HARD',
reward: 15000,
repReward: 20,
targetIp: '192.168.45.23',
services: [
{ port: 80, service: 'http', version: 'Apache 2.4.41' }
],
vulns: ['CVE-2021-41773'],
files: {
'~': ['index.html', 'config.php'],
'/root': ['Q4_Product_Roadmap.pdf']
},
fileContents: {
'config.php': ['$db_pass = "root";']
},
objectives: [
{ id: 'scan', text: 'Scan open ports' }
]
}
// Tool object
{
id: 'nmap',
name: 'nmap',
cost: 0,
desc: 'Port scanner'
}| Metric | Value |
|---|---|
| Total Contracts | 4 |
| Total Objectives | 18 |
| Unlockable Tools | 9 |
| Commands | 25+ |
| Reputation Tiers | 5 |
| Services Simulated | 8 |
| CVEs Referenced | 4 |
| File System Locations | 10+ |
| Realistic Files | 20+ |
| Browser | Support |
|---|---|
| Chrome | โ Full support |
| Firefox | โ Full support |
| Safari | โ Full support |
| Edge | โ Full support |
| Opera | โ Full support |
| Mobile Chrome | |
| Mobile Safari |
- Load Time: < 1.2 seconds (zero external dependencies)
- Memory Usage: < 35 MB
- CPU Usage: Minimal (event-driven)
- Network: Zero requests after initial load
HACKNET is a completely safe educational game:
- โ No actual hacking or network connections
- โ All simulations run in browser memory
- โ No data collection or tracking
- โ No external dependencies
- โ Pure HTML/CSS/JavaScript
- โ Educational purposes only โ learn ethical hacking methodology
MIT License โ see LICENSE file for details.
- Hack The Box โ Inspiration for CTF-style challenges
- TryHackMe โ Educational penetration testing methodology
- Kali Linux โ Toolset inspiration
- MITRE ATT&CK โ Exploit and vulnerability framework
- OWASP โ Web application security concepts
- Cyberpunk 2077 โ Terminal aesthetic inspiration
- GitHub Issues: Create an issue
- Website: https://willie-conway.github.io/HACKNET/
- Add more contracts (5-10 total)
- Multiplayer leaderboard
- Custom contract builder
- Advanced firewall evasion minigames
- Real-time network traffic visualization
- SSH key-based authentication puzzles
- Buffer overflow exploitation minigame
- Achievement system
- Dark mode / light mode toggle
- Sound effects (optional)
๐ต๏ธ HACKNET v2.4.1 โ Become the Ultimate Darknet Operative ๐ต๏ธ
Last updated: March 2026

