htb-terminal v0.1.0
First public release: a zero-dependency Python CLI for selected Hack The Box Labs v4 API workflows.
What's included
htb machine profile|active|list|search— inspect machines by id or name, view the active machine, list and search the catalog.htb machine start|stop|reset— control machine lifecycle; stop and reset default to the active machine.htb machine submit— submit user or root flags.htb vpn servers|switch|download— list known VPN server aliases, switch servers, download OVPN files.htb vpn connect— switch, download, then run OpenVPN in one step.htb raw— call any Labs API endpoint directly.- App token authentication via an
api.tokenfile, plain or colored output, no external dependencies.
Installation
Requires Python 3.10+. Run pip install . from the repository root (installs the htb command), or invoke ./htb directly.
Notes
This client targets the Hack The Box Labs v4 API, which is not formally versioned for third-party use; endpoints and response shapes may change without notice. Report breakage via issues.