This repo is no longer maintained, and no longer works :(
HackTheBox Command Line Tool
VPN is controlled by the nmcli
program.
Is installed in most Debian-based Linux distributions by default.
Can be installed with:
$ apt-get install network-manager
To make the icons print nicely, need a nerd font installed.
Install instructions (Linux):
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Ubuntu.zip -O /tmp/Ubuntu.zip
mkdir -p ~/.local/share/fonts
unzip /tmp/Ubuntu.zip -d ~/.local/share/fonts
fc-cache -fv
pip install PyHTBcli
To get tab completion in the default linux shell.
Add this line to ~/.bashrc
:
eval "$(_htb_COMPLETE=bash_source htb)"
Add this line to ~/.zshrc
:
eval "$(_HTB_COMPLETE=zsh_source htb)"
Add this to ~/.config/fish/completions/htb.fish
:
eval (env _HTB_COMPLETE=fish_source htb)
See readthedocs for full documentation.