New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

PyHackTheBox

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

PyHackTheBox - pypi Package Compare versions

Comparing version
0.4.2
to
0.4.3
+6
-5
hackthebox/__init__.py

@@ -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

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

@@ -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",