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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyHTBcli-0.0.7.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.14

File hashes

Hashes for PyHTBcli-0.0.7.tar.gz
Algorithm Hash digest
SHA256 6ba688fe06ffc07b37e0b2c5797c09f1cbafd2f7d4334681c3df7cec24f891b6
MD5 5c34b8e17e3b3cf7ae119f7533ded1d5
BLAKE2b-256 2c06be6fa2e1720361d7fa6d7993716c6b02788c12ad011abae3da9230bd81a4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyHTBcli-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.14

File hashes

Hashes for PyHTBcli-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c02a6e6e647c226ae535d55f4e28722ab2be6102c7ca09b9e5d4ae4fb7fa0756
MD5 a2b547211a45d59cad70a5a8bc62841d
BLAKE2b-256 db5aa8ae4bf02961c0e0f60eddb5ae08d7c751a4f95a5a592c777e46abe46834

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