mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
pypykatz: fix https://github.com/skelsec/pypykatz/issues/82
This commit is contained in:
parent
1217d1236e
commit
1b9a0ea584
2 changed files with 46 additions and 2 deletions
41
app-exploits/pypykatz/files/84.patch
Normal file
41
app-exploits/pypykatz/files/84.patch
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
From 2e32ae9942f5fddbefa08cc83174ac84340dd8ed Mon Sep 17 00:00:00 2001
|
||||
From: Din Jakupi <din.jakupi@gmail.com>
|
||||
Date: Wed, 28 Apr 2021 09:18:39 +0200
|
||||
Subject: [PATCH] fix error/warning in setup install
|
||||
|
||||
---
|
||||
pypykatz/alsadecryptor/packages/kerberos/decryptor.py | 2 +-
|
||||
setup.py | 4 ++--
|
||||
2 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/pypykatz/alsadecryptor/packages/kerberos/decryptor.py b/pypykatz/alsadecryptor/packages/kerberos/decryptor.py
|
||||
index 5912efd..a5ba850 100644
|
||||
--- a/pypykatz/alsadecryptor/packages/kerberos/decryptor.py
|
||||
+++ b/pypykatz/alsadecryptor/packages/kerberos/decryptor.py
|
||||
@@ -84,7 +84,7 @@ def handle_ticket(self, kerberos_ticket):
|
||||
except Exception as e:
|
||||
raise e
|
||||
|
||||
- def start(self):
|
||||
+ async def start(self):
|
||||
try:
|
||||
entry_ptr_value, entry_ptr_loc = self.find_first_entry()
|
||||
except Exception as e:
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 427ccc7..707b933 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -45,11 +45,11 @@
|
||||
|
||||
# long_description=open("README.txt").read(),
|
||||
python_requires='>=3.6',
|
||||
- classifiers=(
|
||||
+ classifiers=[
|
||||
"Programming Language :: Python :: 3.6",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Operating System :: OS Independent",
|
||||
- ),
|
||||
+ ],
|
||||
install_requires=[
|
||||
'minidump>=0.0.17',
|
||||
'minikerberos>=0.2.11',
|
||||
|
|
@ -14,8 +14,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
#https://github.com/skelsec/pypykatz/issues/82
|
||||
#KEYWORDS="amd64 arm64 x86"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/minidump-0.0.17[${PYTHON_USEDEP}]
|
||||
|
|
@ -26,3 +25,7 @@ RDEPEND=">=dev-python/minidump-0.0.17[${PYTHON_USEDEP}]
|
|||
>=dev-python/aiosmb-0.2.41[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/84.patch"
|
||||
)
|
||||
Loading…
Reference in a new issue