PyHackTheBox
Advanced tools
@@ -1,10 +0,11 @@ | ||
| from .htb import HTBClient, HTBObject | ||
| from .challenge import Challenge | ||
| from .machine import Machine | ||
| from .endgame import Endgame | ||
| from .errors import * | ||
| from .fortress import Fortress | ||
| from .htb import HTBClient, HTBObject | ||
| from .machine import Machine | ||
| from .search import Search | ||
| from .solve import * | ||
| from .team import Team | ||
| from .user import User | ||
| from .team import Team | ||
| from .solve import * | ||
| from .errors import * | ||
| from .vpn import VPNServer |
| API_BASE = "https://www.hackthebox.eu/api/v4/" | ||
| USER_AGENT = "htb-api/0.4.1" | ||
| USER_AGENT = "htb-api/0.4.3" | ||
| DOWNLOAD_COOLDOWN = 30 |
@@ -25,3 +25,3 @@ from __future__ import annotations | ||
| """ | ||
| payload = base64.b64decode(token.split('.')[1]).decode() | ||
| payload = base64.b64decode(token.split('.')[1] + "==").decode() | ||
| if time.time() > json.loads(payload)['exp']: | ||
@@ -28,0 +28,0 @@ return True |
+1
-1
| Metadata-Version: 2.1 | ||
| Name: PyHackTheBox | ||
| Version: 0.4.2 | ||
| Version: 0.4.3 | ||
| Summary: A wrapper for the Hack The Box API. | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/clubby789/htb-api |
| Metadata-Version: 2.1 | ||
| Name: PyHackTheBox | ||
| Version: 0.4.2 | ||
| Version: 0.4.3 | ||
| Summary: A wrapper for the Hack The Box API. | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/clubby789/htb-api |
+1
-1
@@ -11,3 +11,3 @@ import setuptools | ||
| name="PyHackTheBox", | ||
| version="0.4.2", | ||
| version="0.4.3", | ||
| author="clubby789@github.com", | ||
@@ -14,0 +14,0 @@ author_email="clubby789@gmail.com", |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
66922
0.05%1510
0.07%