Code Monkey home page Code Monkey logo

htbtui's Introduction

HTBtui

HTBtui is a "terminal user interface" for interacting with the Hack the Box api.

Screenshot from 2024-02-15 14-50-56

Features

The following features are currently supported:

  • Player statistics
  • Player seasonal statistics
  • Player activity
  • Current, retired, and seasonal machine listing
  • Starting, stopping, and resetting current, retired, and seasonal machines
  • Flag submission for current, retired, and seasonal machines
  • Machine statistics and user-submitted difficulty rating
  • HTB vpn connection status with IP address (with click-to-copy functionality)
  • Active machine status with IP address (with click-to-copy functionality)

Screenshot from 2024-02-15 14-54-49


Configuration

HTBtui requires a Hack the Box API token in order to function. To generate an API token, go to your Hack the Box profile settings found here: https://app.hackthebox.com/profile/settings

[Note: if you've previously configured "HTB cli", you can skip this part as the token and the environment variable are the same]

Click on "Create App Token":

Screenshot from 2024-02-15 18-49-51

The generated token will only be revealed to you one time, so be sure to keep a record of it in a secure place.

This token will need to be added as an environment variable named "HTB_TOKEN" to your .zshrc or .bashrc file:

echo "export HTB_TOKEN=<TOKEN VALUE> | tee -a ~/.zshrc

Reinitialize your .zshrc or .bashrc file:

. ~/.zshrc

Installation

Clone the repo:

git clone https://github.com/its-sarin/HTBtui.git

Install requirements via pip3:

pip3 install -r requirements.txt

Now you can run HTBtui!

python3 htbtui.py

htbtui's People

Contributors

its-sarin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.