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.0.tar.gz
(14.1 kB
view hashes)
Built Distribution
Close
Hashes for PyHackTheBox-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0f61aaa207a227121269938f965e361f25c7134a94ac222b203998b1bf8ff31 |
|
MD5 | f9a460a3a2323ccd99356bc392d17f05 |
|
BLAKE2b-256 | 7157196432779c7d9ef9df6d95c0117bed030f694ab1657b9f1348758bc56f05 |