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.2.tar.gz
(17.3 kB
view hashes)
Built Distribution
Close
Hashes for PyHackTheBox-0.5.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4df29bed97aad7348d8e1f361e91f4478c29faaee3c178cec1d673d9ce5fafa |
|
MD5 | 910799ffbcf55b3bb4708e8fc8b49783 |
|
BLAKE2b-256 | 97bced85d4dc5e53c69b26f653067df6c7220edec8046befc102f47309148557 |