0xdf223 / PyHTBcli

Command line client for HackTheBox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repo is no longer maintained, and no longer works :(

htbcli

HackTheBox Command Line Tool

Requirements

nmcli

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

Fonts

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

Installation

pip install PyHTBcli

Shell Auto Complete

To get tab completion in the default linux shell.

Bash

Add this line to ~/.bashrc:

eval "$(_htb_COMPLETE=bash_source htb)"

Zsh

Add this line to ~/.zshrc:

eval "$(_HTB_COMPLETE=zsh_source htb)"

Fish

Add this to ~/.config/fish/completions/htb.fish:

eval (env _HTB_COMPLETE=fish_source htb)

Full Documention

See readthedocs for full documentation.

About

Command line client for HackTheBox


Languages

Language:Python 99.9%Language:Makefile 0.1%