A wrapper for the Hack The Box API.
Project description
PyHackTheBox
PyHackTheBox is an unofficial Python library to interact with the Hack The Box API.
Install
$ pip install pyhackthebox
Demo
from hackthebox import HTBClient
# Create an API connection
client = HTBClient(email="user@example.com", password="S3cr3tP455w0rd!")
# Print the User associated with the client
print(client.user)
Documentation
The documentation is available here.
Current Features
- Logging into the API (and automatically refreshing access tokens)
- Challenges, Machines, Fortresses and Endgames
- Getting details
- Viewing authors
- Viewing first bloods
- Submitting flags
- Searching Users, Challenges, Machines and Teams
- Spawning and stopping Challenge instances
- Retrieving user activity
- Viewing Hall(s) of Fame (Top 100, VIP, Team and University Leaderboards)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PyHackTheBox-0.5.0.tar.gz
(17.3 kB
view hashes)
Built Distribution
Close
Hashes for PyHackTheBox-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c469e289e20adb0db35981df330c7f4e059303e1d0018e37470a3ce002ed0c93 |
|
MD5 | 2e039fc2fbfb98ac88c725fee6cba5d1 |
|
BLAKE2b-256 | a819e88fe0e5be9ef4e4c9347ecaeed5732dbf68b2e3b8f1aba4ff99ae69e0d0 |