Skip to main content

Command line interface for HackTheBox

Project description

# 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

`bash git clone https://github.com/0xdf-htb/htbcli cd htbcli pip install . `

# Shell Auto Complete

To get tab completion in the default linux shell.

## Bach

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) `

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.2.tar.gz (9.9 kB view hashes)

Uploaded Source

Built Distribution

PyHTBcli-0.0.2-py3-none-any.whl (13.5 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