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.3.1.tar.gz
(13.8 kB
view hashes)
Built Distribution
Close
Hashes for PyHackTheBox-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 871b461dfed36a7c6207f07cebb884a54d4f36c3d3bb212556b0565a8e20f49d |
|
MD5 | 5947f7f0748ceb09c4cf9de84319a3ed |
|
BLAKE2b-256 | 6156eb915ef52b223a79eb4b2ade0409a1276ea59562ff5ac5fa1f75405f1e63 |