A htb library
Project description
unofficial Python library to interact with the Hack The Box API with the newest feature SSO login
Usage
import asyncio
from htbst import HTBClient, HTBLabs
async def main():
client = HTBClient('elliotandmrrobot@ro.ru', 'my_secure_password')
sso = await client.run()
asyncio.run(main())
Usage for getting user progress
import asyncio
from htbst import HTBClient, HTBLabs
async def main():
client = HTBClient('elliotandmrrobot@ro.ru', 'my_secure_password')
sso = await client.run()
labs = HTBLabs(sso_code=sso)
print(labs.get_user_progress())
asyncio.run(main())
Current Features
HTBst provides several features to interact with the Hack The Box API:
Authentication
- Email and Password Authentication: Authenticate users using their Hack The Box email and password to obtain an access token for further API requests.
Labs Interaction
-
Retrieve User Progress: Get detailed information about the user's progress in various labs, including machine completions, track progress, and more.
-
Get User Summary: Fetch a summary of the user's profile, including system owns, user owns, rank, points, and more.
-
Get User Rank Information: Retrieve detailed information about the user's rank, including current rank, next rank, and season ranking.
Academy Interaction
[ coming soon ]
CTF Interaction
[ coming soon ]
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file htbst_replican-0.3-py3-none-any.whl
.
File metadata
- Download URL: htbst_replican-0.3-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33389978f0ccd4d878401337d206dff13df7cc0a4b4ffd285647f2bdec999d6e |
|
MD5 | 25db06d1578d9963a5e4b74cf3f3b825 |
|
BLAKE2b-256 | 28a1fb68278eb3aa625fd39c16c293657b16f138414a2d2f4e362c59217fe3c4 |