diff --git a/app-exploits/pypykatz/files/84.patch b/app-exploits/pypykatz/files/84.patch new file mode 100644 index 000000000..d32610562 --- /dev/null +++ b/app-exploits/pypykatz/files/84.patch @@ -0,0 +1,41 @@ +From 2e32ae9942f5fddbefa08cc83174ac84340dd8ed Mon Sep 17 00:00:00 2001 +From: Din Jakupi +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', diff --git a/app-exploits/pypykatz/pypykatz-0.5.0.ebuild b/app-exploits/pypykatz/pypykatz-0.5.0-r1.ebuild similarity index 90% rename from app-exploits/pypykatz/pypykatz-0.5.0.ebuild rename to app-exploits/pypykatz/pypykatz-0.5.0-r1.ebuild index f54fd8d71..e534c6f11 100644 --- a/app-exploits/pypykatz/pypykatz-0.5.0.ebuild +++ b/app-exploits/pypykatz/pypykatz-0.5.0-r1.ebuild @@ -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" +)