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.4.3.tar.gz
(15.5 kB
view hashes)
Built Distribution
Close
Hashes for PyHackTheBox-0.4.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6ef9be9b6e259acc8896db655eb2cc1cde0fff00b8180599cfb8331d981881c |
|
MD5 | dd52d029ea5d48eb077a6cdad161551e |
|
BLAKE2b-256 | 471c4e606314d7fefa3d0fed9da6d52eded718a8235b1aaaceea2a8aaeb6dd28 |