From c2d82e3b62c2194ce765e1e53ae2a9313e893b59 Mon Sep 17 00:00:00 2001 From: "Artur R. Czechowski" Date: Tue, 5 Sep 2023 01:43:22 +0200 Subject: [PATCH] Added support for Debian python packages. --- token_extractor.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/token_extractor.py b/token_extractor.py index d9f51ac..3e12ec2 100644 --- a/token_extractor.py +++ b/token_extractor.py @@ -9,7 +9,11 @@ from sys import platform import requests -from Crypto.Cipher import ARC4 + +try: + from Crypto.Cipher import ARC4 +except ModuleNotFoundError: + from Cryptodome.Cipher import ARC4 if platform != "win32": import readline