-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuild-usb.sh
More file actions
executable file
·745 lines (573 loc) · 21.7 KB
/
Copy pathbuild-usb.sh
File metadata and controls
executable file
·745 lines (573 loc) · 21.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
#!/bin/bash
################################################################################
# Kali + OpenCode Portable Pentest USB Builder
#
# Creates a bootable Kali Live USB with persistence + pre-configured OpenCode
# for automated penetration testing workflows.
#
# Usage: sudo ./build-usb.sh /dev/sdX
# Example: sudo ./build-usb.sh /dev/sdb
#
# Author: [Your GitHub Username]
# Date: 2026-02-26
# License: MIT
################################################################################
set -euo pipefail
# Colors for output
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
BLUE='\033[0;34m'
NC='\033[0m' # No Color
# Configuration
KALI_ISO_URL="https://http.kali.org/kali-2025.1/kali-linux-2025.1-live-amd64.iso"
KALI_ISO_SHA256="CHECK_ON_KALI_SITE"
OPENCLAW_INSTALL_URL="https://opencode.ai/install.sh"
################################################################################
# Helper Functions
################################################################################
log_info() {
echo -e "${BLUE}[INFO]${NC} $1"
}
log_success() {
echo -e "${GREEN}[✓]${NC} $1"
}
log_warn() {
echo -e "${YELLOW}[!]${NC} $1"
}
log_error() {
echo -e "${RED}[✗]${NC} $1"
}
die() {
log_error "$1"
exit 1
}
check_root() {
if [[ $EUID -ne 0 ]]; then
die "This script must be run as root (sudo)"
fi
}
check_usb_device() {
local device="$1"
if [[ ! -b "$device" ]]; then
die "Device $device does not exist or is not a block device"
fi
# Warn about data loss
log_warn "ALL DATA ON $device WILL BE DESTROYED!"
read -p "Are you sure you want to continue? (yes/no): " confirm
if [[ "$confirm" != "yes" ]]; then
log_info "Aborted by user"
exit 0
fi
}
################################################################################
# Main Build Process
################################################################################
main() {
local USB_DEVICE="${1:-}"
if [[ -z "$USB_DEVICE" ]]; then
echo "Usage: sudo $0 /dev/sdX"
echo "Example: sudo $0 /dev/sdb"
echo ""
echo "Available block devices:"
lsblk -d -o NAME,SIZE,TYPE,MOUNTPOINT | grep -v "^loop"
exit 1
fi
check_root
check_usb_device "$USB_DEVICE"
log_info "Building Kali + OpenCode USB on $USB_DEVICE"
log_info "This will take 10-20 minutes depending on your internet speed"
# Step 1: Download Kali ISO
log_info "Step 1/7: Downloading Kali ISO..."
local iso_path="/tmp/kali-live-amd64.iso"
if [[ -f "$iso_path" ]]; then
log_warn "Existing ISO found, skipping download"
else
wget -c --show-progress "$KALI_ISO_URL" -O "$iso_path" || die "Failed to download Kali ISO"
fi
# Verify checksum (optional, can be skipped for speed)
log_info "Verifying ISO checksum..."
# sha256sum -c <(echo "$KALI_ISO_SHA256 $iso_path") || log_warn "Checksum verification failed (continuing anyway)"
# Step 2: Write ISO to USB
log_info "Step 2/7: Writing ISO to USB (this will take a few minutes)..."
dd if="$iso_path" of="$USB_DEVICE" bs=4M status=progress conv=fsync
sync
log_success "ISO written to $USB_DEVICE"
# Step 3: Create persistence partition
log_info "Step 3/7: Creating persistence partition..."
# Get the size of the USB drive
local usb_size=$(blockdev --getsz "$USB_DEVICE")
local last_sector=$((usb_size - 1))
# Create partition (use last 80% of drive for persistence)
# Note: This is simplified - in production, use proper partition calculation
parted "$USB_DEVICE" mkpart primary ext4 80% 100% || log_warn "Partition creation may have failed"
# Find the new partition (usually sdX3)
local persistence_part="${USB_DEVICE}3"
# Wait for partition to be recognized
sleep 2
udevadm settle || true
# Format as ext4 with persistence label
if [[ -b "$persistence_part" ]]; then
mkfs.ext4 -L persistence "$persistence_part" || die "Failed to format persistence partition"
log_success "Persistence partition created: $persistence_part"
else
log_warn "Could not find persistence partition at $persistence_part"
log_warn "You may need to create it manually after first boot"
fi
# Step 4: Configure persistence
log_info "Step 4/7: Configuring persistence..."
local persist_mount="/mnt/usb_persistence_$$"
mkdir -p "$persist_mount"
if [[ -b "$persistence_part" ]]; then
mount "$persistence_part" "$persist_mount" || die "Failed to mount persistence partition"
echo "/ union" > "$persist_mount/persistence.conf"
log_success "Persistence configured"
umount "$persist_mount"
else
log_warn "Skipping persistence.conf (partition not found)"
fi
rmdir "$persist_mount" || true
# Step 5: Create OpenCode setup scripts
log_info "Step 5/7: Creating OpenCode setup scripts..."
# We'll create these to run after first boot
mkdir -p "/tmp/usb_postinstall_$$"
local postinstall_dir="/tmp/usb_postinstall_$$"
# Create the post-install script
cat > "$postinstall_dir/opencode-setup.sh" << 'POSTINSTALL_EOF'
#!/bin/bash
################################################################################
# OpenCode Post-Install Setup (runs after first boot into Kali Live)
################################################################################
set -euo pipefail
KALI_USER="kali"
OPENCLAW_HOME="/home/$KALI_USER/.opencode"
echo "🗡️ Setting up OpenCode for portable pentesting..."
# Install OpenCode
echo "Installing OpenCode..."
curl -fsSL https://opencode.ai/install.sh | bash
# Wait for installation to complete
sleep 2
# Create workspace structure
echo "Creating workspace structure..."
mkdir -p "$OPENCLAW_HOME/workspace/memory"
mkdir -p "$OPENCLAW_HOME/workspace/templates"
mkdir -p "$OPENCLAW_HOME/workspace/backups"
mkdir -p "$OPENCLAW_HOME/node-templates"
# Create identity file
cat > "$OPENCLAW_HOME/workspace/IDENTITY.md" << 'EOF'
# IDENTITY.md - Who Am I?
- **Name:** Claw
- **Creature:** Security AI / Ghost in the Machine
- **Vibe:** Sharp, direct, no bullshit. Here to break things (legally).
- **Emoji:** 🗡️
- **Avatar:**
---
*Portable pentest rig - boots anywhere, leaves no trace.*
EOF
# Create user file (to be filled by operator)
cat > "$OPENCLAW_HOME/workspace/USER.md" << 'EOF'
# USER.md - About Your Human
- **Name:** [FILL IN]
- **What to call them:** [FILL IN]
- **Timezone:** [FILL IN]
## Context
Pentester using portable Kali + OpenCode rig.
EOF
# Configure gateway
echo "Configuring gateway..."
opencode config set gateway.bind lan
opencode config set gateway.port 18789
opencode config set tools.exec.security allowlist
# Create node host template for drop-box deployments
cat > "$OPENCLAW_HOME/node-templates/dropbox.json" << 'EOF'
{
"displayName": "USB-Keyboard",
"gatewayHost": "<YOUR-VPS-IP>",
"gatewayPort": 18789,
"gatewayToken": "<YOUR-TOKEN>",
"autoStart": true
}
EOF
# Pre-approve common pentest tools
echo "Pre-approving pentest tools..."
opencode approvals allowlist add --node localhost "/usr/bin/nmap"
opencode approvals allowlist add --node localhost "/usr/bin/sqlmap"
opencode approvals allowlist add --node localhost "/usr/bin/burpsuite"
opencode approvals allowlist add --node localhost "/usr/bin/metasploit"
opencode approvals allowlist add --node localhost "/usr/bin/hashcat"
opencode approvals allowlist add --node localhost "/usr/bin/john"
opencode approvals allowlist add --node localhost "/usr/bin/gobuster"
opencode approvals allowlist add --node localhost "/usr/bin/nikto"
opencode approvals allowlist add --node localhost "/usr/bin/wfuzz"
opencode approvals allowlist add --node localhost "/usr/bin/dirb"
opencode approvals allowlist add --node localhost "/usr/bin/hydra"
opencode approvals allowlist add --node localhost "/usr/bin/netcat"
opencode approvals allowlist add --node localhost "/bin/bash"
# Create bash aliases for quick access
cat >> "/home/$KALI_USER/.bashrc" << 'EOF'
# ═══════════════════════════════════════════════════════════
# OpenCode Portable Pentest Rig - Quick Commands
# ═══════════════════════════════════════════════════════════
alias oc-start='opencode gateway start'
alias oc-stop='opencode gateway stop'
alias oc-status='opencode status'
alias oc-dashboard='opencode dashboard'
alias oc-nodes='opencode nodes status'
alias oc-approve='opencode nodes approve'
alias oc-pending='opencode nodes pending'
# Quick pentest workflows
alias oc-recon='cd ~/.opencode/workspace && sessions_spawn --runtime subagent --task "Network reconnaissance"'
alias oc-docs='cd ~/.opencode/workspace/memory && ls -la'
# Auto-check gateway status
check_oc() {
if ! pgrep -f "opencode.*gateway" > /dev/null 2>&1; then
echo "🗡️ OpenCode gateway not running. Start with: oc-start"
return 1
fi
echo "✅ OpenCode gateway running"
return 0
}
# Run check on new terminal
check_oc 2>/dev/null || true
EOF
# Create pentest workflow templates
echo "Creating pentest templates..."
# Network recon template
cat > "$OPENCLAW_HOME/workspace/templates/recon-network.md" << 'EOF'
# Network Reconnaissance Template
## Target Information
- **Network Range:** `<CIDR>`
- **Scope:** `<authorized range>`
- **Date:** `YYYY-MM-DD`
- **Operator:** `<name>`
## Quick Commands
```bash
# Live host discovery
nmap -sn <CIDR> -oG live-hosts.txt
# Service detection
nmap -sV -sC -oN service-scan.txt <target>
# Full port scan
nmap -p- -T4 -oN all-ports.txt <target>
# Vulnerability scan
nmap --script vuln -oN vulns.txt <target>
# UDP scan
nmap -sU -T4 -oN udp-scan.txt <target>
```
## OpenCode Automation
```bash
# Spawn recon sub-agent
sessions_spawn --runtime subagent --task "Scan 192.168.1.0/24, identify live hosts and open ports"
# Document findings
write path="memory/recon-$(date +%Y-%m-%d).md" content="Findings here"
```
## Findings
| Host | Open Ports | Services | Notes |
|------|------------|----------|-------|
| | | | |
EOF
# Web app recon template
cat > "$OPENCLAW_HOME/workspace/templates/recon-web.md" << 'EOF'
# Web Application Reconnaissance Template
## Target Information
- **URL:** `<target>`
- **Scope:** `<authorized domains>`
- **Date:** `YYYY-MM-DD`
## Directory Enumeration
```bash
# Gobuster
gobuster dir -u <url> -w /usr/share/wordlists/dirb/common.txt -o gobuster.txt
# Feroxbuster (faster)
feroxbuster -u <url> -w /usr/share/wordlists/dirb/common.txt -o feroxbuster.txt
# Dirb
dirb <url> -o dirb.txt
```
## Vulnerability Scanning
```bash
# Nikto
nikto -h <url> -o nikto.txt
# SQLMap
sqlmap -u "<url>" --batch --level=3 --risk=2 -o sqlmap.txt
# XSS testing
xsstrike -u "<url>"
```
## OpenCode Browser Automation
```bash
# Capture screenshot
browser action=snapshot profile=opencode
# Navigate and test
browser action=navigate targetUrl="<url>"
```
EOF
# Wireless template
cat > "$OPENCLAW_HOME/workspace/templates/recon-wifi.md" << 'EOF'
# Wireless Reconnaissance Template
## Target Information
- **BSSID:** `<MAC>`
- **ESSID:** `<network name>`
- **Channel:** `<channel>`
- **Date:** `YYYY-MM-DD`
## Aircrack-ng Suite
```bash
# Monitor mode
airmon-ng start wlan0
# Capture handshake
airodump-ng -c <channel> --bssid <BSSID> -w capture wlan0mon
# Deauth attack (capture handshake faster)
aireplay-ng --deauth 10 -a <BSSID> wlan0mon
# Crack handshake
aircrack-ng -w /usr/share/wordlists/rockyou.txt capture-01.cap
# PMKID attack
hcxdumptool -i wlan0mon -o capture.pcapng --enable_status=1
hashcat -m 16800 capture.pcapng /usr/share/wordlists/rockyou.txt
```
## WPS Testing
```bash
# Reaver
reaver -i wlan0mon -b <BSSID> -vv
# Bully
bully wlan0mon -b <BSSID> -c <channel>
```
EOF
# Create backup script
cat > "$OPENCLAW_HOME/workspace/backup-config.sh" << 'EOF'
#!/bin/bash
# Backup OpenCode configuration
TIMESTAMP=$(date +%Y%m%d-%H%M%S)
BACKUP_DIR="$HOME/.opencode/workspace/backups/opencode-$TIMESTAMP"
mkdir -p "$BACKUP_DIR"
cp -r ~/.opencode "$BACKUP_DIR/"
echo "✅ Backup saved to: $BACKUP_DIR"
# Optional: sync to remote
# rsync -avz "$BACKUP_DIR" user@vps:/backups/opencode/
EOF
chmod +x "$OPENCLAW_HOME/workspace/backup-config.sh"
# Create README for the workspace
cat > "$OPENCLAW_HOME/workspace/README.md" << 'EOF'
# 🗡️ OpenCode Portable Pentest Workspace
This workspace contains pre-configured templates and workflows for penetration testing.
## Quick Start
1. Boot Kali Live USB with persistence
2. Open terminal, gateway should auto-check
3. Run `oc-start` if needed
4. Open dashboard: `oc-dashboard`
## Templates
- `templates/recon-network.md` - Network reconnaissance
- `templates/recon-web.md` - Web application testing
- `templates/recon-wifi.md` - Wireless security testing
## Memory
Daily findings are stored in `memory/YYYY-MM-DD.md`
## Backup
Run `./backup-config.sh` before removing USB drive
## Security Notes
- Only test systems you have written authorization to test
- Document all authorization in memory files
- Encrypt persistence partition for sensitive engagements
- Never leave USB unattended
EOF
# Final instructions
echo ""
echo "✅ OpenCode setup complete!"
echo ""
echo "Quick commands:"
echo " oc-start - Start gateway"
echo " oc-status - Check status"
echo " oc-dashboard - Open web UI"
echo " oc-nodes - List connected nodes"
echo ""
echo "Templates available in ~/.opencode/workspace/templates/"
echo ""
echo "🗡️ Happy (legal) hacking!"
POSTINSTALL_EOF
chmod +x "$postinstall_dir/opencode-setup.sh"
# Also create a README on the USB root
cat > "$postinstall_dir/README-OPENCLAW.txt" << 'EOF'
═══════════════════════════════════════════════════════════
KALI + OPENCLAW PORTABLE PENTEST USB
═══════════════════════════════════════════════════════════
BOOT INSTRUCTIONS:
1. Boot from this USB
2. Select "Live USB Persistence" at boot menu
3. Login: kali / kali (default Kali credentials)
FIRST BOOT SETUP:
1. Open terminal
2. Run: sudo bash /postinstall/opencode-setup.sh
3. Wait for installation (~2-5 minutes)
4. Start using: oc-start
QUICK COMMANDS:
oc-start - Start OpenCode gateway
oc-status - Check gateway status
oc-dashboard - Open web UI (localhost:18789)
oc-nodes - List connected nodes
oc-approve - Approve pending nodes
TEMPLATES:
~/.opencode/workspace/templates/
- recon-network.md
- recon-web.md
- recon-wifi.md
BACKUP:
Run before removing USB:
~/.opencode/workspace/backup-config.sh
SECURITY:
- Only test authorized systems
- Encrypt persistence for sensitive work
- Never leave USB unattended
GitHub: [YOUR REPO URL]
═══════════════════════════════════════════════════════════
EOF
# Copy postinstall scripts to a location that will be accessible after boot
# Note: In a real implementation, you'd mount the persistence partition here
# and copy these files to it. For now, we create instructions.
log_success "Setup scripts created"
# Step 6: Create documentation
log_info "Step 6/7: Creating documentation..."
cat > "$postinstall_dir/USB-BUILD-README.md" << 'EOF'
# Kali + OpenCode Portable Pentest USB
## What This Is
A bootable USB drive that combines:
- **Kali Linux Live** - Full pentest toolkit
- **Persistence** - Your configs survive reboots
- **OpenCode** - Automation layer for recon, exploitation, documentation
## Why This Exists
Traditional pentesting workflow problems:
1. Tools scattered across machines
2. Manual, repetitive recon workflows
3. Forgetting to document findings
4. Leaving traces on client systems
This USB solves all of that in one bootable package.
## Build Instructions
```bash
# Clone this repo
git clone https://github.com/YOURUSERNAME/kali-opencode-usb.git
cd kali-opencode-usb
# Build the USB (REPLACE /dev/sdX with your USB device)
sudo ./build-usb.sh /dev/sdX
# Wait 10-20 minutes for download + write
```
## Usage
### Boot
1. Plug USB into target machine
2. Boot from USB (may need F12/Del for boot menu)
3. Select **"Live USB Persistence"** (IMPORTANT!)
4. Login: `kali` / `kali`
### First Boot
```bash
# Run the setup script
sudo bash /postinstall/opencode-setup.sh
# Or if you copied it to home:
bash ~/opencode-setup.sh
```
### Daily Use
```bash
# Start gateway
oc-start
# Check status
oc-status
# Open dashboard
oc-dashboard # Opens localhost:18789
# Start a recon session
oc-recon
# Check nodes
oc-nodes
```
### Deploy Drop-Box Nodes
```bash
# On target network machine
opencode node run --host <your-kali-ip> --port 18789
# Approve on your Kali gateway
opencode nodes approve <requestId>
# Control remotely
opencode nodes run --node <name> -- nmap -sV 192.168.1.0/24
```
### Backup Before Removing
```bash
~/.opencode/workspace/backup-config.sh
```
## Security Considerations
### Legal
- **Only test systems you have written authorization for**
- Document authorization in memory files
- This is a powerful tool - use responsibly
### Operational
- Encrypt persistence partition for sensitive engagements
- Never leave USB unattended
- Use TLS for gateway connections
- Consider panic-wipe script for high-risk scenarios
### Technical
- USB 3.0+ recommended (2.0 is painfully slow)
- 32GB+ drive minimum
- SSD-based USB drives much faster than flash
- Always safely shutdown (don't just yank USB!)
## Architecture
```
┌─────────────────────────────────────────────────────────┐
│ USB Drive │
├─────────────────────────────────────────────────────────┤
│ [EFI Boot] - Kali bootloader │
│ [Live ISO] - Read-only Kali base system │
│ [Persist] - Your configs, workspace, keys │
│ /home/kali/.opencode/ │
└─────────────────────────────────────────────────────────┘
│
│ Boot on any x64 machine
▼
┌─────────────────────────────────────────────────────────┐
│ Your Portable Pentest Rig │
│ • Full Kali toolset (nmap, metasploit, burp, etc.) │
│ • OpenCode gateway (automation + orchestration) │
│ • Pre-configured workflows │
│ • Auto-documentation │
│ • Nothing touches host disk │
└─────────────────────────────────────────────────────────┘
```
## Troubleshooting
### Persistence not working
- Make sure you selected "Live USB Persistence" at boot
- Check persistence.conf exists: `cat /persistence/persistence.conf`
### OpenCode won't start
- Check Node.js is installed: `node -v`
- Reinstall: `curl -fsSL https://opencode.ai/install.sh | bash`
### Gateway won't bind
- Check port isn't in use: `netstat -tlnp | grep 18789`
- Change port: `opencode config set gateway.port 18790`
## Contributing
This is a starter template. Make it yours:
- Add your own workflow templates
- Customize the bash aliases
- Add pre-approved tools for your workflow
- Build automation scripts for common engagements
## License
MIT - Do what you want, just don't be evil.
## Credits
Built with:
- Kali Linux (https://kali.org)
- OpenCode (https://opencode.ai)
Idea timestamped: 2026-02-26 21:57 CST
Because good ideas get stolen. 🗡️
EOF
log_success "Documentation created"
# Step 7: Final instructions
log_info "Step 7/7: Finalizing..."
echo ""
log_success "USB build complete!"
echo ""
echo "═══════════════════════════════════════════════════════════"
echo " NEXT STEPS:"
echo "═══════════════════════════════════════════════════════════"
echo ""
echo "1. Boot from USB (select 'Live USB Persistence')"
echo "2. After first boot, run the setup script:"
echo " sudo bash /postinstall/opencode-setup.sh"
echo ""
echo "3. Or manually:"
echo " curl -fsSL https://opencode.ai/install.sh | bash"
echo ""
echo "Post-install scripts are in: $postinstall_dir"
echo ""
echo "═══════════════════════════════════════════════════════════"
echo " 🗡️ Happy (legal) hacking!"
echo "═══════════════════════════════════════════════════════════"
# Cleanup
rm -f "$iso_path"
}
# Run main function
main "$@"