Skip to main content

Command line interface for HackTheBox

Project description

# htbcli HackTheBox Command Line Tool

![](images/htb-list-competitive.png)

# 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](https://www.nerdfonts.com/) 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

`bash pip install PyHTBcli `

# Shell Auto Complete

To get tab completion in the default linux shell.

## Bash

Add this line to ~/.bashrc:

`bash eval "$(_htb_COMPLETE=bash_source htb)" `

## Zsh

Add this line to ~/.zshrc:

`bash eval "$(_HTB_COMPLETE=zsh_source htb)" `

## Fish

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

`bash eval (env _HTB_COMPLETE=fish_source htb) `

## Full Documention

See [readthedocs](https://pyhtbcli.readthedocs.io/en/latest/) for full documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PyHTBcli-0.0.7.tar.gz (10.1 kB view hashes)

Uploaded Source

Built Distribution

PyHTBcli-0.0.7-py3-none-any.whl (13.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page