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

Uploaded Source

Built Distribution

PyHTBcli-0.0.4-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file PyHTBcli-0.0.4.tar.gz.

File metadata

  • Download URL: PyHTBcli-0.0.4.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for PyHTBcli-0.0.4.tar.gz
Algorithm Hash digest
SHA256 2d1e86f01079b4b892815c4644ace7ec05f188add684dfcd168a42155d0e41a4
MD5 9dbe10f0fc7ac7e4e1cc2a0b006668a2
BLAKE2b-256 e8ef14958674cfd7116cd3c77c68b2b3b7bf09e2402777201cb3d1f5c3a3edc6

See more details on using hashes here.

File details

Details for the file PyHTBcli-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: PyHTBcli-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for PyHTBcli-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 61503793753f4a25adbb75b7cfc2b78f8335b54badfa429097327330d9f614cb
MD5 74d7a51dee5171bce3c77bae06a063a5
BLAKE2b-256 1ec077f7769141eca55c9d438bd515edd8080b82105152cca7fd830871de669f

See more details on using hashes here.

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