# Hack The Box workspace
This directory contains one private worktree per lab target. The surrounding
configuration deliberately separates tools (`~/go/bin`, `~/.cargo/bin`, pipx
and uv) from engagement data stored here.
## Start a box
```sh
newbox <name> <ip>
htb-session
```
Or press `Super+Shift+H` / launch **HTB Workspace**. Inside tmux, `prefix + P`
opens the active target and `prefix + V` opens a dedicated VPN window.
## VPN
Download your personal `.ovpn` pack from Hack The Box, then:
```sh
pe vpn import ~/Downloads/<pack>.ovpn lab
pe vpn up lab
pe vpn status
```
Keep that terminal or tmux window open and press `Ctrl-C` to disconnect. Do
not use HTB Pwnbox and the local VPN simultaneously.
## Recon helpers
`scan`, `fullscan` and `udpquick` default to the active target. They refuse to
run unless the route uses a `tun`, `tap` or `wg` lab interface. For a different
authorized environment, opt out only for that invocation with
`PE_ALLOW_NO_VPN=1`.
Run `pe doctor` at any time to audit the workstation.
## ARM64 challenge binaries
RustScan, Nuclei and NetExec—are already available.